expected_condVar_coord_eq_half_resample
ProvedLet be probability measures on measurable spaces over a finite index type , and let be square-integrable on the product cube with the independent-coordinate measure (Measure.pi μ). For a fixed coordinate , the per-coordinate conditional variance is (variance (fun x => Z (Function.update ω i x)) (μ i)). Then its expectation over equals half the expected squared single-coordinate resampling difference on the doubled product cube:
This is the per-coordinate global resampling identity at the heart of the factor in the Efron–Stein inequality: it identifies the expected conditional variance contributed by coordinate with the expected square of the difference produced by independently resampling that single coordinate. Combined over all coordinates with the variance tensorization spine it yields . The proof applies the single-measure symmetrization fiberwise in coordinate , then collapses the resulting double integral via the measure-preservation of the single-coordinate resample map and Fubini. Source: R. van Handel, Probability in High Dimension (APC 550), §2.1; Boucheron–Lugosi–Massart, Concentration Inequalities (OUP 2013), Ch. 3, Thm 3.1.
import Mathlib.Probability.CondVar import Mathlib.Probability.Moments.Variance import Mathlib.Probability.Independence.Basic import Mathlib.Probability.Independence.Integration import Mathlib.Probability.IdentDistrib import Mathlib.MeasureTheory.Constructions.Pi import Mathlib.MeasureTheory.Integral.Prod open MeasureTheory ProbabilityTheory Filter Set Function open scoped ENNReal NNReal BigOperators
theorem expected_condVar_coord_eq_half_resample
{ι : Type*} [Fintype ι] [DecidableEq ι]
{α : ι → Type*} [∀ i, MeasurableSpace (α i)]
(μ : ∀ i, Measure (α i)) [∀ i, IsProbabilityMeasure (μ i)]
(i : ι) {Z : (∀ j, α j) → ℝ} (hZ : MemLp Z 2 (Measure.pi μ)) :
(∫ ω, variance (fun x => Z (Function.update ω i x)) (μ i) ∂(Measure.pi μ))
= (∫ p, (Z p.1 - Z (Function.update p.1 i (p.2 i))) ^ 2
∂((Measure.pi μ).prod (Measure.pi μ))) / 2 := by sorry