Every polynomial up to now has taken one input: . This lesson lets a polynomial take several, which is what the rest of the series — and the sumcheck protocol in particular — actually runs on. One running example carries the lesson: a table of four values, the unique polynomial through them, and how confident a single random check can be that two polynomials agree everywhere.
From one variable to many
The jump from one variable to several changes what “degree” means, but evaluation still works exactly the same way.
A monomial’s degree is the sum of its exponents across every variable; a polynomial’s total degree is the largest of those over all its terms. has total degree , from the term — even though the whole polynomial has only two variables. Plugging in a point is unchanged: substitute every value and reduce mod , same as with one variable.
Multilinear: each variable at most once
Restrict every variable to appear to the power at most, and the polynomial becomes exactly as expressive as a table of values on the Boolean hypercube — no more, no less.
A multilinear polynomial in variables is a sum over every subset of variables, each with its own coefficient multiplying the product of that subset — coefficients for subsets. That count isn’t a coincidence: it matches the corners of , the set of all assignments to the variables.
From a table to a polynomial
Given values at the four corners of , there’s exactly one multilinear polynomial that hits all of them — and selector polynomials build it directly.
The selector for corner is exactly at that corner and at every other corner — built from or depending on whether is or , same for . Summing each corner’s value times its selector gives a polynomial that matches the table everywhere on the hypercube; because a degree--per-variable polynomial is pinned down by that few points, it’s the only one that does, and it’s called the multilinear extension of the table.
How often can a polynomial hit zero?
Lesson 10 introduced this bound for a single variable: a nonzero polynomial can still equal zero at plenty of points, but not too many. The same argument carries over unchanged to several variables, and that’s the fact the next two sections build on.
For any nonzero polynomial of total degree over a field , a uniformly random point is a root with probability at most . Over a small field like that bound is a real constraint — degree vanishes up to about of the time. Over the -bit fields real proof systems use, with in the thousands or millions, that probability is smaller than the chance of guessing a fair coin flip correctly forty times running.
One random check catches a cheater
Flip the lemma around: if two polynomials disagree anywhere, a random point almost certainly reveals it — which is the entire soundness argument behind spot-checking a claim instead of verifying it in full.
If a dishonest prover’s claim is false, the gap is a nonzero polynomial of degree , so by Schwartz–Zippel a single random check misses it with probability at most — that’s the protocol’s soundness error. Repeating the check times with fresh randomness multiplies that error down to ; in a -bit field, even one check already makes cheating practically impossible.
Preview: peeling off one variable
One last idea closes the lesson: a claimed sum over every corner of the hypercube can be checked one variable at a time, each round shrinking the claim by one variable.
Instead of summing values directly, the prover sends one variable’s worth of the sum at a time, the verifier checks consistency with two evaluations, picks a random point to collapse that variable, and passes a smaller claim on to the next round. variables become rounds, each round a small, cheap check — and each one backed by exactly the Schwartz–Zippel argument from this lesson. That protocol, the sumcheck, is built in full next.
- A polynomial in several variables has a total degree (the largest sum of exponents in any term) and a degree in each variable separately; evaluation still means “plug in every value and reduce.”
- A multilinear polynomial lets each variable appear to the power at most, giving exactly coefficients for variables — one per subset, matching the corners of the Boolean hypercube.
- Selector polynomials, each at one corner and at the rest, build the unique multilinear polynomial through any table of hypercube values — its multilinear extension.
- The Schwartz–Zippel lemma bounds how often a nonzero degree- polynomial can vanish at a random point: at most of the time, a vanishingly small chance in the large fields real proof systems use.
- That same bound is the soundness argument behind a single random spot-check, and it’s what makes the sumcheck protocol — checking a sum one variable at a time — provably hard to cheat.