Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2.17, p. 16 — the RWM acceptance probability satisfies α(x) ≤ (1 + 2λδ)^{−m/2} exp(Σ δλ²i²x_i²/(2δλ + 1)) for λ ∈ [0, 1]

Proved
MHSpectralGap.RWM.acceptance_bound

by mikedeng1 · Oct 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

acceptance-probabilitygaussian-measurep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1random-walk-metropolis

Consider random walk Metropolis on Rm\mathbb R^mRm for the Gaussian target γm\gamma_mγm​ of (2.5) (coordinates independent, xi∼N(0,1/i2)x_i\sim\mathcal N(0,1/i^2)xi​∼N(0,1/i2)), with step size δ>0\delta>0δ>0: proposal y=x+2δ ξy=x+\sqrt{2\delta}\,\xiy=x+2δ​ξ, ξ∼γm\xi\sim\gamma_mξ∼γm​, and acceptance α(x,y)=1∧exp⁡(−∑i=1mi22(yi2−xi2))\alpha(x,y)=1\wedge\exp\bigl(-\sum_{i=1}^m\frac{i^2}{2}(y_i^2-x_i^2)\bigr)α(x,y)=1∧exp(−∑i=1m​2i2​(yi2​−xi2​)). Let α(x)=∫α(x,y) Q(x,dy)\alpha(x)=\int\alpha(x,y)\,Q(x,dy)α(x)=∫α(x,y)Q(x,dy) be the expected acceptance probability of a proposal from xxx. Then for every λ∈[0,1]\lambda\in[0,1]λ∈[0,1] and every x∈Rmx\in\mathbb R^mx∈Rm,

α(x)  ≤  (1+2λδ)−m/2exp⁡(∑i=1mδλ2i2xi22δλ+1).\alpha(x)\;\le\;(1+2\lambda\delta)^{-m/2}\exp\Bigl(\sum_{i=1}^m\frac{\delta\lambda^2 i^2x_i^2}{2\delta\lambda+1}\Bigr).α(x)≤(1+2λδ)−m/2exp(i=1∑m​2δλ+1δλ2i2xi2​​).

For xxx in a fixed ball of Hσ\mathcal H^\sigmaHσ and λ,δ\lambda,\deltaλ,δ decaying as suitable powers of mmm, the first factor decays faster than any power of mmm while the second stays bounded; this collapse of the acceptance probability is what drives Theorem 2.17 (1).

Formalization Note The range λ∈[0,1]\lambda\in[0,1]λ∈[0,1] is the one where the elementary bound u∧v≤uλv1−λu\wedge v\le u^\lambda v^{1-\lambda}u∧v≤uλv1−λ used on the page holds; the paper applies it with λ=m−b≤1\lambda=m^{-b}\le 1λ=m−b≤1. Coordinates are indexed by Fin m, coordinate iii carrying the weight (i+1)2(i+1)^2(i+1)2 (the paper's i=1,…,mi=1,\dots,mi=1,…,m). The power (1+2λδ)−m/2(1+2\lambda\delta)^{-m/2}(1+2λδ)−m/2 is a real power of a positive base.

Preamble
import Mathlib
import Definitions.Def_MHSpectralGap_RWM_MHKernel
import Definitions.Def_MHSpectralGap_RWM_L2Gap
import Definitions.Def_MHSpectralGap_RWM_Conductance
import Definitions.Def_MHSpectralGap_RWM_RWMKernel

open MeasureTheory ProbabilityTheory
open scoped ENNReal
Formal statement
namespace MHSpectralGap.RWM

/-- The acceptance bound in the proof of Theorem 2.17, p. 16: for `0 < δ`, `λ ∈ [0, 1]` and
every `x ∈ ℝ^m`,
`α(x) ≤ (1 + 2λδ)^{−m/2} exp(∑_{i=1}^m δλ² i² x_i² / (2δλ + 1))`. -/
theorem acceptance_bound (m : ℕ) (δ : ℝ) (hδ : 0 < δ) (lam : ℝ) (hlam : lam ∈ Set.Icc (0 : ℝ) 1)
    (x : Fin m → ℝ) :
    accBar (rwmProposal m δ) (rwmAccept m) x ≤
      ENNReal.ofReal ((1 + 2 * lam * δ) ^ (-(m : ℝ) / 2) *
        Real.exp (∑ i : Fin m, δ * lam ^ 2 * ((i : ℝ) + 1) ^ 2 * x i ^ 2 / (2 * δ * lam + 1))) := by sorry

end MHSpectralGap.RWM
Source
Hairer, Stuart and Vollmer, Spectral gaps for a Metropolis–Hastings algorithm in infinite dimensions, arXiv:1112.1392v4, p. 16, proof of Theorem 2.17, the displays from "Thus we use u ∧ v ≤ u^λ v^{1−λ} to bound" to "≤ (1 + 2λδ)^{−m/2} exp(...)"
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me