Corollary 8.10 -- random transpositions mix in
ProvedMarkovMixing.random_transpositions_mixingThe random transpositions shuffle of a deck of cards picks two cards independently and uniformly at random and swaps them (doing nothing when the same card is picked twice): the identity is applied with probability and each transposition with probability . Its stationary distribution is uniform over all orderings. The mixing time is the first time at which , where is the law of the deck after shuffles from ordering and is the total variation distance.
The theorem (Corollary 8.10 of Levin–Peres–Wilmer, the capstone of Chapter 8) asserts: for every there is an such that for all ,
Random transpositions mix in at most steps. The book's proof constructs a strong stationary time by the marking scheme of Broder; the matching lower bound of order is the companion theorem of this mission.
import Definitions.Def_mm_shuffle import Mathlib.Analysis.SpecialFunctions.Log.Basic
namespace MarkovMixing
/-- **Corollary 8.10** (LPW), the capstone of Chapter 8: the random
transpositions shuffle on `n` cards mixes in at most `(2 + o(1)) n log n`
steps. -/
theorem random_transpositions_mixing (δ : ℝ) (hδ : 0 < δ) :
∃ N : ℕ, ∀ n : ℕ, N ≤ n →
(tMix (randomTranspositions n) (uniformDist (Equiv.Perm (Fin n))) : ℝ) ≤
(2 + δ) * n * Real.log n := by
sorry
end MarkovMixing