Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.15 — for r ≥ √2·η_ε(L), ε ≤ 1/10, a sample of D_{L,r} avoids any subspace of dimension ≤ n − 1 with probability ≥ 1/10

Proved
RegevLWE.Hyperplane.lemma_3_15

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

discrete-gaussianlatticesp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1smoothing-parameter

Let n≥1n \ge 1n≥1 and let L⊂RnL \subset \mathbb{R}^nL⊂Rn be an nnn-dimensional lattice. Let 0<ϵ≤1100 < \epsilon \le \tfrac1{10}0<ϵ≤101​ and let r>0r > 0r>0 satisfy

r≥2 ηϵ(L).r \ge \sqrt2\,\eta_\epsilon(L).r≥2​ηϵ​(L).

Then for every linear subspace H⊆RnH \subseteq \mathbb{R}^nH⊆Rn of dimension at most n−1n - 1n−1, a sample xxx from the discrete Gaussian DL,rD_{L,r}DL,r​ lies outside HHH with probability at least 110\tfrac1{10}101​:

Pr⁡x∼DL,r[x∉H]=∑x∈L, x∉Hρr(x)ρr(L)  ≥  110.\Pr_{x \sim D_{L,r}}[x \notin H] = \sum_{x \in L,\ x \notin H} \frac{\rho_r(x)}{\rho_r(L)} \;\ge\; \frac{1}{10}.x∼DL,r​Pr​[x∈/H]=x∈L, x∈/H∑​ρr​(L)ρr​(x)​≥101​.

Above 2\sqrt22​ times the smoothing parameter, the discrete Gaussian is not concentrated on any proper subspace. In the paper this is the step that turns a sampler for DL,rD_{L,r}DL,r​ into a solver for the shortest independent vectors problem: n2n^2n2 independent samples contain nnn linearly independent vectors except with exponentially small probability (Corollary 3.16). The result first appeared, with a proof sketch, in the preliminary version of Micciancio and Regev's work on worst-case to average-case reductions via Gaussian measures.

Formalization Note The hypothesis n≥1n \ge 1n≥1 is added: for n=0n = 0n=0 the subtraction n−1n - 1n−1 is 000, the only subspace of dimension ≤0\le 0≤0 is {0}=R0\{0\} = \mathbb{R}^0{0}=R0, and the probability is 000. The paper's lattice is nnn-dimensional with n≥1n \ge 1n≥1. ϵ>0\epsilon > 0ϵ>0 is added because Definition 2.10 defines ηϵ\eta_\epsilonηϵ​ for ϵ>0\epsilon > 0ϵ>0 only (for ϵ≤0\epsilon \le 0ϵ≤0 the Lean infimum is over the empty set, equals 000, and the hypothesis would be vacuous). r>0r > 0r>0 is the reading of a Gaussian width (for n≥1n \ge 1n≥1, ϵ>0\epsilon > 0ϵ>0 it already follows from r≥2 ηϵ(L)>0r \ge \sqrt2\,\eta_\epsilon(L) > 0r≥2​ηϵ​(L)>0). The probability is the real sum of the masses DL,r(x)D_{L,r}(x)DL,r​(x) over the lattice points outside HHH; Gaussian sums over a lattice are summable, so this is the true probability.

Preamble
import Mathlib
import Definitions.Def_RegevLWE_Hyperplane_DiscreteGaussian
Formal statement
namespace RegevLWE.Hyperplane

theorem lemma_3_15 {n : ℕ} (hn : 0 < n) (L : Submodule ℤ (EuclideanSpace ℝ (Fin n)))
    [DiscreteTopology L] [IsZLattice ℝ L] {ε r : ℝ} (hε : 0 < ε) (hε10 : ε ≤ 1 / 10)
    (hr : 0 < r) (h : Real.sqrt 2 * RegevLWE.GaussConv.smoothingParam L ε ≤ r)
    (H : Submodule ℝ (EuclideanSpace ℝ (Fin n))) (hH : Module.finrank ℝ H ≤ n - 1) :
    (1 / 10 : ℝ) ≤
      ∑' x : {x : L // (x : EuclideanSpace ℝ (Fin n)) ∉ H}, discreteGaussian L r x := by sorry

end RegevLWE.Hyperplane
Source
Regev, On Lattices, Learning with Errors, Random Linear Codes, and Cryptography, J. ACM 56(6) (2009), Article 34, p. 34:31, Lemma 3.15
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