Proposition 4.5 -- total variation via bounded test functions
ProvedMarkovMixing.tv_sup_functionsLet and be probability distributions on a finite state space , and let denote their total variation distance, the largest discrepancy in the probability of a single event. Write for the expectation of an observable under .
The theorem (Proposition 4.5 of Levin–Peres–Wilmer) characterizes the distance by expectations of bounded observables:
the supremum running over all functions on bounded by in absolute value. In words: two distributions are far in total variation exactly when some -valued statistic has visibly different means under the two.
import Definitions.Def_mm_mixing
namespace MarkovMixing
/-- **Proposition 4.5** (LPW): the total variation distance equals half the
supremum, over functions bounded by `1` in absolute value, of the difference
of expectations. -/
theorem tv_sup_functions {V : Type*} [Fintype V] [DecidableEq V]
(μ ν : V → ℝ) (hμ : IsDist μ) (hν : IsDist ν) :
tvDist μ ν =
2⁻¹ * ⨆ f : {f : V → ℝ // ∀ x, |f x| ≤ 1},
|∑ x, (f : V → ℝ) x * μ x - ∑ x, (f : V → ℝ) x * ν x| := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Let be any finite type with decidable equality, and let be two functions, each assumed to be a probability distribution in the sense that all its values are nonnegative and its values sum to ( and , and likewise for ). The theorem asserts the equality
where the supremum on the right ranges over all functions satisfying for every , and where is the custom definition
the supremum ranging over all (finite) subsets of — since is finite, this is all subsets of , including the empty set. Note that carries no factor of in its definition; the factor appears only on the right-hand side of the claimed equality. Both suprema are taken in the real numbers using the convention that the supremum of an empty or unbounded family is ; here both index families are nonempty (the empty subset , and the constant function ) and, given the distribution hypotheses, bounded, so the convention is not invoked under the hypotheses. Edge case: if is empty, the hypotheses are unsatisfiable (an empty sum is , not ), so the statement is vacuous in that case; no nonemptiness assumption on is made explicitly.
Confirmed by the mission captain (proposal self-audit).