Module 08: Lattice SNARKs & Folding Schemes (Plonk, Sumcheck, LatticeFold, Neo)
1. The Bridge from Plonk, Sumcheck, and HyperNova
In the elliptic-curve world, modern SNARKs and IVC schemes look like this:
- Plonk: Encode computation as polynomial identities over an evaluation domain , commit with KZG or IPA, reduce gate + permutation checks to polynomial evaluations via Schwartz-Zippel, and open with PCS.
- HyperNova / ProtoStar: Encode computation as CCS (Customizable Constraint Systems—a generalization of Plonk and R1CS), use Sumcheck to fold two CCS instances into one without committing to big cross-term polynomials, and accumulate step after step for IVC.
Can we build Plonk or HyperNova over lattices? Let's check the two ways to bridge EC SNARKs to lattices, and see the exact obstacle each hits—and how LatticeFold (Boneh–Chen 2024) and Neo (2025) solve it!
2. Two Paradigms for Lattice SNARKs
Paradigm A: Keep Plonk/HyperNova Over , Replace ONLY the PCS!
Suppose you keep your exact Plonk arithmetization over a prime field (e.g., Goldilocks , BabyBear, or even a 254-bit field).
- All Plonk gate equations, lookup arguments (LogUp / Plookup), permutation checks, and polynomial IOPs stay 100% unchanged!
- The ONLY thing you swap out is KZG / EC IPA Greyhound (Module 07) or a Brakedown-style / Ring-Ajtai PCS!
- Wait: what's the catch?
- In Greyhound, you must decompose field elements into base- digits and commit with ( doesn't even have to equal , though or is convenient).
- If you only replace the PCS, every Plonk prover still commits to wire polynomials and runs an opening proof at the end—great for a monolithic SNARK, but for IVC (Nova / HyperNova), you ALSO need to fold commitments and witnesses directly!
Paradigm B: Native Ring Arithmetization + Lattice Folding (LatticeFold & Neo)
Suppose instead you want Nova / HyperNova-style folding directly over Ajtai commitments ! Let's trace why Nova's folding fails on Ajtai commitments—and how LatticeFold fixes it.
3. Why Nova Folding Fails on Lattices (And How LatticeFold Solves It!)
Recall Nova / HyperNova over EC: You have two committed witnesses and with . To fold them into one instance, the verifier sends random , and the prover computes: In EC, you can repeat this 1,000,000 times in an IVC chain! Nothing ever overflows because wraps cleanly.
Now try this with Ajtai commitments , where binding requires :
- After Step 1: .
- After Step 2: .
- After Step : ! Within just 10 IVC steps, the witness norm explodes past the M-SIS bound, and soundness breaks completely!
LatticeFold's Key Idea: Decompose Before Folding!
Look at the order of operations in LatticeFold (Boneh–Chen, 2024): Suppose your folded witness currently has norm up to (say after folding two norm- witnesses—Wait: even simpler, say each valid accumulator witness has norm , and after folding its norm is ). How do you bring the norm back down to before the next folding step?
Witness Decomposition!
- Before folding (or right after folding!), decompose into chunks each of norm (typically or if !).
- Commit separately to each chunk: . Notice: !
- Now fold the chunks together with the new incoming instance using fresh short challenges :
- Check the norm of : Because every had norm (NOT !) and has small operator norm, As long as we simply define our invariant norm bound (and pick so digits of base always cover ? Wait: when folding two norm- witnesses, the norm only grows to , so decomposing by base or keeps the invariant eternally fixed across infinite IVC steps!).
Check the magic:
- Every single IVC step starts with a witness of norm , folds, decomposes back to digits , and folds again to norm !
- Norm NEVER grows with the number of IVC steps!
4. How LatticeFold Proves Constraints & Range Checks via Sumcheck
Wait: in HyperNova, you fold CCS constraints using Sumcheck over : Why does Sumcheck over have a subtlety?
4.1 Sumcheck Over a Ring
Remember Module 03: when , splits into independent slots! Wait: if you run Sumcheck over with challenges , Schwartz-Zippel fails if is in or if splits into small fields! How does LatticeFold make Sumcheck sound?
- Pick so splits into large extension fields! E.g., with factoring into factors of degree (so each CRT slot is of size !).
- Wait—if Sumcheck challenges are uniform in (HUGE, NOT short!), doesn't that break binding?!
Look closely! In Sumcheck, you do NOT fold the Ajtai-committed vector with the Sumcheck challenges directly!
- The Sumcheck protocol only evaluates the multilinear extension !
- At the end of Sumcheck, you only need to prove the claimed evaluation —which is a linear inner product with a public vector !
- Then, to combine two evaluation claims into one (so we only fold commitments once per step!), we use short challenges for the commitment folding , while the algebraic evaluation claims fold linearly into !
Look how cleanly the two worlds separate:
- Sumcheck challenges : Large, uniform in (gives Schwartz-Zippel soundness in CRT slots!), used only for polynomial evaluations !
- Folding challenges : Short, invertible differences in (keeps witness norm !), used only for folding Ajtai commitments !
4.2 Proving the Norm Bound Inside Sumcheck!
Wait: in LatticeFold's decomposition step, a cheating prover might lie and send where is NOT actually short (e.g., is huge mod )! How does LatticeFold prove at every folding step without running a separate JL proof or slow linear NIZK? Put the range check inside the SAME Sumcheck! For every integer coefficient (say ), you can check algebraically by checking a low-degree polynomial identity: (or even cheaper: decompose into bits / small chunks, or use the lookup / logarithmic-derivative trick from LogUp/Lasso, or monomial embedding as in LatticeFold+!). Because checking is just one more Sumcheck batched with the CCS Sumcheck, the prover proves both circuit correctness AND witness shortness in one unified Sumcheck!
(Wait: remember our CRT warning from Module 06! To check coefficient-wise—rather than on CRT evaluations—we evaluate the multilinear polynomial of the coefficients directly, OR store the witness in NTT slots where multiplication in IS coordinate-wise multiplication! Let's see how Neo takes this even further!)
5. Neo & Pay-Per-Bit Folding (2025)
One annoying inefficiency in LatticeFold is that every wire value in the circuit has to fit into ( or larger), and you often decompose 64-bit numbers into base- chunks inside .
Neo (Setty et al., 2025) asks: What if our circuit is over a small prime field (like Goldilocks or BabyBear ), and we want Plonk/CCS over with pay-per-bit cost (if a witness value is a 1-bit boolean, it shouldn't cost 64 bits of commitment work!)?
Look at Neo's clean embedding of vectors into the cyclotomic ring :
- Pick (or a prime with so ; even simpler, in Neo they choose where is Goldilocks, and splits partially into or !).
- Pack field elements as the coefficients of a single polynomial !
- Notice what an Ajtai matrix multiplication does when has small coefficients (like booleans or -bit integers): Pay-per-bit! If a witness vector has entries in , you don't decompose it into chunks—it ALREADY has norm , so you commit to it in one shot! And if an entry is 32-bit, you only decompose into 32 bits (or base- digits of 32 bits), not 64!
- How does Neo evaluate a multilinear polynomial when field elements are packed into one ring coefficient vector? Using the constant-term / rotation matrix view! Multiplying by a public polynomial or taking turns coefficient-packed ring elements directly into inner products, compatible with standard Sumcheck!
6. Architecture Comparison: Which Lattice Proof System Should You Choose?
| System | Arithmetization | Proof Size (for gates) | Prover Speed | Verifier Speed | Best Use Case |
|---|---|---|---|---|---|
| LNP22 | Linear + Quadratic over | Linear (tens of KB for small ) | Very fast | Small statements (signatures, verifiable encryption) | |
| LaBRADOR | Principal Relation (Quadratic + ) | ~45–60 KB () | Fast (ring NTTs + JL) | or * | Succinct standalone post-quantum proofs |
| Plonk + Greyhound | Standard Plonk / Halo2 over | ~50–70 KB () | Moderate (base- commit + LaBRADOR open) | Sublinear ( / w/ recursion) | Drop-in PQ Plonk without rewriting circuits |
| LatticeFold / Neo | CCS / R1CS over or | ~30–100 KB (after decider) | Very fast (no FFTs, just Sumcheck + small commits!) | per folding step | Post-quantum IVC / zkVMs / Folding |
(*Note: In LaBRADOR, the verifier checks the public linear constraints on the circuit; with structured/Plonk/R1CS matrices or outer recursion, verification becomes succinct.)
Exercises
- IVC Norm Invariant: Suppose in a LatticeFold-like IVC scheme, , decomposition base is (so digits cover , or digits cover !), and folding challenges satisfy . Suppose the invariant norm bound for every folded accumulator is . When we fold two witnesses of norm ? Wait: if we decompose (norm ) into base , how many digits does take? If we then fold those digits + new witness (also decomposed to base ) with challenges , verify that the new folded witness stays !
- Separating Challenges: Explain in 2–3 sentences why in LatticeFold you cannot use short challenges for Sumcheck's Schwartz-Zippel step if splits completely, AND you cannot use uniform challenges for folding Ajtai commitments.
- Pay-Per-Bit Intuition: Suppose a zkVM trace has 90% boolean flags () and 10% 64-bit registers (), modulo . Compare the commitment cost under naive 64-bit decomposition for every wire vs. Neo's pay-per-bit approach (say decomposing with base ).
(Solutions in exercise-solutions.md.)