Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 2 — the LCV lemma: an ε-accurate estimator makes posterior draws 2ε-accurate with probability 1 − 2δ

Proved
GMMPostSamp.Main.proposition_2

by Shuze Chen · Nov 11, 2026 · Mathlib 0df444a (Lean v4.33.1)

bayesian-statisticsestimationp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

Let Ω\OmegaΩ be a measurable space and m:Ω×Ω→Rm:\Omega\times\Omega\to\mathbb Rm:Ω×Ω→R a measurable (pseudo)metric (m(ω,ω)=0m(\omega,\omega)=0m(ω,ω)=0, symmetric, triangle inequality), ε>0\varepsilon>0ε>0, δ∈(0,1)\delta\in(0,1)δ∈(0,1) and π\piπ a probability measure on Ω\OmegaΩ. Let ω∼π\omega\sim\piω∼π, let FFF be a (possibly randomized) forward operator Ω→Ω′\Omega\to\Omega'Ω→Ω′ (a Markov kernel) and φ∼F(ω,⋅)\varphi\sim F(\omega,\cdot)φ∼F(ω,⋅). If a (possibly randomized) estimator A:Ω′→ΩA:\Omega'\to\OmegaA:Ω′→Ω satisfies Pr⁡[m(A(φ),ω)>ε]≤δ\Pr[m(A(\varphi),\omega)>\varepsilon]\le\deltaPr[m(A(φ),ω)>ε]≤δ, the probability being over ω\omegaω, FFF and AAA, then a draw ω^\hat\omegaω^ from the posterior π(⋅∣φ)\pi(\cdot\mid\varphi)π(⋅∣φ) satisfies

Pr⁡[m(ω^,ω)>2ε]≤2δ.\Pr\big[m(\hat\omega,\omega)>2\varepsilon\big]\le2\delta.Pr[m(ω^,ω)>2ε]≤2δ.

The posterior is any Markov kernel φ↦π(⋅∣φ)\varphi\mapsto\pi(\cdot\mid\varphi)φ↦π(⋅∣φ) that disintegrates the joint law of (φ,ω)(\varphi,\omega)(φ,ω). The statement is the localization step behind Lemma 5.

Formalization Note. Probabilities are measures of events under the joint laws (π⊗F)⊗A(\pi\otimes F)\otimes A(π⊗F)⊗A and (π⊗F)⊗π(⋅∣⋅)(\pi\otimes F)\otimes\pi(\cdot\mid\cdot)(π⊗F)⊗π(⋅∣⋅).

Differences from the source:

  • generalization: m a metric over Ω × Ω, π ∈ P(Ω) (Ω standard Borel) → m any pseudometric (m(ω, ω) = 0, symmetric, triangle inequality) on an arbitrary measurable space Ω; reason: the proof uses only symmetry and the triangle inequality; every metric on a standard Borel space is such an m (the paper's own uses, the orbit distance of Lemma 5 and the partition Hamming distance of Proposition 6, are pseudometrics on Θ and [k]^n)
  • reading: P[m(·, ·) > ε] → m measurable on Ω × Ω; reason: the events {m > ε} must be measurable for the probabilities to be defined
  • encoding: randomized forward operator F, randomized estimator A, posterior π(· | φ) → Markov kernels F, A and any Markov kernel post with (π ⊗ F) swapped = (F∘π) ⊗ post; reason: a randomized map is a Markov kernel; the posterior is a regular conditional distribution, every version covered
Preamble
import Mathlib

open MeasureTheory ProbabilityTheory
Formal statement
namespace GMMPostSamp.Main

/-- Proposition 2 (p. 11, the LCV lemma): let `m` be a (pseudo)metric on `Ω`, `ω ∼ π`,
`φ ∼ F(ω, ·)` observations through a randomized forward operator, and `A` a randomized
estimator with `P[m(A(φ), ω) > ε] ≤ δ`. Then a draw `ω̂` from the posterior `π(· | φ)` (any
regular version: `post` disintegrates the joint law of `(φ, ω)`) satisfies
`P[m(ω̂, ω) > 2ε] ≤ 2δ`. -/
theorem proposition_2 {Ω Ω' : Type*} [MeasurableSpace Ω] [MeasurableSpace Ω']
    (m : Ω → Ω → ℝ) (hm : Measurable fun p : Ω × Ω => m p.1 p.2)
    (hm_self : ∀ ω, m ω ω = 0) (hm_symm : ∀ ω ω', m ω ω' = m ω' ω)
    (hm_tri : ∀ ω ω' ω'', m ω ω'' ≤ m ω ω' + m ω' ω'')
    (ε δ : ℝ) (hε : 0 < ε) (hδ0 : 0 < δ) (hδ1 : δ < 1)
    (π : Measure Ω) [IsProbabilityMeasure π] (F : Kernel Ω Ω') [IsMarkovKernel F]
    (A : Kernel Ω' Ω) [IsMarkovKernel A]
    (hA : ((π ⊗ₘ F) ⊗ₘ A.comap Prod.snd measurable_snd) {p | ε < m p.2 p.1.1} ≤
      ENNReal.ofReal δ)
    (post : Kernel Ω' Ω) [IsMarkovKernel post]
    (hpost : (π ⊗ₘ F).map Prod.swap = (F ∘ₘ π) ⊗ₘ post) :
    ((π ⊗ₘ F) ⊗ₘ post.comap Prod.snd measurable_snd) {p | 2 * ε < m p.2 p.1.1} ≤
      ENNReal.ofReal (2 * δ) := by sorry

end GMMPostSamp.Main
Source
Kumar, Sarkar, Tian, Zhu, Posterior Sampling in Gaussian Mixture Models Beyond the Clusterability Threshold, STOC 2027 submission (manuscript sha256 ba5079cd…), p. 11, Proposition 2 (Proposition 4 of [KSTZ25])
Human review
  • Endorsed by Community (Bot) · Nov 11, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Nov 11, 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