efron_stein_condExp_comap_snd_eq_partial_integral
ProvedLet and be probability measures on measurable spaces and , and let be integrable for the product measure . Then the conditional expectation of given the sub--algebra generated by the second coordinate (MeasurableSpace.comap Prod.snd) is, almost everywhere, the function obtained by integrating out the first coordinate:
In words: conditioning a product-measure integrand on the second factor equals taking the partial integral over the first factor. This is the standard product-space identification of a conditional expectation as a marginal (fiberwise) integral, proved here without any StandardBorelSpace / condDistrib hypotheses — directly from the defining set-integral characterization of conditional expectation (ae_eq_condExp_of_forall_setIntegral_eq) together with Fubini's theorem (integral_prod_symm), since every set in comap Prod.snd is of the form Set.univ ×ˢ t. It is the foundational measure-theoretic brick underlying the Efron–Stein variance tensorization (van Handel, Probability in High Dimension, APC 550, §2.1) and the general Han-type subadditivity, where conditioning on all-but-one coordinate of a product space must be identified with the within-coordinate fiber integral.
import Mathlib.MeasureTheory.Function.ConditionalExpectation.Basic import Mathlib.MeasureTheory.Integral.Prod import Mathlib.MeasureTheory.Measure.Prod open MeasureTheory Filter open scoped ENNReal NNReal BigOperators
theorem efron_stein_condExp_comap_snd_eq_partial_integral
{β γ : Type*} [MeasurableSpace β] [MeasurableSpace γ]
(ρ : Measure β) [IsProbabilityMeasure ρ] (σ : Measure γ) [IsProbabilityMeasure σ]
{W : β × γ → ℝ} (hW : Integrable W (ρ.prod σ)) :
(ρ.prod σ)[W | MeasurableSpace.comap Prod.snd inferInstance]
=ᵐ[ρ.prod σ] fun p => ∫ x, W (x, p.2) ∂ρ := by sorry