Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 5.8 -- fast mixing of the hardcore Glauber dynamics

Proved
MarkovMixing.hardcore_glauber_mixing

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

markov-chainsmixing-timesprobability

Let GGG be a graph on nnn vertices with maximum degree Δ\DeltaΔ. A {0,1}\{0,1\}{0,1}-configuration on the vertices is hardcore if no two adjacent vertices are both occupied — the occupied sites form an independent set. The hardcore model with fugacity λ>0\lambda>0λ>0 is the distribution on hardcore configurations with π(σ)∝λ∣σ∣\pi(\sigma)\propto\lambda^{|\sigma|}π(σ)∝λ∣σ∣, where ∣σ∣|\sigma|∣σ∣ is the number of occupied sites. The Glauber dynamics for π\piπ picks a uniform vertex and re-samples its occupancy from π\piπ conditioned on the rest of the configuration; here it is viewed as a chain on the hardcore configurations. For a tolerance ε\varepsilonε, the mixing time tmix(ε)t_{\mathrm{mix}}(\varepsilon)tmix​(ε) is the first ttt with max⁡x∥Pt(x,⋅)−π∥TV≤ε\max_x\|P^t(x,\cdot)-\pi\|_{TV}\le\varepsilonmaxx​∥Pt(x,⋅)−π∥TV​≤ε, where ∥μ−ν∥TV=max⁡A∣μ(A)−ν(A)∣\|\mu-\nu\|_{TV}=\max_A|\mu(A)-\nu(A)|∥μ−ν∥TV​=maxA​∣μ(A)−ν(A)∣.

The theorem (Theorem 5.8 of Levin–Peres–Wilmer) asserts: if λ(Δ−1)<1\lambda(\Delta-1)<1λ(Δ−1)<1, then for every 0<ε≤10<\varepsilon\le10<ε≤1,

tmix(ε)  ≤  n (1+λ)1+λ(1−Δ) (log⁡n+log⁡ε−1)  +  1.t_{\mathrm{mix}}(\varepsilon)\;\le\;\frac{n\,(1+\lambda)}{1+\lambda(1-\Delta)}\,\bigl(\log n+\log\varepsilon^{-1}\bigr)\;+\;1.tmix​(ε)≤1+λ(1−Δ)n(1+λ)​(logn+logε−1)+1.

Below the threshold λ<(Δ−1)−1\lambda<(\Delta-1)^{-1}λ<(Δ−1)−1 the dynamics mixes in order nlog⁡nn\log nnlogn steps. (The +1+1+1 absorbs integer rounding.)

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

/-- **Theorem 5.8** (LPW): for the Glauber dynamics of the hardcore model
with fugacity `λ` on a graph with `n` vertices and maximum degree `Δ`, if
`λ < (Δ − 1)⁻¹`, then with `c_H(λ) = (1 + λ(1 − Δ))/(1 + λ)`,
`t_mix(ε) ≤ (n / c_H(λ)) (log n + log(1/ε)) + 1`. -/
theorem hardcore_glauber_mixing {Vv : Type*} [Fintype Vv] [DecidableEq Vv]
    [Nonempty Vv] (G : SimpleGraph Vv) [DecidableRel G.Adj]
    (lam : ℝ) (hlam : 0 < lam) (hc : lam * ((G.maxDegree : ℝ) - 1) < 1)
    (ε : ℝ) (hε : 0 < ε) (hε1 : ε ≤ 1) :
    (mixingTime
        (subChain (glauber (hardcoreDist G lam)) (IsHardcore G))
        (fun σ : {σ : Vv → Bool // IsHardcore G σ} => hardcoreDist G lam σ.1)
        ε : ℝ) ≤
      ((Fintype.card Vv : ℝ) * (1 + lam) / (1 + lam * (1 - (G.maxDegree : ℝ)))) *
        (Real.log (Fintype.card Vv) + Real.log ε⁻¹) + 1 := 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 5.4.2, Theorem 5.8, pp. 70-71

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