Skip to content

Commit 8885ca9

Browse files
committed
refactor(MeasureTheory): golf Mathlib/MeasureTheory/Function/ConditionalExpectation/RadonNikodym (leanprover-community#38877)
- shortens `toReal_rnDeriv_map` by replacing the explicit `integrable_map_measure` rewrite with `Measure.integrable_toReal_rnDeriv.comp_measurable` Extracted from leanprover-community#38104 [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
1 parent e8f8112 commit 8885ca9

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Mathlib/MeasureTheory/Function/ConditionalExpectation/RadonNikodym.lean

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,7 @@ lemma toReal_rnDeriv_map [IsFiniteMeasure μ] (hμν : μ ≪ ν)
6161
have : SigmaFinite ν := SigmaFinite.of_map _ hg.aemeasurable hσ
6262
refine ae_eq_condExp_of_forall_setIntegral_eq _ (by fun_prop) ?_ ?_ ?_
6363
· rintro _ ⟨t, _, rfl⟩ _
64-
refine Integrable.integrableOn ?_
65-
change Integrable ((fun x ↦ ((μ.map g).rnDeriv (ν.map g) x).toReal) ∘ g) ν
66-
rw [← integrable_map_measure (f := g) (Measurable.aestronglyMeasurable (by fun_prop))
67-
(by fun_prop)]
68-
fun_prop
64+
exact Integrable.integrableOn (Measure.integrable_toReal_rnDeriv.comp_measurable hg)
6965
· rintro _ ⟨t, ht, rfl⟩ _
7066
calc ∫ x in g ⁻¹' t, ((μ.map g).rnDeriv (ν.map g) (g x)).toReal ∂ν
7167
_ = ∫ y in t, ((μ.map g).rnDeriv (ν.map g) y).toReal ∂(ν.map g) := by

0 commit comments

Comments
 (0)