Fin #
Ported from scottnarmstrong/CoarseGraining at c7ddd76c08ade64fed1b8d2ca51be14dfee8deb4. Module imports, support namespace and local option directives adapted for Lean Pool.
Efron–Stein on finite products indexed by Fin n #
Elementary induction on the number of coordinates, splitting off coordinate 0
via MeasurableEquiv.piFinSuccAbove.
Updating coordinate 0 of e.symm p to y re-inserts y in the first slot.
Updating coordinate succAbove 0 j of e.symm p corresponds to updating tail slot j.
The coordinate-0 conditional-variance integral equals half the coordinate-0
resampling energy.
The tail (coordinate succAbove 0 j) contribution: the resampling energy of the
conditional mean g' is bounded by the full resampling energy of F.
Efron–Stein inequality for bounded measurable observables on a finite
product Fin m (proved by induction on m).
Efron–Stein inequality for bounded measurable observables on an arbitrary finite product probability space.