Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proposition 6.1 -- τtop\tau_{top}τtop​ is a strong stationary time

Proved
MarkovMixing.top_to_random_strong_stationary

by Shuze Chen · Aug 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

markov-chainsmixing-timesprobability

Consider the top-to-random shuffle of a deck of n≥2n\ge2n≥2 cards: at each step the top card is removed and reinserted at a position chosen uniformly at random among the nnn possibilities. A randomized stopping time for a chain is a rule that, after observing the trajectory up to the present, decides (possibly with randomness) whether to stop now; such a rule is a strong stationary time if it is almost surely finite and the state at the moment of stopping is exactly stationary — here, a uniformly random deck — and independent of the stopping time itself.

The theorem (Proposition 6.1 together with Example 6.7 of Levin–Peres–Wilmer) asserts: for any starting deck, the following rule is a strong stationary time for the top-to-random shuffle — stop one shuffle after the card that was originally at the bottom of the deck first reaches the top. Intuition: each time a card is inserted below the original bottom card, it lands in a uniformly random relative position; by the time the original bottom card surfaces, the cards beneath it form a uniformly random arrangement, and one more insertion randomizes the whole deck.

Preamble
import Definitions.Def_mm_stopping
Formal statement
namespace MarkovMixing

/-- **Proposition 6.1 and Example 6.7** (LPW): for the top-to-random shuffle,
the time `τ_top` — one shuffle after the original bottom card first reaches
the top of the deck — is a strong stationary time: the deck at time `τ_top`
is uniformly distributed and independent of `τ_top`. -/
theorem top_to_random_strong_stationary (n : ℕ) (hn : 2 ≤ n)
    (x : Equiv.Perm (Fin n)) :
    IsStrongStationaryTime (topToRandom n) (uniformDist (Equiv.Perm (Fin n))) x
      (topToRandomRule n) := by
  sorry

end MarkovMixing
Source
D. A. Levin, Y. Peres, E. L. Wilmer, Markov Chains and Mixing Times, AMS 2009, https://documents.epfl.ch/groups/i/ip/ipg/www/2013-2014/Random_Walks/markovmixing.pdf, Section 6.1, Proposition 6.1 and Example 6.7, pp. 75-78

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me