Download lean/OAI/Analysis/IrrationalRotation/Couplings/ConditionalDistributionEvents.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
theoremiCondIndepSet_coordinate_preimage_of_condDistrib
{Z : ι →Type*} [∀ i, MeasurableSpace (Z i)]
(μ : Measure Ω) [IsFiniteMeasure μ]
(observed : Ω →X) (value : Ω →Y)
(hobserved : Measurable observed) (hvalue : Measurable value)
(coordinate : ∀ i, Y→Z i) (hcoordinate : ∀ i, Measurable (coordinate i))
(events : ∀ i, Set (Z i)) (hevents : ∀ i, MeasurableSet (events i))
(hind : ∀ᵐ x ∂μ.map observed,
iIndepFun coordinate (condDistrib value observed μ x)) :
iCondIndepSet (MeasurableSpace.comap observed inferInstance) hobserved.comap_le
(fun i => (fun ω => coordinate i (value ω)) ⁻¹' events i) μ :=by
proof · 6
lines
apply iCondIndepSet_preimage_of_condDistrib μ observed value hobserved hvalue
(fun i => coordinate i ⁻¹' events i) (fun i => hcoordinate i (hevents i))
filter_upwards [hind] with x hx
apply (iIndepSet_iff_meas_biInter (fun i => hcoordinate i (hevents i))).mpr
intro S
exact hx.measure_inter_preimage_eq_mul S (fun i _ => hevents i)