Theorem 12.3 -- mixing is at most relaxation times a log factor
DisprovedMarkovMixing.relaxation_upperLet be an irreducible 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 . Write , and for a tolerance let be the first with , where is the total variation distance.
The theorem (Theorem 12.3 of Levin–Peres–Wilmer) asserts: for every ,
Mixing costs at most a factor beyond the relaxation time: once the spectral gap is known, a mixing bound follows instantly. (The absorbs the rounding of the real-valued bound to an integer time.) The companion theorem gives the matching lower bound .
Retired — this statement is false as written
Replaced by MarkovMixing.relaxation_upper_aperiodic. Disproved by chenmin (submission cf1ada7f-968b-47b8-b2a7-3801ab01c781, accepted).
The statement omits aperiodicity. LPW state Theorem 12.3 for a reversible irreducible chain and read in the extended reals, where the periodic case gives and the bound is vacuously true. Lean's inversion is total — — so for a periodic chain evaluates to and the bound collapses to . Simple random walk on the path is reversible, irreducible and periodic, with .
Aperiodicity is the book's own criterion for (Lemma 12.1(iii)); the replacement adds it and is otherwise identical. Do not re-formalize this statement without it.
import Definitions.Def_mm_spectral import Mathlib.Analysis.SpecialFunctions.Log.Basic
namespace MarkovMixing
/-- **Theorem 12.3** (LPW): for a reversible irreducible chain,
`t_mix(ε) ≤ log(1/(ε π_min)) · t_rel + 1`. -/
theorem relaxation_upper {V : Type*} [Fintype V] [DecidableEq V] [Nonempty V]
(P : Matrix V V ℝ) (hP : IsStochastic P) (hirr : Irreducible P)
(π : V → ℝ) (hπ : IsStationary P π) (hrev : DetailedBalance P π)
(ε : ℝ) (hε : 0 < ε) (hε1 : ε < 1) :
(mixingTime P π ε : ℝ) ≤
Real.log (1 / (ε * ⨅ x : V, π x)) * relaxationTime P + 1 := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Read-back: relaxation_upper
Let be a finite, nonempty type with decidable equality. The hypotheses are: is a real matrix that is stochastic (all entries , all rows sum to one); is irreducible in the sense that for every pair there is some natural number (the value , giving the identity matrix, is allowed) with ; is stationary for , meaning is a probability distribution ( for all , — strict positivity of is not assumed) and the row-vector equation holds, i.e. for all ; satisfies detailed balance with respect to : for all ; and is a real number with .
The conclusion is the single real inequality
where each ingredient has the following literal meaning.
-
is the natural number , cast into ; if no time achieves , this infimum over the empty set of naturals takes the junk value . Here , and for two real-valued functions on the "total-variation distance" is defined as , the supremum over all (finite) subsets of of the absolute difference in mass — with no factor of in the definition.
-
, the minimum stationary weight (well-defined as a genuine minimum since is finite and nonempty; it may be , since positivity of is not hypothesized).
-
The logarithm is the real natural logarithm, extended by the junk convention for ; and uses real division with the convention . In particular, if the whole logarithm factor collapses to and the right side reduces to .
-
, where is the supremum, in , of the set — the absolute values of all real eigenvalues of (witnessed by real eigenvectors) other than the value itself; is not excluded from this set. The real supremum of an empty set is the junk value (making in that case), and real inversion satisfies , so whenever . No hypothesis of aperiodicity (or laziness) appears anywhere in the statement.
Confirmed by the mission captain (proposal self-audit).