Theorem 4.9 -- the Convergence Theorem
ProvedMarkovMixing.convergence_theoremLet be the transition matrix of an irreducible and aperiodic Markov chain on a finite state space — irreducible meaning every state can reach every other in some number of steps, aperiodic meaning the return times to a state have greatest common divisor one — and let be a stationary distribution for , i.e. for all . Write for the distribution of the chain at time started at , and for the total variation distance.
The theorem — the Convergence Theorem (Theorem 4.9 of Levin–Peres–Wilmer), the capstone of Chapter 4 — asserts that the chain converges to geometrically fast, uniformly in the starting state: there exist a rate and a constant such that
In particular the stationary distribution of an irreducible aperiodic chain is unique and is reached from every starting point, with an error decaying exponentially in time — the statement that gives the mixing time its meaning, and the result all later chapters quantify.
import Definitions.Def_mm_mixing
namespace MarkovMixing
/-- **Theorem 4.9, the Convergence Theorem** (LPW), the capstone of
Chapter 4: an irreducible, aperiodic finite chain converges to its stationary
distribution geometrically fast in total variation:
`max_x ‖P^t(x,·) − π‖_TV ≤ C αᵗ` for some `α ∈ (0,1)` and `C > 0`. -/
theorem convergence_theorem {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 π) :
∃ α : ℝ, α ∈ Set.Ioo (0 : ℝ) 1 ∧ ∃ C : ℝ, 0 < C ∧
∀ t : ℕ, distStationary P π t ≤ C * α ^ t := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Let be a finite, nonempty set and let be a matrix of real numbers that is stochastic: every entry satisfies and every row sums to ( for each ). Assume is irreducible in the sense that for every ordered pair of states there exists a natural number with (the exponent is permitted, so for this holds automatically since is the identity matrix). Assume is aperiodic in the following custom sense: for every state , the quantity equals , where is the set of return times of and the supremum is taken in the natural numbers with the convention that an unbounded set of common divisors yields the junk value (in particular, if were empty then every natural number would vacuously be a common divisor and would be , so this hypothesis implicitly forces each state to have at least one return time). Let be stationary for : is a probability distribution ( for all , ) and, as a row vector, .
For each time , define the distance to stationarity
i.e. the worst case over starting states of the supremum, over all subsets of , of the absolute difference between the mass row of assigns to and the mass assigns to (note this total-variation-style distance carries no factor of ).
The theorem asserts: there exists a real number with (strict inequalities on both sides) and there exists a real constant such that for every natural number ,
The order of quantifiers puts and before : a single pair must work uniformly for all times. The bound is required at as well, where it reads . Nothing further is claimed about or — no relation to eigenvalues, to the size of , or to any other quantity — and no uniqueness of the stationary distribution is asserted; is simply a given distribution satisfying .
Confirmed by the mission captain (proposal self-audit).