Skip to content

Conversation

@IshiguroYoshihiro
Copy link
Contributor

Motivation for this change

This PR add a lemma of property of exponential_pdf that exponential_pdf m x is 0 if x < 0.

Checklist
  • added corresponding entries in CHANGELOG_UNRELEASED.md
  • added corresponding documentation in the headers

Reference: How to document

Merge policy

As a rule of thumb:

  • PRs with several commits that make sense individually and that
    all compile are preferentially merged into master.
  • PRs with disorganized commits are very likely to be squash-rebased.
Reminder to reviewers

@IshiguroYoshihiro IshiguroYoshihiro mentioned this pull request Nov 18, 2025
2 tasks
Lemma exponential_pdfNE (x : R) : x < 0 ->
exponential_pdf mean x = 0.
Proof.
rewrite ltNge=> /negP x0; rewrite /exponential_pdf patchE ifF//.
Copy link
Member

@affeldt-aist affeldt-aist Nov 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually can be proved by

exact: lt0_exponential_pdf.

The lemma already exists.

Copy link
Member

@affeldt-aist affeldt-aist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can maybe be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants