integral sq condExp eq of pair law
Provedintegral_sq_condExp_eq_of_pair_lawTheorem integral_sq_condExp_eq_of_pair_law from the Lean 4 formalization of exchangeability and de Finetti's theorem; statement taken unchanged from the source library.
Formal statement
import Mathlib.MeasureTheory.Function.ConditionalExpectation.Basic
import Mathlib.MeasureTheory.Function.ConditionalExpectation.Real
import Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym
import Mathlib.MeasureTheory.Function.FactorsThrough
import Mathlib.MeasureTheory.Function.AEEqOfIntegral
set_option autoImplicit true
open MeasureTheory MeasurableSpace
open scoped ENNReal Classical
variable {Ω α γ : Type*}
variable [MeasurableSpace Ω] [MeasurableSpace α] [MeasurableSpace γ]
theorem integral_sq_condExp_eq_of_pair_law
{μ : Measure Ω} [IsProbabilityMeasure μ]
(X : Ω → α) (W W' : Ω → γ)
(hX : Measurable X) (hW : Measurable W) (hW' : Measurable W')
(h_law : Measure.map (fun ω => (X ω, W ω)) μ
= Measure.map (fun ω => (X ω, W' ω)) μ)
{A : Set α} (hA : MeasurableSet A) :
∫ ω, (μ[Set.indicator (X ⁻¹' A) (fun _ => (1 : ℝ)) | MeasurableSpace.comap W inferInstance]) ω
* (μ[Set.indicator (X ⁻¹' A) (fun _ => (1 : ℝ)) | MeasurableSpace.comap W inferInstance]) ω ∂μ
= ∫ ω, (μ[Set.indicator (X ⁻¹' A) (fun _ => (1 : ℝ)) | MeasurableSpace.comap W' inferInstance]) ω
* (μ[Set.indicator (X ⁻¹' A) (fun _ => (1 : ℝ)) | MeasurableSpace.comap W' inferInstance]) ω ∂μ := by sorry
Source