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/measure/measure_space): better definition of to_measurable #11529

Closed
wants to merge 5 commits into from

Conversation

sgouezel
Copy link
Collaborator

Currently, to_measurable μ t picks a measurable superset of t with the same measure. When the measure of t is infinite, it is most often useless. This PR adjusts the definition so that, in the case of sigma-finite spaces, to_measurable μ t has good properties even when t has infinite measure.


Open in Gitpod

@sgouezel sgouezel added the awaiting-review The author would like community review of the PR label Jan 17, 2022
@@ -360,6 +360,23 @@ lemma ae_le_set : s ≤ᵐ[μ] t ↔ μ (s \ t) = 0 :=
calc s ≤ᵐ[μ] t ↔ ∀ᵐ x ∂μ, x ∈ s → x ∈ t : iff.rfl
... ↔ μ (s \ t) = 0 : by simp [ae_iff]; refl

lemma ae_le_set_inter {s' t' : set α} (h : s ≤ᵐ[μ] t) (h' : s' ≤ᵐ[μ] t') :
(s ∩ s' : set α) ≤ᵐ[μ] (t ∩ t' : set α) :=
Copy link
Member

Choose a reason for hiding this comment

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

This is true for any filter, so it's available as h.inter h'. Same for ae_eq_inter.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks a lot. I have kept the lemmas for ease of discoverability, but I can remove them if you prefer.

@jcommelin jcommelin requested a review from urkud January 18, 2022 11:32
@urkud
Copy link
Member

urkud commented Jan 18, 2022

I think that I can golf the longest proof once #11547 is merged but let's merge this one first.
bors merge

@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 Jan 18, 2022
bors bot pushed a commit that referenced this pull request Jan 18, 2022
…easurable (#11529)

Currently, `to_measurable μ t` picks a measurable superset of `t` with the same measure. When the measure of `t` is infinite, it is most often useless. This PR adjusts the definition so that, in the case of sigma-finite spaces, `to_measurable μ t` has good properties even when `t` has infinite measure.
@bors
Copy link

bors bot commented Jan 18, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(measure_theory/measure/measure_space): better definition of to_measurable [Merged by Bors] - feat(measure_theory/measure/measure_space): better definition of to_measurable Jan 18, 2022
@bors bors bot closed this Jan 18, 2022
@bors bors bot deleted the better_to_measurable branch January 18, 2022 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants