Theorem 5.2 and Corollary 5.3 -- the coupling bound
ProvedMarkovMixing.coupling_boundLet be a Markov chain on a finite state space with stationary distribution , and write for the distribution at time started at , for the total variation distance, and for the worst-case distance to stationarity. A Markovian coupling of is a Markov chain on ordered pairs of states each of whose two coordinates, viewed on its own, moves according to , and which keeps the two coordinates together once they coincide. For such a coupling started at the pair , the coupling time is the first time the pair chain reaches the diagonal — the moment the two copies meet.
Suppose a Markovian coupling of is given for every pair of starting states. The theorem (Theorem 5.2 and Corollary 5.3 of Levin–Peres–Wilmer) asserts:
- for every pair and time , the rows of are close whenever the coupling has probably met: ;
- consequently .
This is the engine of the coupling method: to bound mixing, build a coupling that meets fast.
import Definitions.Def_mm_coupling
namespace MarkovMixing
/-- **Theorem 5.2 and Corollary 5.3** (LPW): if each pair of starting states
carries a Markovian coupling of the chain (staying together after meeting),
then `‖P^t(x,·) − P^t(y,·)‖_TV ≤ P_{x,y}{τ_couple > t}`, and hence
`d(t) ≤ max_{x,y} P_{x,y}{τ_couple > t}`, where `τ_couple` is the hitting
time of the diagonal for the pair chain. -/
theorem coupling_bound {V : Type*} [Fintype V] [DecidableEq V] [Nonempty V]
(P : Matrix V V ℝ) (hP : IsStochastic P)
(π : V → ℝ) (hπ : IsStationary P π)
(Q : V → V → Matrix (V × V) (V × V) ℝ)
(hQ : ∀ x y : V, IsMarkovianCoupling P (Q x y)) (t : ℕ) :
(∀ x y : V, tvDist (rowDist P t x) (rowDist P t y) ≤
setAvoidTailProb (Q x y) (x, y) (pairDiagonal V) t) ∧
distStationary P π t ≤
⨆ p : V × V, setAvoidTailProb (Q p.1 p.2) p (pairDiagonal V) t := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Let be a finite, nonempty type with decidable equality, and let be a real matrix assumed stochastic, meaning every entry satisfies and every row sums to : . Let be assumed stationary for , meaning is a probability vector ( for all and ) and (row-vector–matrix product). Let assign to every ordered pair a real matrix indexed by , and assume that for every the matrix is a Markovian coupling of , which here means all four of: (i) is stochastic (nonnegative entries, rows summing to ); (ii) for every current pair and every , (first marginal moves by from the first coordinate of the current pair); (iii) symmetrically, ; (iv) from any diagonal pair , the probability of moving to any off-diagonal pair is (once coupled, the coupling never assigns positive weight off the diagonal in one step). Note that the starting pair appears only as the index selecting which coupling matrix is used; conditions (i)–(iv) constrain each at all pairs , not just at . Fix also an arbitrary time . Write for the diagonal , and for a stochastic-type matrix on pairs, a starting pair , and horizon , define the diagonal-avoidance mass
the sum running over all sequences with and for every index — including , so if itself lies on the diagonal (i.e. ) this quantity is , and at it is exactly the indicator that is off the diagonal (the empty product being ). Write (supremum of the absolute discrepancy over all finite subsets of , applied here to arbitrary real-valued vectors), and let denote row of the -th matrix power of . The theorem then asserts the conjunction of two claims: (1) for every pair of states ,
i.e. the total-variation distance between the time- distributions started from and from is at most the mass, under the coupling chain started at , of length- trajectories that stay off the diagonal at every time from through ; and (2)
i.e. the worst-case (over starting states) total-variation distance to at time is at most the worst diagonal-avoidance mass over all starting pairs — the supremum on the right ranging over all pairs, including diagonal ones (for which the avoidance mass is ). The stationarity hypothesis on is used only in claim (2), where appears; no irreducibility or aperiodicity of is assumed, and the claims hold for the single fixed quantified in the statement (which is universally quantified, so effectively for all , including ).
Confirmed by the mission captain (proposal self-audit).