Theorem 12.4 -- mixing is at least the relaxation time
ProvedMarkovMixing.relaxation_lowerLet be an irreducible, aperiodic Markov chain on a finite state space , reversible with respect to its stationary distribution (detailed balance: ). Among the eigenvalues of — the real admitting a nonzero with — let be the largest absolute value of an eigenvalue different from ; the absolute spectral gap is and the relaxation time is . For a tolerance , the mixing time is the first with , where .
The theorem (Theorem 12.4 of Levin–Peres–Wilmer) asserts: for every ,
A chain cannot mix faster than it relaxes: an eigenfunction with eigenvalue close to decays like and remains a visible witness against stationarity for about steps. Together with the companion upper bound , this sandwiches the mixing time between and for reversible chains.
import Definitions.Def_mm_spectral import Mathlib.Analysis.SpecialFunctions.Log.Basic
namespace MarkovMixing
/-- **Theorem 12.4** (LPW): for a reversible, irreducible, aperiodic chain,
`t_mix(ε) ≥ (t_rel − 1) log(1/(2ε))`. -/
theorem relaxation_lower {V : Type*} [Fintype V] [DecidableEq V] [Nonempty V]
(P : Matrix V V ℝ) (hP : IsStochastic P) (hirr : Irreducible P)
(hap : Aperiodic P) (π : V → ℝ) (hπ : IsStationary P π)
(hrev : DetailedBalance P π) (ε : ℝ) (hε : 0 < ε) (hε1 : ε < 1) :
(relaxationTime P - 1) * Real.log (1 / (2 * ε)) ≤
(mixingTime P π ε : ℝ) := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Let be a nonempty finite set (with decidable equality) and let be a real matrix. The theorem takes the following hypotheses: (1) is stochastic, meaning every entry satisfies and every row sums to one, ; (2) is irreducible in the bundle's sense: for every pair of states there exists a natural number with — note that is allowed, so for this is automatic since is the identity; (3) is aperiodic in the bundle's sense: for every state , the "period" of equals , where the period is defined as the supremum in of the set of natural numbers that divide every element of the return set (if the return set is empty, every is a common divisor, the divisor set is unbounded, and the -supremum convention makes the period , not ); (4) is a stationary distribution: has nonnegative entries summing to , and the row vector satisfies ; (5) detailed balance holds: for all ; (6) is a real number with . Under these hypotheses the conclusion is the inequality
where the right side is the natural number cast to a real number, with — total variation distance in its supremum-over-subsets form (no factor ), the outer supremum over all starting states; by the -infimum convention, if no time achieves then . The left side uses the relaxation time , where and " is an eigenvalue" means there exists a nonzero function with (a right eigenvector; only real eigenvalues count, complex ones are invisible to this definition). Degenerate conventions matter here: the real supremum of an empty or unbounded set is in Lean, so if has no real eigenvalue other than possibly then ; and if then by the real-number convention . The logarithm is the real natural logarithm; note that for the factor is negative, and may also be negative or zero, so the left-hand side is not always a meaningful positive lower bound. The statement asserts only this single inequality (, not ), for every such , , and .
Confirmed by the mission captain (proposal self-audit).