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): volume_preimage_coe
#17030
Conversation
This is not the right generality. We want to prove lemmas first for a variable measure |
@fpvandoorn, are you sure? The current proof crucially relies on @[simp] lemma comap_preimage [measurable_space β] {μ : measure α} {s : set α} {f : β → α}
(hf : injective f) (hf' : measurable f)
(h : ∀ t, measurable_set t → null_measurable_set (f '' t) μ) (hs : measurable_set s) :
μ.comap f (f ⁻¹' s) = μ (s ∩ range f) :=
by rw [comap_apply₀ _ _ hf h (hf' hs).null_measurable_set, image_preimage_eq_inter_range]
@[simp] lemma volume_preimage_coe {s t : set α} (hs : null_measurable_set s)
(ht : measurable_set t) : volume ((coe : s → α) ⁻¹' t) = volume (t ∩ s) :=
by rw [volume_set_coe_def, comap_preimage subtype.coe_injective measurable_subtype_coe
(by rwa subtype.range_coe) (λ h, measurable_set.null_measurable_set_subtype_coe hs) ht,
subtype.range_coe] The assumptions look very unnatural and the actual lemma is not even shorter 😢 |
In |
volume_preimage_coe
Thanks for adding the other versions! bors merge |
…7030) This is another lemma needed by #2819, I'm not sure exactly of its provenance, but it looks like @YaelDillies extracted it as a lemma at least, if not wrote the original version completely. Co-authored-by: Yaël Dillies [yael.dillies@gmail.com](mailto:yael.dillies@gmail.com) Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Pull request successfully merged into master. Build succeeded: |
volume_preimage_coe
volume_preimage_coe
This is another lemma needed by #2819, I'm not sure exactly of its provenance, but it looks like @YaelDillies extracted it as a lemma at least, if not wrote the original version completely.
Co-authored-by: Yaël Dillies yael.dillies@gmail.com