Lemma 12.2 -- the spectral representation of a reversible chain
ProvedMarkovMixing.spectral_representationLet be a Markov chain on a finite state space with states, reversible with respect to a strictly positive probability distribution — that is, satisfying the detailed balance equations . Equip real-valued functions on with the weighted inner product
the geometry in which a reversible chain is self-adjoint.
The theorem (Lemma 12.2 of Levin–Peres–Wilmer) asserts the existence of real numbers and functions such that:
- each is an eigenfunction, (with );
- the family is orthonormal in : if and otherwise;
- the transition probabilities decompose spectrally: for every time and all states ,
Every question about the long-run behaviour of a reversible chain thereby becomes a question about the decay of the powers — the formula from which the relaxation-time bounds of this mission and the cutoff theory of later missions are read off.
import Definitions.Def_mm_spectral
namespace MarkovMixing
/-- **Lemma 12.2** (LPW): a chain reversible with respect to a positive
distribution `π` admits an orthonormal basis of `ℓ²(π)` consisting of real
eigenfunctions, and the transition probabilities decompose spectrally:
`P^t(x,y)/π(y) = ∑_j f_j(x) f_j(y) λ_j^t`. -/
theorem spectral_representation {V : Type*} [Fintype V] [DecidableEq V]
(P : Matrix V V ℝ) (hP : IsStochastic P)
(π : V → ℝ) (hπ : IsDist π) (hpos : ∀ x : V, 0 < π x)
(hrev : DetailedBalance P π) :
∃ (lam : Fin (Fintype.card V) → ℝ) (f : Fin (Fintype.card V) → V → ℝ),
(∀ j, P.mulVec (f j) = lam j • f j) ∧
(∀ j k, innerPi π (f j) (f k) = if j = k then 1 else 0) ∧
∀ (t : ℕ) (x y : V),
(P ^ t) x y / π y = ∑ j, f j x * f j y * lam j ^ t := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Read-back: spectral_representation
Let be an arbitrary finite type with decidable equality, and write for its cardinality. The hypotheses are: is a real matrix that is stochastic (every entry and every row sums to one, ); is a distribution ( for all and ); additionally for every (strict positivity, given as a separate hypothesis); and satisfies detailed balance with respect to : for all . Note that is not assumed stationary for except insofar as detailed balance implies it; stationarity is not stated.
Under these hypotheses the theorem asserts the existence of a family of real numbers (indexed by ) and a family of functions such that the following three statements hold simultaneously:
-
Eigenvector equations. For every index , the matrix–vector identity holds, i.e. for all . (No ordering of the , no claim that or that is constant, and no claim that the exhaust or enumerate the spectrum is made.)
-
Orthonormality in the -weighted inner product. For all indices :
(In particular each has -norm one, so each is nonzero, given that some — which forces to be nonempty for the hypotheses to be satisfiable together with ; if were empty the sum-to-one condition in the distribution hypothesis would fail, making the theorem vacuously true for empty .)
- Spectral representation of transition kernels. For every natural number (including , where is the identity matrix) and all states :
where the left side is real division (with the convention , though is guaranteed here), and by convention, including when .
The number of eigenpairs provided is exactly , matching the dimension. All three conclusions are packaged inside a single existential: the same families and must witness all three at once.
Confirmed by the mission captain (proposal self-audit).