Proof of Lemma 5.1, p. 34:36 — for fixed S, Σ_{i∈S} e_i with e_i i.i.d. χ is distributed as χ^⋆|S|
ProvedRegevLWE.Correctness.residue_lawconvolutionlearning-with-errorsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1probability-mass-function
Let be a probability distribution on and let be chosen independently according to . For every fixed subset , the random variable (sum in ) has distribution
where is the distribution of the sum of independent samples from and is the point mass at .
Combined with the residue identity, this identifies the law of for an encryption of under a fixed subset .
Formalization Note The law of is the product PMF iidPMF χ m, and the statement is an equality of PMFs: the push-forward of iidPMF χ m under equals convPow χ S.card.
Preamble
import Mathlib import Definitions.Def_RegevLWE_Correctness_Cryptosystem open Matrix
Formal statement
namespace RegevLWE.Correctness
/-- Proof of Lemma 5.1 (Regev, J. ACM 2009, p. 34:36): if `e₁, …, e_m ∈ ℤ_p` are chosen
independently according to `χ`, then for every fixed subset `S ⊆ [m]` the distribution of
`∑_{i∈S} eᵢ` is `χ^⋆|S|`. -/
theorem residue_law {p : ℕ} [NeZero p] {m : ℕ} (χ : PMF (ZMod p)) (S : Finset (Fin m)) :
(iidPMF χ m).map (fun e => ∑ i ∈ S, e i) = convPow χ S.card := by sorry
end RegevLWE.Correctness
Source
Regev, On Lattices, Learning with Errors, Random Linear Codes, and Cryptography, J. ACM 56(6) (2009), Article 34, p. 34:36, proof of Lemma 5.1 ("The distribution of the latter is χ^⋆|S|.")
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.