Documentation

CslibFrontier.Foundations.Probability.Gaussian.MomentsDiscrete

Discrete Gaussian moments on lattices #

This module establishes the first and second moment bounds for discrete Gaussian distributions on lattices and the corresponding MemLp 2 and Bochner integral bridges. The general Hilbert-space second-moment bound for linear combinations of independent random vectors ([MR07a], Lemma 2.11) lives in CslibFrontier.Foundations.Probability.IndependentSumNorm.

Main results #

References #

The moment bounds are provided in both dual-mass form gaussianMass D (2 / s) 0 - 1 ≤ ε (which also covers ε = 0 in dimension zero) and smoothing-parameter form 2 * smoothingParameter L ε ≤ s (for 0 < ε < 1).

theorem ZLattice.summable_discreteGaussian_mul_inner_sub {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] (L : Submodule ℤ E) [DiscreteTopology ↥L] (s : ℝ) (hs : 0 < s) (c u : E) :
Summable fun (x : ↥L) => ((discreteGaussian L s hs c) x).toReal * inner ℝ (↑x - c) u

Directional first moments of a discrete Gaussian are summable for every discrete ℤ-submodule L and positive width s.

theorem ZLattice.summable_discreteGaussian_mul_inner_sub_sq {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] (L : Submodule ℤ E) [DiscreteTopology ↥L] (s : ℝ) (hs : 0 < s) (c u : E) :
Summable fun (x : ↥L) => ((discreteGaussian L s hs c) x).toReal * inner ℝ (↑x - c) u ^ 2

Directional second moments of a discrete Gaussian are summable for every discrete ℤ-submodule L and positive width s.

theorem ZLattice.memLp_sub_discreteGaussian {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] (L : Submodule ℤ E) [DiscreteTopology ↥L] (s : ℝ) (hs : 0 < s) (c : E) :
MeasureTheory.MemLp (fun (x : ↥L) => ↑x - c) 2 (discreteGaussian L s hs c).toMeasure

The centered displacement x ↦ (x : E) - c is square-integrable (MemLp 2) under (discreteGaussian L s hs c).toMeasure for every discrete ℤ-submodule L.

theorem ZLattice.integral_sub_discreteGaussian_eq_tsum {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] (L : Submodule ℤ E) [DiscreteTopology ↥L] (s : ℝ) (hs : 0 < s) (c : E) :
∫ (x : ↥L), ↑x - c ∂(discreteGaussian L s hs c).toMeasure = ∑' (x : ↥L), ((discreteGaussian L s hs c) x).toReal • (↑x - c)

The Bochner expectation of (x : E) - c under (discreteGaussian L s hs c).toMeasure equals the probability-weighted tsum.

theorem ZLattice.integral_norm_sub_sq_discreteGaussian_eq_tsum {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] (L : Submodule ℤ E) [DiscreteTopology ↥L] (s : ℝ) (hs : 0 < s) (c : E) :
∫ (x : ↥L), ‖↑x - c‖ ^ 2 ∂(discreteGaussian L s hs c).toMeasure = ∑' (x : ↥L), ((discreteGaussian L s hs c) x).toReal * ‖↑x - c‖ ^ 2

The Bochner expectation of ‖(x : E) - c‖ ^ 2 under (discreteGaussian L s hs c).toMeasure equals the probability-weighted tsum.

theorem ZLattice.abs_tsum_discreteGaussian_mul_inner_sub_le {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] (L : Submodule ℤ E) [DiscreteTopology ↥L] [IsZLattice ℝ L] (s : ℝ) (hs : 0 < s) (c u : E) (hu : ‖u‖ = 1) (ε : ℝ) (hε : ε < 1) (hdual : gaussianMass (LinearMap.BilinForm.dualSubmodule (innerₗ E) L) (2 / s) 0 - 1 ≤ ε) :
|∑' (x : ↥L), ((discreteGaussian L s hs c) x).toReal * inner ℝ (↑x - c) u| ≤ ε / (1 - ε) * s

Dual-mass step toward [MR07a], Lemma 4.2 (first moment, pp. 13–14 of the December 27, 2005 author version), stated directly under ρ_{2/s}(L* \ {0}) ≤ ε < 1 rather than the 2 * η_ε(L) ≤ s endpoint: for any full-rank discrete lattice L, width s > 0, center c, unit vector u, and ε < 1 with ρ_{2/s}(L* \ {0}) ≤ ε (which automatically implies 0 ≤ ε), the directional expectation |𝔼_{x ~ D_{L,s,c}}[⟪x - c, u⟫]| is at most ε / (1 - ε) * s. Holds in all dimensions including 0.

