Mixing bounds from path coupling
ProvedMarkovMixing.path_coupling_mixingLet be a Markov chain on a finite state space with stationary distribution , and suppose the path coupling hypotheses of Theorem 14.6 hold: a connected graph on with symmetric edge lengths , a rate , and for every edge of a coupling of contracting the path metric (least total -length of a connecting walk) in expectation by . Write for the path-metric diameter, for the total variation distance, , and .
The theorem (Corollary 14.7 of Levin–Peres–Wilmer) asserts:
- the distance to stationarity decays geometrically: for every ;
- consequently, for every , .
The proof is one line from path coupling: iterating the one-step contraction bounds by , and the transportation distance dominates total variation because the path metric is at least between distinct states.
import Definitions.Def_mm_transport import Mathlib.Analysis.SpecialFunctions.Log.Basic
namespace MarkovMixing
/-- **Corollary 14.7** (LPW): under the path coupling hypotheses,
`d(t) ≤ e^{-αt} diam(Ω)` and
`t_mix(ε) ≤ ⌈(−log ε + log diam(Ω))/α⌉`. -/
theorem path_coupling_mixing {V : Type*} [Fintype V] [DecidableEq V] [Nonempty V]
(P : Matrix V V ℝ) (hP : IsStochastic P)
(π : V → ℝ) (hπ : IsStationary P π)
(G : SimpleGraph V) (hconn : G.Connected)
(ℓ : V → V → ℝ) (hℓ1 : ∀ x y : V, G.Adj x y → 1 ≤ ℓ x y)
(hℓsymm : ∀ x y : V, ℓ x y = ℓ y x)
(α : ℝ) (hα : 0 < α)
(hedge : ∀ x y : V, G.Adj x y →
∃ q : V × V → ℝ, IsCoupling (rowDist P 1 x) (rowDist P 1 y) q ∧
∑ p : V × V, q p * pathMetric G ℓ p.1 p.2 ≤ Real.exp (-α) * ℓ x y) :
(∀ t : ℕ, distStationary P π t ≤
Real.exp (-α * t) * ⨆ p : V × V, pathMetric G ℓ p.1 p.2) ∧
∀ ε : ℝ, 0 < ε → ε < 1 →
(mixingTime P π ε : ℝ) ≤
⌈(-Real.log ε + Real.log (⨆ p : V × V, pathMetric G ℓ p.1 p.2)) / α⌉₊ := by
sorry
end MarkovMixingRead-back
What the Lean code literally says, in plain math · claude-fable-5
Read-back: path_coupling_mixing
Let be a finite, nonempty type with decidable equality. The hypotheses are:
- is a stochastic real matrix (entries , rows summing to ).
- is stationary for : is a probability distribution (pointwise , summing to ) and as a row vector.
- is a connected simple graph on .
- satisfies for every adjacent pair , and is symmetric on all pairs.
- is real.
- Edge-contraction hypothesis: for every adjacent there is a coupling of the rows and (a probability distribution on with those two marginals) satisfying , where is the real infimum of the -lengths of walks in from to (sum of over the walk's consecutive directed steps; real defaults to on an empty set, though connectivity keeps it nonempty; 's defining set contains via the trivial walk).
Write for the supremum of the path metric over all ordered pairs, including diagonal pairs ; this is a supremum over a finite nonempty index set. Write , where (supremum over all finite subsets , including ) is the total-variation-style distance without a factor .
The conclusion is a conjunction of two claims:
- Geometric decay to stationarity. For every natural number (including ):
- Mixing-time bound. For every real with :
where is the least natural number with (a natural-number infimum, which equals the junk value if no such exists), cast to , and is the ceiling to a natural number, which clamps any negative argument to . Note is the real logarithm with the convention for ; so if (conceivable only through the -of-empty-set junk, excluded here by connectivity, or if every pathMetric value were ) the term would silently be .
Confirmed by the mission captain (proposal self-audit).