Proposition 8.11 -- random transpositions lower bound
ProvedMarkovMixing.random_transpositions_lowerThe random transpositions shuffle of a deck of cards picks two cards independently and uniformly at random and swaps them: the identity is applied with probability and each transposition with probability . Its stationary distribution is uniform. For a tolerance , the mixing time is the first at which , where is the total variation distance.
The theorem (Proposition 8.11 of Levin–Peres–Wilmer) asserts: for every and every ,
So order shuffles are necessary. The obstruction is the number of fixed points: until almost every card has been touched at least once — a coupon-collector event taking pair draws — the deck has many more cards in their original position than a uniform ordering would.
import Definitions.Def_mm_shuffle import Mathlib.Analysis.SpecialFunctions.Log.Basic
namespace MarkovMixing
/-- **Proposition 8.11** (LPW): for the random transpositions chain on `n`
cards and `0 < ε < 1`,
`t_mix(ε) ≥ ((n−1)/2) log((1−ε)n/6)`. -/
theorem random_transpositions_lower (n : ℕ) (hn : 2 ≤ n)
(ε : ℝ) (hε : 0 < ε) (hε1 : ε < 1) :
((n : ℝ) - 1) / 2 * Real.log ((1 - ε) * n / 6) ≤
(mixingTime (randomTranspositions n)
(uniformDist (Equiv.Perm (Fin n))) ε : ℝ) := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Read-back: random_transpositions_lower
For every natural number with , and every real number with , the following inequality holds:
where the right-hand side is a natural number cast to a real, is the natural logarithm, subtraction is real subtraction, and the objects are as follows. is the "random transpositions" matrix on the group of permutations of the -element set , whose entry in row , column equals , where gives weight to the identity permutation, weight to every transposition of two distinct indices, and to all other permutations (so the entry is when , when is a transposition, and otherwise). The quantity is the -mixing time toward the uniform distribution on the permutation group (each of the permutations having mass ): it is the least natural number (an infimum over naturals) such that
the supremum being over all permutations as starting states, and being defined as the supremum over all finite subsets of the state space of (the sup-over-events form of total-variation distance, with no factor ). By the natural-number infimum convention, this mixing time is if no meets the threshold. Edge cases worth noting: the right-hand side is always , while the left-hand side is negative or zero whenever , i.e. whenever ; in that regime (which for each fixed includes all up to some bound, e.g. all when is small) the asserted inequality holds trivially, so the statement carries nontrivial content only for . The theorem is a lower bound of order on this -mixing time, stated for every and every simultaneously.
Confirmed by the mission captain (proposal self-audit).