theorem ZLattice.abs_tsum_discreteGaussian_mul_inner_sub_sq_sub_le {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] (L : Submodule ℤ E) [DiscreteTopology ↥L] [IsZLattice ℝ L] (s : ℝ) (hs : 0 < s) (c u : E) (hu : ‖u‖ = 1) (ε : ℝ) (hε : ε < 1) (hdual : gaussianMass (LinearMap.BilinForm.dualSubmodule (innerₗ E) L) (2 / s) 0 - 1 ≤ ε) :
|∑' (x : ↥L), ((discreteGaussian L s hs c) x).toReal * inner ℝ (↑x - c) u ^ 2 - s ^ 2 / (2 * Real.pi)| ≤ ε / (1 - ε) * s ^ 2

Dual-mass step toward [MR07a], Lemma 4.2 (second moment, pp. 13–14 of the December 27, 2005 author version), stated directly under ρ_{2/s}(L* \ {0}) ≤ ε < 1 rather than the 2 * η_ε(L) ≤ s endpoint: for any full-rank discrete lattice L, width s > 0, center c, unit vector u, and ε < 1 with ρ_{2/s}(L* \ {0}) ≤ ε (which automatically implies 0 ≤ ε), |𝔼_{x ~ D_{L,s,c}}[⟪x - c, u⟫²] - s² / (2π)| ≤ ε / (1 - ε) * s². Holds in all dimensions including 0.

theorem ZLattice.norm_tsum_discreteGaussian_smul_sub_sq_le {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] (L : Submodule ℤ E) [DiscreteTopology ↥L] [IsZLattice ℝ L] (s : ℝ) (hs : 0 < s) (c : E) (ε : ℝ) (hε : ε < 1) (hdual : gaussianMass (LinearMap.BilinForm.dualSubmodule (innerₗ E) L) (2 / s) 0 - 1 ≤ ε) :
‖∑' (x : ↥L), ((discreteGaussian L s hs c) x).toReal • (↑x - c)‖ ^ 2 ≤ (ε / (1 - ε)) ^ 2 * s ^ 2 * ↑(Module.finrank ℝ E)

Dual-mass step toward [MR07a], Lemma 4.3 (squared norm of mean, p. 14 of the December 27, 2005 author version), stated directly under ρ_{2/s}(L* \ {0}) ≤ ε < 1 rather than the 2 * η_ε(L) ≤ s endpoint: ‖𝔼_{x ~ D_{L,s,c}}[x - c]‖² ≤ (ε / (1 - ε))² * s² * finrank ℝ E. Holds in all dimensions including 0.

theorem ZLattice.tsum_discreteGaussian_mul_norm_sub_sq_le {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] (L : Submodule ℤ E) [DiscreteTopology ↥L] [IsZLattice ℝ L] (s : ℝ) (hs : 0 < s) (c : E) (ε : ℝ) (hε : ε < 1) (hdual : gaussianMass (LinearMap.BilinForm.dualSubmodule (innerₗ E) L) (2 / s) 0 - 1 ≤ ε) :
∑' (x : ↥L), ((discreteGaussian L s hs c) x).toReal * ‖↑x - c‖ ^ 2 ≤ (1 / (2 * Real.pi) + ε / (1 - ε)) * s ^ 2 * ↑(Module.finrank ℝ E)

Dual-mass step toward [MR07a], Lemma 4.3 (expected squared norm, p. 14 of the December 27, 2005 author version), stated directly under ρ_{2/s}(L* \ {0}) ≤ ε < 1 rather than the 2 * η_ε(L) ≤ s endpoint: 𝔼_{x ~ D_{L,s,c}}[‖x - c‖²] ≤ (1 / (2π) + ε / (1 - ε)) * s² * finrank ℝ E. Holds in all dimensions including 0.

