EfronSteinAE #
Ported from scottnarmstrong/CoarseGraining at c7ddd76c08ade64fed1b8d2ca51be14dfee8deb4. Module imports, support namespace and local option directives adapted for Lean Pool.
The a.e.-measurable Efron–Stein transfer wrapper #
The landed efronStein_transfer_restriction requires a genuinely measurable bounded
observable G. The fixed-phase observable of Proposition 4.3, being a coarse
quadratic, is only a.e.-strongly-measurable under the resampled product law
Π := Measure.pi (fun i => P.map (restrictReg (C i) (hC i))). This file relaxes
the measurability hypothesis to AEStronglyMeasurable G Π, keeping the identical
Efron–Stein conclusion.
The plumbing:
- clamp a measurable modification
GtofG(viahG.mk) to[-M, M], so it is measurable, everywhere bounded byM, andGt =ᵐ[Π] G; - run the landed
efronStein_transfer_restrictiononGt; - transfer the variance (LHS) and each resampling energy (RHS) back to
Gusing the pushforward identitiesMeasure.map R P = Π,Measure.map (·.1 ↦ R) (P ⊗ P) = Π, and the update-resample identitymap_update_prod_pi.
The single genuinely new measure-theoretic input is map_update_prod_pi: updating
one coordinate of Measure.pi μ by an independent μ i-draw preserves Measure.pi μ.
The update-resample pushforward #
Updating coordinate i of a product measure Measure.pi μ by an independent
μ i-distributed draw preserves the product measure.
The a.e.-measurable Efron–Stein transfer #
Restriction Efron–Stein transfer (a.e. variant). Identical to
efronStein_transfer_restriction, but the observable G need only be
AEStronglyMeasurable under the
resampled product law Π := Measure.pi (fun i => P.map (restrictReg (C i) (hC i))),
not genuinely measurable. This is the form consumed by the fixed-phase variance
step, whose coarse observable is only a.e.-measurable under a RestrictionLawCarrier.