for lamplighter chains
ProvedMarkovMixing.lamplighter_mixingLet be any sequence of connected graphs with . The base walk on is the lazy simple random walk (hold with probability , else move to a uniform neighbour); its cover time is the worst, over starting vertices, expected time to have visited every vertex (Mission VI). The lamplighter chain has states (lamp configuration in , lamplighter position); one step randomizes the lamp at the current position, moves the lamplighter one base-walk step, and randomizes the lamp at the new position; its stationary distribution is uniform lamps times the base walk's stationary distribution. The mixing time is the first at which the worst-case total variation distance drops to , with .
The theorem (Theorem 19.2 of Levin–Peres–Wilmer) asserts: there are constants such that for all sufficiently large ,
The lamp configuration looks uniform only once (essentially) every lamp has been touched, so the lamplighter mixes exactly when the base walk has covered the graph — the cleanest theorem converting cover times into mixing times. The upper bound couples two lamplighters after a cover-time's worth of steps; the lower bound shows that before a constant fraction of the cover time, the set of unvisited lamps betrays the starting configuration (via the separation–total-variation relation of this mission).
import Definitions.Def_mm_cutoff
namespace MarkovMixing
/-- **Theorem 19.2** (LPW): the mixing time of the lamplighter chain is
comparable to the cover time of the underlying lazy walk: there are
constants `c₁, c₂ > 0` such that for all sufficiently large `n`,
`c₁ t_cov(G_n) ≤ t_mix(G_n⁎) ≤ c₂ t_cov(G_n)`. -/
theorem lamplighter_mixing {Vf : ℕ → Type*} [∀ n, Fintype (Vf n)]
[∀ n, DecidableEq (Vf n)] [∀ n, Nonempty (Vf n)]
(G : ∀ n, SimpleGraph (Vf n)) [∀ n, DecidableRel (G n).Adj]
(hconn : ∀ n, (G n).Connected)
(hcard : Filter.Tendsto (fun n => Fintype.card (Vf n))
Filter.atTop Filter.atTop) :
∃ c₁ c₂ : ℝ, 0 < c₁ ∧ 0 < c₂ ∧ ∃ N : ℕ, ∀ n : ℕ, N ≤ n →
c₁ * coverTimeMax (lazy (graphWalk (G n))) ≤
(tMix (lamplighter (G n)) (lamplighterStationary (G n)) : ℝ) ∧
(tMix (lamplighter (G n)) (lamplighterStationary (G n)) : ℝ) ≤
c₂ * coverTimeMax (lazy (graphWalk (G n))) := by
sorry
end MarkovMixingRead-back
What the Lean code literally says, in plain math · claude-fable-5
Read-back: lamplighter_mixing
Fix, for every natural number , a finite nonempty vertex type (decidable equality) and a simple graph on (decidable adjacency), and assume: every is connected, and as . (No other relation between and the graphs is assumed; in particular need not equal .) Let denote the lazy simple random walk on , where if and otherwise ( for an isolated vertex, though connectivity with precludes those; for the one-point graph is connected and ). Define two quantities.
Cover time. , where is the sum, over all length- trajectories with that miss at least one vertex (some with for all ), of the product — i.e. the probability the walk started at has not yet visited every vertex by time . The infinite sum is Lean's tsum: if the family is not summable the value is the junk value ; the outer supremum is a real supremum over the finite nonempty vertex set.
Lamplighter mixing time. Let be the lamplighter chain on states with a lamp configuration and a walker position: from , a transition to has probability if and agrees with off (the lamp at unconstrained), probability if and agrees with off (lamps at and unconstrained), and otherwise. Let (total division: identically if has no edges, as happens when ). Then , where
the sup running over starting states and subsets of the lamplighter state space; the -infimum is if no such exists. ( is not hypothesized to be stationary for , nor to be stochastic — these are just the formulas above.)
Assertion. There exist real constants and and a natural number such that for all ,
with cast from to and both inequalities non-strict. The constants are uniform in but may depend on the whole family .
Confirmed by the mission captain (proposal self-audit).