Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§1B, proof of Proposition 1 — variance as a pairwise sum

Proved
DiaconisStroock.Poincare.var_eq_half_sum_sq

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1poincare-inequalityprobabilityvariance

Let π\piπ be a probability distribution on a finite set XXX and ϕ:X→R\phi:X\to\mathbb Rϕ:X→R. Its variance equals half the average squared difference between two independent draws from π\piπ:

Var⁡π(ϕ)=12∑x,y∈X(ϕ(x)−ϕ(y))2π(x)π(y).\operatorname{Var}_\pi(\phi)=\frac12\sum_{x,y\in X}(\phi(x)-\phi(y))^2\pi(x)\pi(y).Varπ​(ϕ)=21​x,y∈X∑​(ϕ(x)−ϕ(y))2π(x)π(y).

This is the opening identity in the proof of Proposition 1 and connects the variance to ordered pairs of states.

Formalization Note No transition matrix is needed for this identity; only the probability distribution is assumed.

Preamble
import Mathlib
import Definitions.Def_mm_lower
Formal statement
namespace DiaconisStroock.Poincare

open MarkovMixing
open scoped BigOperators

/-- The first equality in the proof of Proposition 1, p. 38. -/
theorem var_eq_half_sum_sq {V : Type*} [Fintype V] [DecidableEq V]
    (π : V → ℝ) (hπ : IsDist π) (φ : V → ℝ) :
    distVar π φ = 2⁻¹ * ∑ x, ∑ y, (φ x - φ y) ^ 2 * (π x * π y) := by sorry

end DiaconisStroock.Poincare
Source
Diaconis and Stroock, Geometric bounds for eigenvalues of Markov chains, Ann. Appl. Probab. 1 (1991), p. 38, §1B, proof of Proposition 1, first display, https://doi.org/10.1214/aoap/1177005980
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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