Apex › Cryptography

Proving a huge sum cheaply (sumcheck)

The workhorse of modern interactive proofs and SNARKs. A prover claims a polynomial sums to C over all 2ᵛ boolean inputs; instead of adding 2ᵛ terms, the verifier runs v rounds — each checking g_i(0)+g_i(1) equals the running claim, then folding in a random challenge — and evaluates the polynomial just once at the end. Verified in node over a prime field: the honest prover passes every round and the final check, a wrong claim is caught, and the initial claim equals the brute-force hypercube sum. Step the rounds, or flip to a cheating prover and watch it get caught.

More in Cryptography