Conversation
* Add `MeasureTheory.set_lintegral_eq_subtype` and `MeasureTheory.set_lintegral_subtype`. * Add `MeasurableEmbedding.comap_map`, `MeasurableEmbedding.comap_restrict`, and `MeasurableEmbedding.restrict_comap`. * Drop measurability assumption in `MeasurableEmbedding.comap_preimage`. * Remove some empty lines.
7 tasks
RemyDegenne
reviewed
Oct 17, 2023
Comment on lines
+1359
to
+1361
| theorem set_lintegral_eq_subtype {s : Set α} (hs : MeasurableSet s) (f : α → ℝ≥0∞) : | ||
| ∫⁻ x in s, f x ∂μ = ∫⁻ x : s, f x ∂(μ.comap (↑)) := by | ||
| rw [← (MeasurableEmbedding.subtype_coe hs).lintegral_map, map_comap_subtype_coe hs] |
Contributor
There was a problem hiding this comment.
Should this equality be reversed? The right hand side looks more complicated. I would even be tempted to add a @[simp] attribute to have it simplify to the left hand side (and add simp to the next lemma as well). What do you think?
Member
Author
There was a problem hiding this comment.
It matches pre-existing set_integral_eq_subtype. I'll see where the latter is used and swap sides there too.
Contributor
|
Thanks! |
bors bot
pushed a commit
that referenced
this pull request
Oct 26, 2023
…7679) * Add `MeasureTheory.set_lintegral_eq_subtype` and `MeasureTheory.set_lintegral_subtype`. * Add `MeasurableEmbedding.comap_map`, `MeasurableEmbedding.comap_restrict`, and `MeasurableEmbedding.restrict_comap`. * Drop measurability assumption in `MeasurableEmbedding.comap_preimage`. * Remove some empty lines.
|
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. If you want to switch to GitHub's built-in merge queue, visit their help page. |
set_lintegral_subtypeset_lintegral_subtype
grunweg
pushed a commit
that referenced
this pull request
Nov 1, 2023
…7679) * Add `MeasureTheory.set_lintegral_eq_subtype` and `MeasureTheory.set_lintegral_subtype`. * Add `MeasurableEmbedding.comap_map`, `MeasurableEmbedding.comap_restrict`, and `MeasurableEmbedding.restrict_comap`. * Drop measurability assumption in `MeasurableEmbedding.comap_preimage`. * Remove some empty lines.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MeasureTheory.set_lintegral_eq_subtypeandMeasureTheory.set_lintegral_subtype.MeasurableEmbedding.comap_map,MeasurableEmbedding.comap_restrict, andMeasurableEmbedding.restrict_comap.MeasurableEmbedding.comap_preimage.