Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Claim 2.2, p. 34:16 — normal variables with standard deviations α/√(2π), β/√(2π) are within statistical distance 9(β/α − 1)

Proved
RegevLWE.PeriodicGauss.normal_bound

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

gaussianlearning-with-errorsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1statistical-distance

Let 0<α<β≤2α0 < \alpha < \beta \le 2\alpha0<α<β≤2α, and let να(x)=1αe−π(x/α)2\nu_\alpha(x) = \frac1\alpha e^{-\pi(x/\alpha)^2}να​(x)=α1​e−π(x/α)2 and νβ(x)=1βe−π(x/β)2\nu_\beta(x) = \frac1\beta e^{-\pi(x/\beta)^2}νβ​(x)=β1​e−π(x/β)2 be the densities on R\mathbb{R}R of normal variables with mean 000 and standard deviations α/2π\alpha/\sqrt{2\pi}α/2π​ and β/2π\beta/\sqrt{2\pi}β/2π​. Then

Δ(να,νβ)=∫R∣να(x)−νβ(x)∣ dx≤9(βα−1).\Delta(\nu_\alpha, \nu_\beta) = \int_{\mathbb{R}} |\nu_\alpha(x) - \nu_\beta(x)|\,dx \le 9\Bigl(\frac{\beta}{\alpha} - 1\Bigr).Δ(να​,νβ​)=∫R​∣να​(x)−νβ​(x)∣dx≤9(αβ​−1).

This is the statement the proof of Claim 2.2 establishes on the real line; Claim 2.2 follows by reducing modulo 111.

Formalization Note Δ\DeltaΔ is the lower Lebesgue integral statDist (no factor 12\tfrac1221​), valued in [0,∞][0,\infty][0,∞]; the bound is compared through ENNReal.ofReal.

Preamble
import Mathlib
import Definitions.Def_RegevLWE_PeriodicGauss_Gaussian

open MeasureTheory
Formal statement
namespace RegevLWE.PeriodicGauss

/-- Proof of Claim 2.2, p. 34:16, first sentence: for `0 < α < β ≤ 2α`, the statistical distance
between the normal densities with standard deviations `α/√(2π)` and `β/√(2π)` is at most
`9 (β/α - 1)`. -/
theorem normal_bound (α β : ℝ) (hα : 0 < α) (hαβ : α < β) (hβ : β ≤ 2 * α) :
    statDist (nu α) (nu β) ≤ ENNReal.ofReal (9 * (β / α - 1)) := by sorry

end RegevLWE.PeriodicGauss
Source
Regev, On Lattices, Learning with Errors, Random Linear Codes, and Cryptography, J. ACM 56(6) (2009), Article 34, p. 34:16, proof of Claim 2.2, first sentence
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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