Skip to content

Add lemma le0_expectation_cdf#1847

Open
Yosuke-Ito-345 wants to merge 1 commit intomath-comp:masterfrom
Yosuke-Ito-345:le0_expectation_cdf
Open

Add lemma le0_expectation_cdf#1847
Yosuke-Ito-345 wants to merge 1 commit intomath-comp:masterfrom
Yosuke-Ito-345:le0_expectation_cdf

Conversation

@Yosuke-Ito-345
Copy link
Contributor

Motivation for this change

Add lemma le0_expectation_cdf, which is the counterpart of lemma ge0_expectation_ccdf.

Checklist
  • added corresponding entries in CHANGELOG_UNRELEASED.md
    N.B. I created CHANGELOG_UNRELEASED_new.md because the current CHANGELOG_UNRELEASED.md appeared to be old.

  • 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

@Yosuke-Ito-345
Copy link
Contributor Author

@affeldt-aist @t6s
I would appreciate your review. m(. .)m

Copy link
Member

@t6s t6s left a comment

Choose a reason for hiding this comment

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

I quickly checked the changes and added a few comments. I will further look into the proofs of two main additions.


HB.instance Definition _ f g := min_mfun_subproof f g.

Definition min_mfun f g : {mfun aT >-> _} := f \min g.
Copy link
Member

Choose a reason for hiding this comment

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

min_mfun should be added to the header doc.


Let mu : {measure set _ -> \bar R} := @lebesgue_measure R.

Lemma lebesgue_measure_oppr A (mA : measurable A) :
Copy link
Member

Choose a reason for hiding this comment

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

I suggest renaming this to lebesgue_measureN.

- by rewrite set_itv_ge ?wlength0// bnd_simp -leNgt.
Qed.

Lemma ge0_integral_oppr (f : R -> \bar R)
Copy link
Member

Choose a reason for hiding this comment

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

I suggest ge0_integral_pushforwardN.

by apply: eq_set => r; rewrite in_itv/= s_ge0.
Qed.

Lemma ge0_expectation_prob_ge (X : {RV P >-> R}) : (forall x, 0 <= X x)%R ->
Copy link
Member

Choose a reason for hiding this comment

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

What about giving a name to this integrand?
It should be equal to the "closed version" of ccdf.

Definition ccdf P X r := distribution P X `]r, +oo[.
Definition this_integrand P X r := distribution P X `[r, +oo[.

(However I myself do not come up with a good name.)

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