Finite probability bounds for LWE normal-form sample transformations #
Decision and search LWE in normal form — where the secret is drawn from the error distribution —
relate to their standard uniform-secret variants via Peikert's leading-block transformation,
losing at most the probability that a uniform n × n matrix over ZMod q is singular.
Given n + m samples [A * s + e | A], the sample transformation splits A into a top n × n
block A₁ and a bottom block A₂. When A₁ is invertible it outputs the m samples
[A' * e₁ + e₂ | A'] with A' = -A₂ A₁⁻¹, whose secret is the top error vector e₁; the
uniform secret s cancels. Otherwise it gives up. The loss is the probability that a uniform
n × n matrix is singular.
These theorems are finite probability steps toward Peikert's normal-form hardness reductions
(#3673): they operate on framed bit-word ProbComp callers over uniform secrets and prime
ZMod q, whereas gaussInv? computes the matrix inverse via determinants and adjugates rather
than a polynomial-time algorithm, leaving IsPPTOn reduction certificates open.
Main definitions #
Cslib.Crypto.PrimeLWE.reduceNormalDecision: Finite sample-transformation caller for Decision LWE.Cslib.Crypto.PrimeLWE.reduceNormalSearch: Finite sample-transformation and secret-recovery caller for Search LWE.
Main results #
Cslib.Crypto.PrimeLWE.decisionNormalForm: finite step bounding the error-secret decision-LWE advantage byreduceNormalDecision's uniform-secret advantage plus the singularity probability.Cslib.Crypto.PrimeLWE.searchNormalForm: the corresponding finite step for search LWE.
References #
- O. Regev, On lattices, learning with errors, random linear codes, and cryptography (May 2, 2009 author PDF).
- C. Peikert, A Decade of Lattice Cryptography (February 17, 2016 author PDF),
Section 4.2.1, unnumbered "Normal form" paragraph (printed p. 23), for the error-secret sample
transformation from
n + muniform-secret samples tomerror-secret samples and its singular-block loss.
The inverse of a square matrix over ZMod q, or none when it is singular.
This definition uses determinants and adjugates rather than a native polynomial-time recursive
Gaussian elimination certificate. It supports exact finite-game semantic bounds but does not
currently provide an executable IsPPT reduction bridge.
Correctness of the reductions #
Finite probability step toward normal-form decision LWE ([Pei16], §4.2.1, p. 23).
An adversary's error-secret decision-LWE advantage on m samples is bounded by
reduceNormalDecision's uniform-secret advantage on n + m samples plus the probability that a
uniform n × n matrix over ZMod q is singular; polynomial-time efficiency (IsPPTOn) remains
open (#3673).
Finite probability step toward normal-form search LWE ([Pei16], §4.2.1, p. 23).
An adversary's success probability in searchGameErrorSecret on m samples is bounded by
reduceNormalSearch's success probability in uniform-secret searchGame on n + m samples plus
the probability that a uniform n × n matrix over ZMod q is singular; polynomial-time
efficiency (IsPPTOn) remains open (#3673).