feat(MeasureTheory/MeasurableSpace/Basic): add map_comap_eq_of_surjective and measurable_comap_iff_right#41090
feat(MeasureTheory/MeasurableSpace/Basic): add map_comap_eq_of_surjective and measurable_comap_iff_right#41090teorth wants to merge 1 commit into
Conversation
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR. Thank you again for joining our community. |
PR summary 99ec11027cImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
✅ PR Title Formatted CorrectlyThe title of this PR has been updated to match our commit style conventions. |
| apply le_antisymm _ le_map_comap | ||
| intro S hS |
There was a problem hiding this comment.
We don't want to be using apply where one of the _ holes becomes a new goal, see #mathlib4 > linter requests @ 💬
While we're here, let's also merge in the next line intro S hS as well
| apply le_antisymm _ le_map_comap | |
| intro S hS | |
| refine le_antisymm (fun S hS => ?_) le_map_comap |
| simp only [measurable_iff_comap_le, ← comap_comp] | ||
| refine ⟨ comap_mono, fun h ↦ ?_ ⟩ | ||
| simpa only [map_comap_eq_of_surjective hg] using map_mono (f := g) h |
There was a problem hiding this comment.
| simp only [measurable_iff_comap_le, ← comap_comp] | |
| refine ⟨ comap_mono, fun h ↦ ?_ ⟩ | |
| simpa only [map_comap_eq_of_surjective hg] using map_mono (f := g) h | |
| rw [measurable_iff_le_map, measurable_iff_le_map, ← map_comp, map_comap_eq_of_surjective hg] |
We have nine map_comap_eq_of_surjective lemmas for
Submonoid,Subgroup,Subring, etc., but were lacking one forMeasurableSpace. This PR adds the analogous lemma; as an application it also establishes a dual version ofmeasurable_comap_iffinvolving composition on the right rather than the left.Note: I have no applications in mind for this PR, so it can be considered low priority.
Discussed on Zulip here.