theorem ZLattice.abs_tsum_discreteGaussian_mul_inner_sub_le_of_smoothingParameter_le {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] (L : Submodule ℤ E) [DiscreteTopology ↥L] [IsZLattice ℝ L] (s : ℝ) (hs : 0 < s) (c u : E) (hu : ‖u‖ = 1) (ε : ℝ) (hε0 : 0 < ε) (hε : ε < 1) (hη : 2 * smoothingParameter L ε ≤ s) :
|∑' (x : ↥L), ((discreteGaussian L s hs c) x).toReal * inner ℝ (↑x - c) u| ≤ ε / (1 - ε) * s

Micciancio–Regev Lemma 4.2 (first directional moment, [MR07a], pp. 13–14 of the December 27, 2005 author version): for any full-rank discrete lattice L, width s > 0, center c, unit vector u, and 0 < ε < 1 with 2 * η_ε(L) ≤ s, |𝔼_{x ~ D_{L,s,c}}[⟪x - c, u⟫]| ≤ ε / (1 - ε) * s. Holds in all dimensions including 0.

theorem ZLattice.abs_tsum_discreteGaussian_mul_inner_sub_sq_sub_le_of_smoothingParameter_le {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] (L : Submodule ℤ E) [DiscreteTopology ↥L] [IsZLattice ℝ L] (s : ℝ) (hs : 0 < s) (c u : E) (hu : ‖u‖ = 1) (ε : ℝ) (hε0 : 0 < ε) (hε : ε < 1) (hη : 2 * smoothingParameter L ε ≤ s) :
|∑' (x : ↥L), ((discreteGaussian L s hs c) x).toReal * inner ℝ (↑x - c) u ^ 2 - s ^ 2 / (2 * Real.pi)| ≤ ε / (1 - ε) * s ^ 2

Micciancio–Regev Lemma 4.2 (second directional moment, [MR07a], pp. 13–14 of the December 27, 2005 author version): for any full-rank discrete lattice L, width s > 0, center c, unit vector u, and 0 < ε < 1 with 2 * η_ε(L) ≤ s, |𝔼_{x ~ D_{L,s,c}}[⟪x - c, u⟫²] - s² / (2π)| ≤ ε / (1 - ε) * s². Holds in all dimensions including 0.

theorem ZLattice.norm_tsum_discreteGaussian_smul_sub_sq_le_of_smoothingParameter_le {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] (L : Submodule ℤ E) [DiscreteTopology ↥L] [IsZLattice ℝ L] (s : ℝ) (hs : 0 < s) (c : E) (ε : ℝ) (hε0 : 0 < ε) (hε : ε < 1) (hη : 2 * smoothingParameter L ε ≤ s) :
‖∑' (x : ↥L), ((discreteGaussian L s hs c) x).toReal • (↑x - c)‖ ^ 2 ≤ (ε / (1 - ε)) ^ 2 * s ^ 2 * ↑(Module.finrank ℝ E)

Micciancio–Regev Lemma 4.3 (squared norm of mean, [MR07a], p. 14 of the December 27, 2005 author version): for any full-rank discrete lattice L, width s > 0, center c, and 0 < ε < 1 with 2 * η_ε(L) ≤ s, ‖𝔼_{x ~ D_{L,s,c}}[x - c]‖² ≤ (ε / (1 - ε))² * s² * finrank ℝ E. Holds in all dimensions including 0.

theorem ZLattice.tsum_discreteGaussian_mul_norm_sub_sq_le_of_smoothingParameter_le {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] (L : Submodule ℤ E) [DiscreteTopology ↥L] [IsZLattice ℝ L] (s : ℝ) (hs : 0 < s) (c : E) (ε : ℝ) (hε0 : 0 < ε) (hε : ε < 1) (hη : 2 * smoothingParameter L ε ≤ s) :
∑' (x : ↥L), ((discreteGaussian L s hs c) x).toReal * ‖↑x - c‖ ^ 2 ≤ (1 / (2 * Real.pi) + ε / (1 - ε)) * s ^ 2 * ↑(Module.finrank ℝ E)

Micciancio–Regev Lemma 4.3 (expected squared norm, [MR07a], p. 14 of the December 27, 2005 author version): for any full-rank discrete lattice L, width s > 0, center c, and 0 < ε < 1 with 2 * η_ε(L) ≤ s, 𝔼_{x ~ D_{L,s,c}}[‖x - c‖²] ≤ (1 / (2π) + ε / (1 - ε)) * s² * finrank ℝ E. Holds in all dimensions including 0.