Fact 3.1 — the collision probability of i.i.d. draws is minimized by the uniform law
ProvedSmallSecretLWE.Classical.fact_3_1birthday-paradoxp2o-gran-per-chapterp2o-plan-paperp2o-v1probability
Let be a finite set, a distribution on and . Then
where a collision is a pair with . It is the birthday bound behind Proposition 4.4.
Differences from the source:
- reading: 'and ' → ; reason: obvious typo: the statement uses and never
- encoding: finite set , distribution , probability of a collision →
[Fintype S],D : PMF S; sums overx : Fin L → Sof (resp. ) over non-injectivex; reason: same quantities
Preamble
import Mathlib open scoped Classical
Formal statement
namespace SmallSecretLWE.Classical
/-- Fact 3.1. For every finite set `S`, distribution `D` on `S` and `L ∈ ℕ`, the probability of a
collision among `L` i.i.d. draws from `D` is at least the probability of a collision among `L`
i.i.d. uniform draws from `S`, which equals `1 − Π_{j=1}^{L−1} (1 − j/|S|)`. -/
theorem fact_3_1 {S : Type*} [Fintype S] (D : PMF S) (L : ℕ) :
(∑ x : Fin L → S, if ¬ Function.Injective x then ((1 : ℝ) / Fintype.card S) ^ L else 0) ≤
(∑ x : Fin L → S, if ¬ Function.Injective x then ∏ i, (D (x i)).toReal else 0) ∧
(∑ x : Fin L → S, if ¬ Function.Injective x then ((1 : ℝ) / Fintype.card S) ^ L else 0) =
1 - ∏ j ∈ Finset.Icc 1 (L - 1), (1 - (j : ℝ) / Fintype.card S) := by sorry
end SmallSecretLWE.Classical
Source
Agrawal, Bagchi, Kumar, Algorithms for Sparse LWE and LPN with Small Secrets, STOC 2027 submission (manuscript sha256 8d93a268…), p. 11, Fact 3.1
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.