Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Hypercube separation cutoff at nlog⁡nn\log nnlogn

Proved
MarkovMixing.hypercube_separation_cutoff

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

markov-chainsmixing-timesprobability

The lazy random walk on the nnn-dimensional hypercube has state space {0,1}n\{0,1\}^n{0,1}n; at each step it stays put with probability 12\tfrac1221​ and otherwise flips a uniformly chosen coordinate; its stationary distribution is uniform. The maximal separation distance at time ttt is

sn(t)=max⁡x,y(1−Pnt(x,y)u(y)),u the uniform distribution,s_n(t)=\max_{x,y}\Bigl(1-\frac{P^t_n(x,y)}{u(y)}\Bigr),\qquad u\ \text{the uniform distribution},sn​(t)=x,ymax​(1−u(y)Pnt​(x,y)​),u the uniform distribution,

which vanishes only when every transition probability has reached its uniform value (Mission III). A family has a separation cutoff at tnt_ntn​ with window wnw_nwn​ when wn/tn→0w_n/t_n\to0wn​/tn​→0 and sn(⌊tn+αwn⌋)s_n(\lfloor t_n+\alpha w_n\rfloor)sn​(⌊tn​+αwn​⌋) tends (in the liminf/limsup sense) to 111 as α→−∞\alpha\to-\inftyα→−∞ and to 000 as α→+∞\alpha\to+\inftyα→+∞.

The theorem (Theorem 18.8 of Levin–Peres–Wilmer) asserts: the lazy hypercube walk has a separation cutoff at

tn=nlog⁡nwith windowwn=n.t_n=n\log n\qquad\text{with window}\qquad w_n=n.tn​=nlognwith windowwn​=n.

Separation converges abruptly too — but at nlog⁡nn\log nnlogn, twice the total-variation cutoff time 12nlog⁡n\tfrac12n\log n21​nlogn of the companion theorem. The pair is the standard example that the two notions of mixing genuinely differ at the level of constants. The upper bound comes from the coordinate-refresh strong stationary time (all nnn coordinates updated, a full coupon collection); the lower bound tracks the probability that some coordinate is still unrefreshed.

Preamble
import Definitions.Def_mm_cutoff
import Mathlib.Analysis.SpecialFunctions.Log.Basic
Formal statement
namespace MarkovMixing

/-- **Theorem 18.8** (LPW): the lazy random walk on the `n`-dimensional
hypercube has a *separation* cutoff at `n log n` with a window of order
`n`. -/
theorem hypercube_separation_cutoff :
    HasSepCutoffWindow (fun n => hypercubeWalk n)
      (fun n => uniformDist (Fin n → ZMod 2))
      (fun n => n * Real.log n) (fun n => 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 18.4, Theorem 18.8, p. 254

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