Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

αMH\alpha_{MH}αMH​ satisfies conditions (i) and (ii) of Theorem 2

Proved
TierneyMH.Mixture.alphaMH_conditions

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

markov-chain-monte-carlomarkov-kernelmetropolis-hastingsp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let π\piπ be a probability measure and QQQ a Markov proposal kernel on EEE, let μ(dx,dy)=π(dx)Q(x,dy)\mu(dx,dy)=\pi(dx)Q(x,dy)μ(dx,dy)=π(dx)Q(x,dy), and let RRR, rrr be the set and ratio of Proposition 1 constructed in its proof. Then the Metropolis–Hastings acceptance probability αMH\alpha_{MH}αMH​ satisfies

  1. (i) αMH=0\alpha_{MH}=0αMH​=0 μ\muμ-almost everywhere on RcR^cRc;
  2. (ii) μ\muμ-almost everywhere on RRR,
αMH(x,y) r(x,y)=αMH(y,x).\alpha_{MH}(x,y)\,r(x,y)=\alpha_{MH}(y,x).αMH​(x,y)r(x,y)=αMH​(y,x).

These are the two conditions of Theorem 2 of the paper, which together are necessary and sufficient for a Metropolis–Hastings kernel to satisfy detailed balance; so this result is what makes the kernel with acceptance probability αMH\alpha_{MH}αMH​ reversible.

Formalization Note The page's display ends with "=αMH(x,y)=\alpha_{MH}(x,y)=αMH​(x,y)"; condition (ii) and the computation require αMH(y,x)\alpha_{MH}(y,x)αMH​(y,x), since min⁡{r(x,y),1}=αMH(y,x)\min\{r(x,y),1\}=\alpha_{MH}(y,x)min{r(x,y),1}=αMH​(y,x) on RRR. The statement uses the intended right-hand side. Conditions (i) and (ii) are restated here because Theorem 2 belongs to another mission of the series.

Preamble
import Mathlib
import Definitions.Def_TierneyMH_Mixture_canonR
import Definitions.Def_TierneyMH_Mixture_canonRatio
import Definitions.Def_TierneyMH_Mixture_alphaMH

open MeasureTheory ProbabilityTheory
open scoped ENNReal
Formal statement
namespace TierneyMH.Mixture

/-- **`α_MH` satisfies conditions (i) and (ii) of Theorem 2** (Tierney 1998, §2, p. 3).
For `μ(dx, dy) = π(dx) Q(x, dy)` and the set `R = canonR π Q` and ratio `r = canonRatio π Q`
of Proposition 1:
* (i) `α_MH` is `μ`-almost everywhere zero on `Rᶜ`;
* (ii) `α_MH(x, y) r(x, y) = α_MH(y, x)` `μ`-almost everywhere on `R`.

(The page's display ends with "`= α_MH(x, y)`"; the right side required by (ii), and the
value of `min{r(x, y), 1}` on `R`, is `α_MH(y, x)`.) -/
theorem alphaMH_conditions {E : Type*} [MeasurableSpace E]
    (π : Measure E) [IsProbabilityMeasure π] (Q : Kernel E E) [IsMarkovKernel Q] :
    (∀ᵐ p ∂((π ⊗ₘ Q).restrict (canonR π Q)ᶜ), alphaMH π Q p = 0) ∧
      (∀ᵐ p ∂((π ⊗ₘ Q).restrict (canonR π Q)),
        alphaMH π Q p * canonRatio π Q p = alphaMH π Q p.swap) := by sorry

end TierneyMH.Mixture
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. 3, §2 (α_MH satisfies conditions (i) and (ii) of Theorem 2)
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