Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat(measure_theory/integral/set_integral): First moment method #18731

Closed
wants to merge 14 commits into from

Conversation

YaelDillies
Copy link
Collaborator

@YaelDillies YaelDillies commented Apr 4, 2023

Integrable functions are smaller/larger than their mean on a set of positive measure. We prove it for the Bochner and Lebesgue integrals.


Open in Gitpod

@YaelDillies YaelDillies requested a review from a team as a code owner April 4, 2023 09:04
@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. t-measure-probability Measure theory / Probability theory labels Apr 4, 2023
@mathlib-dependent-issues-bot mathlib-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Apr 21, 2023
@mathlib-dependent-issues-bot
Copy link
Collaborator

This PR/issue depends on:

measure. -/
lemma measure_le_set_integral_pos (hμ : μ s ≠ 0) (hμ₁ : μ s ≠ ∞) (hf : integrable_on f s μ)
(hs : null_measurable_set s μ) :
0 < μ {x ∈ s | f x ≤ ∫ a in s, f a ∂μ / (μ s).to_real} :=
Copy link
Member

Choose a reason for hiding this comment

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

Can you add the lintegral version as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Combining this with @sgouezel's suggestion, should I define laverage for the Lebesgue average of an ennreal-valued function?

Copy link
Member

Choose a reason for hiding this comment

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

I just want to say I don't have any opinion on defining laverage since I'm not sure of any cases where it is more convinent than writting the definition out explicitly.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This turns out to be much more work than expected, so I am leaving a todo. You can have a look at the current state of things on branch first_moment_lintegral.

@sgouezel sgouezel added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Apr 22, 2023
@github-actions github-actions bot added the modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. label Apr 30, 2023
@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Apr 30, 2023
Copy link
Member

@JasonKYi JasonKYi left a comment

Choose a reason for hiding this comment

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

I happy with this. Can you have another look @sgouezel?

@JasonKYi
Copy link
Member

Since there's not been anymore comments lets merge this!
maintainer merge

@github-actions
Copy link

🚀 Pull request has been placed on the maintainer queue by JasonKYi.

@sgouezel sgouezel added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Jun 5, 2023
@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Jun 9, 2023
src/data/real/ennreal.lean Outdated Show resolved Hide resolved
src/data/real/ennreal.lean Outdated Show resolved Hide resolved
src/measure_theory/integral/average.lean Outdated Show resolved Hide resolved
src/measure_theory/integral/average.lean Outdated Show resolved Hide resolved
src/measure_theory/integral/average.lean Outdated Show resolved Hide resolved
src/measure_theory/integral/average.lean Outdated Show resolved Hide resolved
src/measure_theory/integral/average.lean Show resolved Hide resolved
@sgouezel sgouezel added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Jun 10, 2023
@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Jun 10, 2023
@sgouezel
Copy link
Collaborator

bors r+
Thanks!

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Jun 11, 2023
bors bot pushed a commit that referenced this pull request Jun 11, 2023
Integrable functions are smaller/larger than their mean on a set of positive measure. We prove it for the Bochner and Lebesgue integrals.
@bors
Copy link

bors bot commented Jun 11, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title feat(measure_theory/integral/set_integral): First moment method [Merged by Bors] - feat(measure_theory/integral/set_integral): First moment method Jun 11, 2023
@bors bors bot closed this Jun 11, 2023
@bors bors bot deleted the first_moment branch June 11, 2023 14:18
urkud added a commit to leanprover-community/mathlib4 that referenced this pull request Jun 15, 2023
bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Jun 17, 2023
Also correct some `simp`s. Partially forward-port leanprover-community/mathlib#18731
urkud added a commit to leanprover-community/mathlib4 that referenced this pull request Jun 21, 2023
Forward-port leanprover-community/mathlib#18731
Also sync some parentheses with the lates `mathport` output.
alexkeizer pushed a commit to leanprover-community/mathlib4 that referenced this pull request Jun 22, 2023
Also correct some `simp`s. Partially forward-port leanprover-community/mathlib#18731
semorrison pushed a commit to leanprover-community/mathlib4 that referenced this pull request Jun 23, 2023
Also correct some `simp`s. Partially forward-port leanprover-community/mathlib#18731
semorrison pushed a commit to leanprover-community/mathlib4 that referenced this pull request Jun 25, 2023
Also correct some `simp`s. Partially forward-port leanprover-community/mathlib#18731
bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Jul 14, 2023
Forward-port leanprover-community/mathlib#18731
Also sync some parentheses with the lates `mathport` output.



Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
kbuzzard pushed a commit to leanprover-community/mathlib4 that referenced this pull request Jul 15, 2023
Forward-port leanprover-community/mathlib#18731
Also sync some parentheses with the lates `mathport` output.



Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
semorrison pushed a commit to leanprover-community/mathlib4 that referenced this pull request Aug 14, 2023
Forward-port leanprover-community/mathlib#18731
Also sync some parentheses with the lates `mathport` output.



Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) t-measure-probability Measure theory / Probability theory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants