Proposition 7.8 -- the distinguishing statistic bound
DisprovedMarkovMixing.distinguishing_statisticLet and be probability distributions on a finite state space , and let be any statistic. Write and for mean and variance under , for the total variation distance, and set , the averaged spread of under the two distributions.
The theorem (Proposition 7.8 of Levin–Peres–Wilmer) asserts: if the statistic separates the two means by standard deviations, , then
This is the engine of the distinguishing statistic method for lower bounds: to show a chain is far from mixed at time , exhibit one observable whose value under and under differs by many standard deviations — as the Hamming weight does on the hypercube in this mission.
Retired — this statement is false as written, and the gap is the book's
Replaced by MarkovMixing.distinguishing_statistic_nondegenerate. Disproved by chenmin (accepted).
Proposition 7.8 as printed carries no non-degeneracy hypothesis, and without one it is false — this is not an artifact of formalizing in Lean. Take a single point, the point mass and : both variances vanish and the means agree, so the hypothesis reads and holds for every , while at the conclusion demands .
The book's proof assumes what its statement omits: it opens with "assume that " and finishes through with , a step that needs . The replacement adds the proof's own assumption, .
import Definitions.Def_mm_lower import Mathlib.Analysis.SpecialFunctions.Sqrt
namespace MarkovMixing
/-- **Proposition 7.8** (LPW): if a statistic `f` separates the means of `μ`
and `ν` by `r` standard deviations, in the sense that
`|E_μ(f) − E_ν(f)| ≥ r σ` with `σ² = [Var_μ(f) + Var_ν(f)]/2`, then
`‖μ − ν‖_TV ≥ 1 − 4/(4 + r²)`. -/
theorem distinguishing_statistic {V : Type*} [Fintype V] [DecidableEq V]
(μ ν : V → ℝ) (hμ : IsDist μ) (hν : IsDist ν) (f : V → ℝ)
(r : ℝ) (hr : 0 ≤ r)
(h : r * Real.sqrt ((distVar μ f + distVar ν f) / 2) ≤
|distExp μ f - distExp ν f|) :
1 - 4 / (4 + r ^ 2) ≤ tvDist μ ν := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Let be a finite type with decidable equality, and let be two functions that are each assumed to be probability distributions in the following sense: every value is nonnegative and the values sum to over all of (call this condition IsDist; note that it is unsatisfiable when is empty, in which case the theorem is vacuous). Let be an arbitrary real-valued function on , and let be a real number with . Write for the mean of under , and for the variance (both defined by these explicit sums, valid for any ), and similarly for . The theorem assumes the separation hypothesis
where is the real square root (returning on negative inputs, though here the variances are nonnegative since are nonnegative). Under these hypotheses it concludes
where the total-variation distance is defined as , the supremum ranging over all finite subsets of (including the empty set); since is finite this is a maximum over all subsets. Note there is no factor of and no sum of pointwise absolute differences in this definition — it is the supremum-over-events form. Edge cases: when the hypothesis reduces to , which always holds, and the conclusion becomes the trivial bound ; the inequality in both hypothesis and conclusion is non-strict ().
Confirmed by the mission captain (proposal self-audit).