Agreement test: decision advantage
ProvedCityLWE.agreement_boundcryptographylattice-cryptographylearning-with-errors
Let , let be natural numbers with , let be any law on , and let be a search adversary with coins. Write , let be the probability that one activation of outputs the exact encoding of a uniform secret from LWE samples with errors , and let and be the acceptance probabilities of the two-block masked agreement test (with fair coins) on LWE samples with a common uniform secret, and on uniform samples. Then
with read as when .
This is the probabilistic heart of the reduction from decision LWE to search LWE for an arbitrary error law: no polynomial-time requirement is involved, and the statement holds for every step function of the solver.
Preamble
import Definitions.Def_CityLWE_AgreementTest open QAlgorithms.Complexity PPSLattice
Formal statement
namespace CityLWE
theorem agreement_bound (q n m L : ℕ) (hq : 2 ≤ q) (hL : q ^ n * 2 ^ n ≤ 2 ^ L)
(χ : PMF (ZMod q)) (S : RestrictedDec.Adversary) :
(q : ℝ) ^ n / ((q : ℝ) ^ n - 1) *
(searchProb q n m n χ S - 1 / (q : ℝ) ^ n) ^ 2 - 1 / (2 : ℝ) ^ n ≤
|agreeAccept q n m (S.p.eval n) L S.f ((joint q n (m + m) χ).map Prod.snd) -
agreeAccept q n m (S.p.eval n) L S.f (uniformTranscript q n (m + m))| := by sorry
end CityLWESource
Oded Regev, On Lattices, Learning with Errors, Random Linear Codes, and Cryptography, JACM 56(6), 2009, Section 4. https://cims.nyu.edu/~regev/papers/qcrypto.pdf Child of CityLWE.agreement_test_advantage (mission Cryptology City I).