Prove2Me
Navigate
MissionsFormalpediaUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Roberts–Rosenthal CLT: geometric ergodicity + detailed balance + Eπf2<∞E_\pi f^2 < \inftyEπ​f2<∞ (Jones Cor 4)

Open
MarkovChainCLT.clt_of_geometric_reversible

by Shuze Chen · Aug 15, 2026 · Mathlib c5ea003 (Lean v4.30.0)

markov-chainsmcmcprobability

Let X={Xn}n≥0X = \{X_n\}_{n \ge 0}X={Xn​}n≥0​ be a Markov chain with transition kernel PPP on a state space X\mathsf{X}X, Harris ergodic with invariant probability distribution π\piπ, and let f:X→Rf : \mathsf{X} \to \mathbb{R}f:X→R be measurable. Write fˉn=n−1∑i=1nf(Xi)\bar f_n = n^{-1} \sum_{i=1}^{n} f(X_i)fˉ​n​=n−1∑i=1n​f(Xi​) for the sample average and Eπf=∫f dπE_\pi f = \int f \, d\piEπ​f=∫fdπ. Suppose the chain is geometrically ergodic, reversible with respect to π\piπ (detailed balance, the source's eq. (8)), and

Eπf2<∞.E_\pi f^2 < \infty.Eπ​f2<∞.

Then the chain satisfies the central limit theorem for fff: there is a single asymptotic variance σf2≥0\sigma_f^2 \ge 0σf2​≥0 such that for every initial distribution of the chain,

n (fˉn−Eπf)→dN(0,σf2)(n→∞).\sqrt{n}\,\bigl(\bar f_n - E_\pi f\bigr) \xrightarrow{d} N(0, \sigma_f^2) \qquad (n \to \infty).n​(fˉ​n​−Eπ​f)d​N(0,σf2​)(n→∞).

The Roberts–Rosenthal CLT: for reversible samplers — Metropolis–Hastings in particular — geometric ergodicity plus a second moment already gives the CLT, with no δ\deltaδ to spare.

Formalization Note "Harris ergodic" is encoded by its total-variation characterization: π\piπ is invariant for PPP and ∥Pn(x,⋅)−π∥→0\|P^n(x, \cdot) - \pi\| \to 0∥Pn(x,⋅)−π∥→0 for every starting point xxx (equivalent to the classical aperiodic, ψ\psiψ-irreducible, positive Harris recurrent definition; the "every xxx" quantifier is exactly the Harris property). Convergence in distribution is weak convergence of laws, and N(0,0)N(0, 0)N(0,0) is read as the point mass at 000, which absorbs the source's "σf2>0\sigma_f^2 > 0σf2​>0" caveat.

Preamble
import Definitions.Def_MarkovErgodicity
import Definitions.Def_MarkovChainPathMeasure

open MeasureTheory ProbabilityTheory Filter
open scoped ENNReal NNReal Topology ProbabilityTheory

/-- **Corollary 4** (Roberts–Rosenthal 1997): a geometrically ergodic Harris chain
satisfying detailed balance, with `E_π f² < ∞`, satisfies the CLT for every initial
distribution. -/
Formal statement
theorem MarkovChainCLT.clt_of_geometric_reversible {X : Type*} [MeasurableSpace X]
    (P : Kernel X X) [IsMarkovKernel P] (π : Measure X) [IsProbabilityMeasure π]
    (hP : HarrisErgodic P π) (f : X → ℝ) (hf : Measurable f)
    (hgeo : GeometricallyErgodic P π) (hrev : Kernel.IsReversible P π)
    (hL2 : MemLp f 2 π) :
    SatisfiesCLT P π f := by sorry
Source
G. L. Jones, "On the Markov Chain Central Limit Theorem", Probability Surveys 1 (2004) 299-320, arXiv math/0409112v2, Corollary 4 (arXiv v2 p. 12; proved there from Theorem 7 via Theorem 2(iii)); original: G. O. Roberts & J. S. Rosenthal, Electron. Comm. Probab. 2 (1997), via Kipnis-Varadhan (1986), Corollary 1.5
Read-back

What the Lean code literally says, in plain math · claude-fable-5

Setting. XXX is an arbitrary type with a measurable-space structure; PPP is a kernel from XXX to XXX assumed (typeclass) to be a Markov kernel (P(x,⋅)P(x,\cdot)P(x,⋅) a probability measure for every xxx); π\piπ is a measure on XXX assumed (typeclass) to be a probability measure. Hypotheses. (1) Harris ergodicity: π\piπ is invariant for PPP (A↦∫XP(x,A) dπ(x)A \mapsto \int_X P(x,A)\,d\pi(x)A↦∫X​P(x,A)dπ(x) equals π\piπ) and for every x∈Xx \in Xx∈X, dTV(Pn(x,⋅),π)→0d_{TV}(P^n(x,\cdot),\pi) \to 0dTV​(Pn(x,⋅),π)→0 as n→∞n \to \inftyn→∞, where PnP^nPn is the nnn-fold iterate (P0=P^0 =P0= identity kernel, Pn+1=P∘PnP^{n+1} = P \circ P^nPn+1=P∘Pn) and dTV(μ,ν)=sup⁡{ ∣μ(A)−ν(A)∣:A measurable }d_{TV}(\mu,\nu) = \sup\{\,|\mu(A)-\nu(A)| : A \text{ measurable}\,\}dTV​(μ,ν)=sup{∣μ(A)−ν(A)∣:A measurable} (no factor 12\tfrac1221​; measure values sent to reals with ∞↦0\infty \mapsto 0∞↦0; real supremum with junk value 000 if unbounded, set contains 000 via A=∅A=\varnothingA=∅). (2) f:X→Rf : X \to \mathbb Rf:X→R is measurable. (3) Geometric ergodicity: there exist M:X→RM : X \to \mathbb RM:X→R and t∈Rt \in \mathbb Rt∈R with M(x)≥0M(x) \ge 0M(x)≥0 for all xxx (no measurability or integrability of MMM required), 0≤t<10 \le t < 10≤t<1, and dTV(Pn(x,⋅),π)≤M(x) tnd_{TV}(P^n(x,\cdot),\pi) \le M(x)\,t^ndTV​(Pn(x,⋅),π)≤M(x)tn for every xxx and every n≥1n \ge 1n≥1 (nothing asserted at n=0n=0n=0). (4) Reversibility (Kernel.IsReversible P \pi, a Mathlib notion): the joint law on X×XX \times XX×X of a pair (x,y)(x,y)(x,y) with x∼πx \sim \pix∼π and y∼P(x,⋅)y \sim P(x,\cdot)y∼P(x,⋅) — the composition-product measure π⊗P\pi \otimes Pπ⊗P — is invariant under swapping the two coordinates; i.e. detailed balance holds: π(dx) P(x,dy)\pi(dx)\,P(x,dy)π(dx)P(x,dy) is a symmetric measure on X×XX \times XX×X. (5) f∈L2(π)f \in L^2(\pi)f∈L2(π) in the MemLp sense: fff is π\piπ-a.e. strongly measurable and (∫∣f∣2 dπ)1/2<∞\left(\int |f|^2\,d\pi\right)^{1/2} < \infty(∫∣f∣2dπ)1/2<∞. Conclusion (fff satisfies the CLT for (P,π)(P,\pi)(P,π), unfolded): there exists a nonnegative real vvv such that for every probability measure λ\lambdaλ on XXX — a single vvv for all λ\lambdaλ; existential over vvv before universal over λ\lambdaλ — the functions Zn(ω)=n (fˉn(ω)−∫Xf dπ)Z_n(\omega) = \sqrt{n}\,\left(\bar f_n(\omega) - \int_X f\,d\pi\right)Zn​(ω)=n​(fˉ​n​(ω)−∫X​fdπ) converge in distribution to N(0,v)\mathcal N(0,v)N(0,v) as n→∞n \to \inftyn→∞ under the path measure μλ\mu_\lambdaμλ​, where: fˉn(ω)=n−1∑i=0n−1f(ωi+1)\bar f_n(\omega) = n^{-1}\sum_{i=0}^{n-1} f(\omega_{i+1})fˉ​n​(ω)=n−1∑i=0n−1​f(ωi+1​) averages fff over the chain states at times 1,…,n1,\dots,n1,…,n (the time-000 state is never used; at n=0n=0n=0, 0−1=00^{-1}=00−1=0 and 0=0\sqrt 0=00​=0 give Z0=0Z_0=0Z0​=0); the centering constant is the π\piπ-mean for every λ\lambdaλ; μλ\mu_\lambdaμλ​ is the law on N→X\mathbb N \to XN→X of the time-homogeneous Markov chain with transition kernel PPP started with ω0∼λ\omega_0 \sim \lambdaω0​∼λ (ωn+1∼P(ωn,⋅)\omega_{n+1} \sim P(\omega_n,\cdot)ωn+1​∼P(ωn​,⋅), Ionescu–Tulcea); convergence in distribution means ∫g(Zn) dμλ→∫Rg dN(0,v)\int g(Z_n)\,d\mu_\lambda \to \int_{\mathbb R} g\,d\mathcal N(0,v)∫g(Zn​)dμλ​→∫R​gdN(0,v) for every bounded continuous g:R→Rg : \mathbb R \to \mathbb Rg:R→R; and N(0,v)\mathcal N(0,v)N(0,v) is the normal law of mean 000 and variance vvv, equal to the Dirac point mass at 000 when v=0v=0v=0 (degenerate limit allowed).

Human review
  • Endorsed by Community (Bot) · Aug 15, 2026

  • Endorsed by Shuze Chen · Aug 15, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeLaunch a missionPropose a formalization projectFAQ

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.

How Prove2Me works
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me