In EC-based proof systems (Plonk, IPA), almost everything rests on one problem—Discrete Logarithm (plus algebraic/pairing variants like q-SDH for KZG):
Given G,H∈G, find x∈Fp such that H=xG.
Equivalently, for a Pedersen commitment C=∑i=1mxiGi, finding two distinct openings x=x′ gives a nontrivial relation ∑(xi−xi′)Gi=0 (break DLog).
In lattice cryptography, two twin average-case problems do the heavy lifting:
SIS (Short Integer Solution): Gives collision-resistant hashing and binding commitments (the lattice analogue of Pedersen binding).
LWE (Learning With Errors): Gives pseudorandomness, encryption, and hiding commitments (the lattice analogue of DDH / ElGamal masking).
Remarkably, both SIS and LWE are provably as hard on average (for random matrices!) as worst-case geometric lattice problems like GapSVPγ and SIVPγ. Let's see how.
2. Worst-Case Geometric Problems
Let γ=γ(n)≥1 be an approximation factor (in crypto, usually polynomial in n, e.g., γ=O~(n) or n2).
SVPγ (Approximate Shortest Vector Problem):
Given a basis B of an n-dimensional lattice L, find a nonzero v∈L∖{0} with ∥v∥2≤γ⋅λ1(L).
GapSVPγ (Decision SVP):
Given a basis B and a threshold d>0, decide whether λ1(L)≤d (YES) or λ1(L)>γ⋅d (NO), promised one holds.
SIVPγ (Shortest Independent Vectors Problem):
Given a basis B, find n linearly independent lattice vectors v1,…,vn∈L all of norm ≤γ⋅λn(L).
CVPγ / BDDα (Closest Vector / Bounded Distance Decoding):
Given B and target t∈Rn, find v∈L close to t.
In Bounded Distance Decoding (BDDα), we are promised that dist(t,L)≤α⋅λ1(L) (for α<1/2, the closest vector is unique!).
Complexity note: Exact SVP (γ=1) is NP-hard under randomized reductions; for γ=poly(n), GapSVPγ and SIVPγ are not known to be NP-hard (in fact GapSVPn∈NP∩coNP), yet the fastest known classical and quantum algorithms still take 2Ω(n) time!
3. q-ary Lattices: Where Algebra Meets Geometry
Every lattice in real-world proof systems is a q-ary lattice—an integer lattice defined by modular arithmetic modulo an integer q.
Given a matrix A∈Zqn×m (usually m>n, e.g., m≈2nlogq):
3.1 The Kernel Lattice Λq⊥(A) (SIS Lattice)
Λq⊥(A)={x∈Zm:Ax≡0(modq)}.
Let's check that this is indeed a full-rank lattice in Rm:
It is closed under addition and integer scaling (so it's a discrete subgroup of Zm).
It contains qZm (since A(qei)≡0(modq)), so it has full rank m!
What is its determinant? If A has rank n mod q, then the map x↦Axmodq is a surjective homomorphism Zm→Zqn with kernel Λq⊥(A). By the First Isomorphism Theorem from your algebra course:
Zm/Λq⊥(A)≅Zqn⟹det(Λq⊥(A))=∣Zm/Λq⊥(A)∣=qn!
Let's apply Minkowski's Theorem to Λq⊥(A):
λ1(∞)(Λq⊥(A))≤det(Λq⊥(A))1/m=qn/m,λ1(Λq⊥(A))≲2πem⋅qn/m.
Look at that exponent n/m! If m=2n, then qn/m=q. If m>nlog2q, then qn/m<2, so a nonzero {0,1}-vector or {−1,0,1}-vector is guaranteed to exist in Λq⊥(A) by pigeonhole!
3.2 The Image Lattice Λq(A) (LWE Lattice)
Λq(A)={y∈Zm:∃s∈Zqn such that y≡ATs(modq)}.
Wait—look at the inner product of any x∈Λq⊥(A) and y=ATs+qk∈Λq(A):
⟨x,y⟩=xT(ATs+qk)=(Ax)Ts+q⟨x,k⟩≡0(modq).
Therefore, after scaling by 1/q, these two lattices are exact duals of each other!(Λq⊥(A))∗=q1Λq(A),det(Λq(A))=qm−n.
Remember this duality! Every theorem about SIS in Λq⊥(A) has a mirror image about LWE in Λq(A).
4. SIS: Short Integer Solution
4.1 Definition (SISn,m,q,β)
Given a uniformly random matrix A←Zqn×m, find a nonzero integer vector x∈Zm∖{0} such that:
Ax≡0(modq), and
∥x∥2≤β (or ∥x∥∞≤β).
Wait: why do we need condition (2) (∥x∥≤β)?
Because without a norm bound, solving Ax≡0(modq) is just Gaussian elimination over Zq—trivial in O(m3) time!
Adding the shortness constraint ∥x∥≤β turns trivial linear algebra into SVP in the q-ary lattice Λq⊥(A).
For SIS to be non-trivial (i.e., a solution actually exists), we need β to be at least Minkowski's bound mqn/m (or e.g., m≥nlog2q with β≥m). At the same time, we need β≪q, otherwise a trivial solution like (q,0,…,0)T works!
Define the function fA:{0,1}m→Zqn (or on short vectors ∥x∥≤B) by:
fA(x)=Axmodq.
Suppose an adversary finds a collision x=x′ (both with ∥x∥2,∥x′∥2≤B) such that Ax≡Ax′(modq).
Then z=x−x′=0 satisfies:
Az≡0(modq)and∥z∥2≤∥x∥2+∥x′∥2≤2B.
So finding a collision in fAsolves SISn,m,q,2B!
Pause and compare with IPA / Pedersen commitments:
In IPA, C=∑i=1mxiGi is binding for anyx∈Fpm.
In lattices, C=Axmodq is ONLY binding for short vectors∥x∥≤B. If you allow an adversary to open C with an unbounded vector x′∈Zqm, they can easily solve Ax′=Cmodq using Gaussian elimination!
This single fact drives almost the entire architecture of lattice proof systems:Every time a prover opens a commitment or folds a witness, they must prove (directly or indirectly) that their vectors remain short!
4.3 Worst-Case to Average-Case Hardness (Ajtai 1996)
In 1996, Miklós Ajtai proved a landmark theorem: solving SISn,m,q,β for a random matrix A is at least as hard as solving SIVPγ (and GapSVPγ) on everyn-dimensional lattice (worst-case!), for γ=O~(βn) (assuming q≥β⋅poly(n)).
No comparable worst-case-to-average-case reduction is known for RSA or Elliptic Curves!
5. LWE: Learning With Errors
5.1 Definition (LWEn,m,q,χ)
Let n be the dimension, m the number of samples, q the modulus, and χ an error distribution over Z concentrated on small values (e.g., discrete Gaussian of width σ, or uniform on {−η,…,η} with η≪q).
Sample a secret s←Zqn uniformly, a public matrix A←Zqm×n uniformly, and a short error vector e←χm.
Output the pair:
(A,b=As+emodq).
There are two flavors of LWE:
Search-LWE: Given (A,b), recover s.
Decision-LWE: Distinguish (A,As+emodq) from (A,u) where u←Zqm is uniformly random.
Notice again: if e=0, Gaussian elimination solves As=bmodq instantly! Adding tiny noise e destroys Gaussian elimination (linear combinations of noisy equations amplify the noise until it wraps around modq and destroys all signal).
Geometrically, look at b=As+e(modq):
The vector As(modq) is a point in the q-ary image lattice Λq(AT), and e is a short perturbation of norm ∥e∥≪λ1(Λq(AT)).
So Search-LWE is literally BDD (Bounded Distance Decoding) on the random q-ary lattice Λq(AT)!
5.2 Hermite Normal Form (HNF) LWE: Short Secrets
In proof systems (like BDLOP in Module 04), we almost always sample short secretss←χn rather than uniform s←Zqn! Why is that still secure?
Lemma (Applebaum–Cash–Peikert–Sahai): Decision-LWE with s←χn is as hard as standard Decision-LWE with uniform s←Zqn (at the cost of n extra samples).
Proof (clean 4-line linear algebra!):
Given m+n standard LWE samples (A1,b1=A1sunif+e1) (with A1∈Zqn×n) and (A2,b2=A2sunif+e2) (with A2∈Zqm×n):
With high probability (or after column swaps), A1 is invertible mod q. Eliminate sunif:
sunif=A1−1(b1−e1)(modq).
Substitute into the second block:
b2−A2A1−1b1≡(−A2A1−1)e1+e2(modq)!
Define A′=−A2A1−1modq (uniformly random!) and s′=e1←χn (short!).
If b1,b2 were uniform, so is b2−A2A1−1b1. Thus short-secret LWE is just standard LWE in Hermite Normal Form[In∣A′T]! ■
This HNF trick is why in Module 04 you will see commitments of the form:
t=A′r+eor[IA′]r(modq)
where the entire randomness vector r is short, and yet t is computationally indistinguishable from uniform in Zqm!
5.3 Regev's Reduction & Search-to-Decision
Regev (2005) proved that Search-LWE (even for quantum algorithms!) is at least as hard as quantum worst-case GapSVPγ and SIVPγ for γ=O~(nq/σ) (and Peikert 2009 gave a classical reduction for GapSVP when q≥2n/2). And for prime q=poly(n), Search-LWE and Decision-LWE are polynomial-time equivalent.
6. Side-by-Side Summary: SIS vs. LWE
Property
SIS (SISn,m,q,β)
LWE (LWEn,m,q,χ)
Equation
Find short x=0: Ax≡0(modq)
Distinguish (A,As+e) from (A,u)
Dimensions (A)
A∈Zqn×m (m>n, fat matrix)
A∈Zqm×n (m>n, tall matrix)
Underlying lattice
Λq⊥(A) (det=qn)
Λq(AT) (det=qm−n), dual to Λq⊥
Lattice problem
Approximate SVP in Λq⊥(A)
BDD in Λq(AT)
Role in proofs
Collision resistance / Binding
Pseudorandomness / Hiding
Hardness condition
β≪q (typically q>βn, m>nlogq)
Error σ not too tiny (σ≥2n in worst-case reductions; in practice η=1 or 2 works for Module-LWE!)
Exercises
Pigeonhole SIS: Suppose n=4, q=17, and m=20. Show that by the Pigeonhole Principle, there must exist a nonzero vector x∈{−1,0,1}20 such that Ax≡0(mod17) for every matrix A∈Z174×20. (Hint: count how many vectors are in {0,1}20 versus ∣Z174∣.)
Duality Check: Let A=(125)∈Z71×3.
Find two linearly independent short vectors in Λ7⊥(A).
Write down a vector y∈Λ7(AT) (say for s=3) and verify ⟨x,y⟩≡0(mod7) for your vectors in Λ7⊥(A).
Why Unbounded SIS Fails: Suppose someone proposes a commitment C=Axmodq with A∈Zqn×m, m=2n, and lets the prover open with anyx∈Zqm (no norm check). Describe how a cheating prover can open C=0 to a nonzero x′ in polynomial time.
HNF LWE Practice: Re-read Section 5.2. If A1∈Zqn×n is invertible, check carefully why the resulting noise (−A2A1−1)e1+e2 matches a standard LWE instance with secret e1, public matrix −A2A1−1, and error e2. Why is −A2A1−1modq uniformly distributed when A2 is uniform and independent of A1?