Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Pp. 34:15–34:16 — reducing modulo 1 cannot increase the statistical distance

Proved
RegevLWE.PeriodicGauss.periodization_le

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

learning-with-errorsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1periodizationstatistical-distance

Let φ1,φ2:R→R\varphi_1, \varphi_2 : \mathbb{R} \to \mathbb{R}φ1​,φ2​:R→R be Lebesgue integrable, and let φ~i(r):=∑k∈Zφi(r−k)\tilde\varphi_i(r) := \sum_{k \in \mathbb{Z}} \varphi_i(r - k)φ~​i​(r):=∑k∈Z​φi​(r−k) be their periodizations, viewed as functions on T=[0,1)\mathbb{T} = [0,1)T=[0,1). Then

∫01∣φ~1(r)−φ~2(r)∣ dr≤∫R∣φ1(x)−φ2(x)∣ dx.\int_0^1 \bigl|\tilde\varphi_1(r) - \tilde\varphi_2(r)\bigr|\,dr \le \int_{\mathbb{R}} |\varphi_1(x) - \varphi_2(x)|\,dx .∫01​​φ~​1​(r)−φ~​2​(r)​dr≤∫R​∣φ1​(x)−φ2​(x)∣dx.

When φ1,φ2\varphi_1, \varphi_2φ1​,φ2​ are the densities of random variables X,YX, YX,Y, the periodizations are the densities of X mod 1X \bmod 1Xmod1 and Y mod 1Y \bmod 1Ymod1, and the inequality is the instance Δ(f(X),f(Y))≤Δ(X,Y)\Delta(f(X), f(Y)) \le \Delta(X, Y)Δ(f(X),f(Y))≤Δ(X,Y), f=(⋅ mod 1)f = (\cdot \bmod 1)f=(⋅mod1), of the fact (p. 34:15) that applying a function cannot increase the statistical distance.

Applied to να,νβ\nu_\alpha, \nu_\betaνα​,νβ​ it transfers the normal-variable bound to Ψα,Ψβ\Psi_\alpha, \Psi_\betaΨα​,Ψβ​.

Formalization Note Only the "modulo 1" instance used in the proof of Claim 2.2 is stated, not the general data-processing inequality for arbitrary (randomized) fff. Integrability is assumed (the Gaussians satisfy it); it ensures the series converge absolutely for almost every rrr, so the real tsum has its true value almost everywhere. Both sides are lower Lebesgue integrals valued in [0,∞][0,\infty][0,∞], with no factor 12\tfrac1221​.

Preamble
import Mathlib
import Definitions.Def_RegevLWE_PeriodicGauss_Gaussian

open MeasureTheory
Formal statement
namespace RegevLWE.PeriodicGauss

/-- Pp. 34:15–34:16: applying the function "reduce modulo 1" cannot increase the statistical
distance. For integrable `φ₁, φ₂ : ℝ → ℝ`, the periodizations `r ↦ ∑_{k ∈ ℤ} φᵢ(r - k)` on
`𝕋 = [0, 1)` are at statistical distance at most `Δ(φ₁, φ₂)`. -/
theorem periodization_le (φ₁ φ₂ : ℝ → ℝ) (h₁ : Integrable φ₁) (h₂ : Integrable φ₂) :
    statDistT (fun r => ∑' k : ℤ, φ₁ (r - k)) (fun r => ∑' k : ℤ, φ₂ (r - k)) ≤
      statDist φ₁ φ₂ := 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:15 (Δ(f(X), f(Y)) ≤ Δ(X, Y)) and p. 34:16, proof of Claim 2.2, second 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