Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Heat-kernel spectral bound ∣Ht(x,y)−π(y)∣≤π(y)/π(x) e−γt|H_t(x,y)-\pi(y)|\le\sqrt{\pi(y)/\pi(x)}\,e^{-\gamma t}∣Ht​(x,y)−π(y)∣≤π(y)/π(x)​e−γt

Proved
MarkovMixing.heat_kernel_spectral_bound

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

markov-chainsmixing-timesprobability

Let PPP be an irreducible Markov chain on a finite state space VVV with stationary distribution π\piπ, reversible with respect to it (detailed balance: π(x)P(x,y)=π(y)P(y,x)\pi(x)P(x,y)=\pi(y)P(y,x)π(x)P(x,y)=π(y)P(y,x)). The heat kernel at real time t≥0t\ge0t≥0 is Ht(x,y)=∑ke−ttkk!Pk(x,y)H_t(x,y)=\sum_ke^{-t}\tfrac{t^k}{k!}P^k(x,y)Ht​(x,y)=∑k​e−tk!tk​Pk(x,y) — the continuous-time chain driven by a rate-one Poisson clock. Among the eigenvalues of PPP (real λ\lambdaλ with Pf=λfPf=\lambda fPf=λf for some nonzero fff), λ2\lambda_2λ2​ is the largest eigenvalue different from 111, and γ=1−λ2\gamma=1-\lambda_2γ=1−λ2​ is the spectral gap (Mission VII).

The theorem (Theorem 20.6 of Levin–Peres–Wilmer) asserts the pointwise estimate: for all states x,yx,yx,y and all t≥0t\ge0t≥0,

∣Ht(x,y)−π(y)∣  ≤  π(y)π(x)  e−γt.\bigl|H_t(x,y)-\pi(y)\bigr|\;\le\;\sqrt{\frac{\pi(y)}{\pi(x)}}\;e^{-\gamma t}.​Ht​(x,y)−π(y)​≤π(x)π(y)​​e−γt.

In continuous time the convergence rate is governed by the spectral gap γ\gammaγ itself — not the absolute gap γ⋆\gamma_\starγ⋆​ of the discrete theory: negative eigenvalues, which cause the discrete chain to oscillate, are killed by the Poisson smoothing, since PPP's eigenvalue λ\lambdaλ becomes e−(1−λ)te^{-(1-\lambda)t}e−(1−λ)t for the heat kernel. The prefactor π(y)/π(x)\sqrt{\pi(y)/\pi(x)}π(y)/π(x)​ comes from expanding the transition kernel in the ℓ2(π)\ell^2(\pi)ℓ2(π)-orthonormal eigenbasis of Mission VII's spectral representation. This estimate is the continuous-time engine behind the product-chain theorem of this mission.

Preamble
import Definitions.Def_mm_continuous
import Mathlib.Analysis.SpecialFunctions.Sqrt
Formal statement
namespace MarkovMixing

/-- **Theorem 20.6** (LPW): for a reversible irreducible chain with spectral
gap `γ`, the heat kernel satisfies
`|H_t(x,y) − π(y)| ≤ √(π(y)/π(x)) e^{-γt}`. -/
theorem heat_kernel_spectral_bound {V : Type*} [Fintype V] [DecidableEq V]
    [Nonempty V] (P : Matrix V V ℝ) (hP : IsStochastic P)
    (hirr : Irreducible P) (π : V → ℝ) (hπ : IsStationary P π)
    (hrev : DetailedBalance P π) (x y : V) (t : ℝ) (ht : 0 ≤ t) :
    |heatKernel P t x y - π y| ≤
      Real.sqrt (π y / π x) * Real.exp (-(spectralGap P) * t) := 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 20.3, Theorem 20.6, Eq. (20.10), p. 268

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