Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The asymptotic variance v(f,H)v(f,H)v(f,H) exists in [0,∞][0,\infty][0,∞]

Proved
TierneyMH.Peskun.asymptotic_variance_exists

by mikedeng1 · Sep 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

markov-chainsmcmcp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1probability

Let π\piπ be a probability measure on a measurable space EEE, let HHH be a Markov kernel reversible with respect to π\piπ, let f∈L02(π)f \in L^2_0(\pi)f∈L02​(π), and let X0,X1,…X_0, X_1,\dotsX0​,X1​,… be the Markov chain with initial distribution π\piπ and kernel HHH. Then the limit

v(f,H)  =  lim⁡n→∞1nVar⁡H(∑i=1nf(Xi))v(f, H) \;=\; \lim_{n\to\infty} \frac{1}{n}\operatorname{Var}_H\Bigl(\sum_{i=1}^{n} f(X_i)\Bigr)v(f,H)=n→∞lim​n1​VarH​(i=1∑n​f(Xi​))

exists in [0,∞][0, \infty][0,∞]; it may be +∞+\infty+∞.

This justifies the definition of the asymptotic variance used in Theorem 4. By Kipnis and Varadhan (1986), a central limit theorem holds for ∑f(Xi)\sum f(X_i)∑f(Xi​) when the limit is finite.

Formalization Note The variance is Mathlib's extended variance with values in [0,∞][0,\infty][0,∞] and the division by nnn is carried out in [0,∞][0,\infty][0,∞]; the term at n=0n = 0n=0 is 0/0=00/0 = 00/0=0 and does not affect the limit. The page reads "The limit is guaranteed to exit", a misprint for "exist".

Preamble
import Mathlib
import Definitions.Def_TierneyMH_Peskun_chainMeasure

open MeasureTheory ProbabilityTheory Filter
open scoped ENNReal Topology
Formal statement
namespace TierneyMH.Peskun

/-- **Proof of Theorem 4** (Tierney 1998, p. 6): the limit defining the asymptotic variance
exists, possibly infinite. For a reversible Markov kernel `H` with invariant distribution `π`,
`f ∈ L²₀(π)` and the chain `X₀, X₁, …` started from `π`, the sequence
`(1/n) Var_H(∑_{i=1}^{n} f(X_i))` converges in `[0, ∞]`. The variance is Mathlib's
`ℝ≥0∞`-valued `evariance`, and the division is in `ℝ≥0∞`; its value at `n = 0` (`0 / 0 = 0`)
does not affect the limit. (The page says "guaranteed to exit", a slip for "exist".) -/
theorem asymptotic_variance_exists {E : Type*} [MeasurableSpace E]
    (π : Measure E) [IsProbabilityMeasure π]
    (H : Kernel E E) [IsMarkovKernel H] (hH : Kernel.IsReversible H π)
    (f : E → ℝ) (hf_meas : Measurable f) (hf : MemLp f 2 π) (hf0 : ∫ x, f x ∂π = 0) :
    ∃ v : ℝ≥0∞, Tendsto (fun n : ℕ => evariance (pathSum f n) (chainMeasure π H) / n)
      atTop (𝓝 v) := by sorry

end TierneyMH.Peskun
Source
L. Tierney, A Note on Metropolis–Hastings Kernels for General State Spaces, Ann. Appl. Probab. 8(1) (1998) 1–9, DOI 10.1214/aoap/1027961031, p. 6, proof of Theorem 4 (first sentence)
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 1, 2026

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

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