Introduction
This series of posts aims to be a comprehensive collection of facts, protocols, and theorems related to the information-theoretic foundations of multilinear proof systems. By “multilinear proof system” we refer to a system with multilinear polynomials as the underlying “arithmetization” of the proof system: where satisfiability of the computation, a (RAM) machine or circuit, is expressed as randomized relations between multilinear polynomials and the witness is the evaluation of multilinear polynomials over some tensor product.
This is in contrast to “univariate proof systems”, where the computation is expressed as relations between univariate polynomials and the witness is the set of evaluations of univariate polynomials (or rational functions) over some subgroup of the field.
In this first installment, we look broadly at the fundamental facts, theorems and techniques required to argue about the properties of multilinear polynomials and the soundness of multivariate proof systems. We will see how to interpolate a multilinear polynomial with a particular set of evaluations over a “tensor product”, we will see that such a polynomial is uniquely defined, we will explore how many roots multivariate polynomials can have.
The Factor Theorem
Because this series is aiming to be from first principles, we will start by recalling the factor theorem. It states that if and , then we can write for some polynomial . These polynomials will be polynomials over “”, e.g.
For what follows, is a commutative ring. If the word “commutative ring” is unfamiliar just think of a finite field, however commutative rings include every structure where you can “multiply” and “add” e.g. the integers or 32-bit integers . The “commutative” part simply means that the order of multiplication is irrelevant, i.e.
For instance, even though we can multiply and add matrices, matrix multiplication does not commute ( in general) and hence matrices are not a commutative ring. For now, think of as a finite field or the integers , but the theorems and corollaries here will hold more generally. With this out of the way, here is the factor theorem:
Theorem (“The Factor Theorem”): Let , with and let be such that . Then there exists such that .
We first consider a special case, then use this to prove the general case:
Case x = 0. First we show the theorem when , then the claim is that . To see this observe that if then , and since we have . Therefore is of the form:
If we define , we see that:
As desired.
Case x 0. Suppose . Define the polynomial and observe that . Therefore, by the “x = 0” case, we conclude that for some . Next write:
If we define , then we see that:
The Fundamental Theorem
After showing this general theorem, we are going to immediately restrict ourselves a bit, but just a bit. Namely, we are going to require that is an integral domain. An integral domain is a commutative ring which has no zero divisors, which is a fancy way of saying:
In other words: the only way to get a zero product is to multiply by zero. Fields satisfy this, the integers satisfy this, however, e.g. does not satisfy this:
The fact that is an integral domain is important, because it allows us to conclude that if we have a product of polynomials and a point such that , then either or . Combined with the factor theorem, this allows us to upper bound the number of roots of any polynomial by the degree of as follows:
Theorem (“The Fundamental Theorem”): Let be an integral domain and let be a non-zero polynomial of degree , then has at most roots in .
We prove this using induction over the degree of .
Base d = 0. If , then for some non-zero . Clearly, has roots.
Step d > 0. Let be a polynomial of degree . If has roots in , then we are done. Otherwise, let be a root of . Then, using the factor theorem, we can write for some polynomial of degree . By the inductive hypothesis, has at most roots and has at most root. Finally has at most roots because is an integral domain: since if is such that , then either or , in other words, must be a root of either or of which there are at most .
The theorem also allows us to conclude that if two polynomials and of degree share more than evaluations in , then the polynomials must be equal.
Corollary (Equality of Polynomials): Let and be polynomials of degree over . Let be distinct elements. Then:
Proof: Define . Note that is a polynomial in of degree at most and observe that for all : has at least roots in . Therefore, must be the zero polynomial, i.e. .
We can turn the corollary above into a probabilistic check of equality between polynomials, this technique is called the Schwartz-Zippel lemma and is widely used; we will use it a lot.
Corollary (Schwartz-Zippel): Let be distinct polynomials of degree and let be an arbitrary subset of the integral domain , then:
Proof: Note that the statement is vacuous if . When then the statement implies that there must exist a subset with such that:
In which case the previous corollary shows that .
Tensor Products & Hypercubes
The “Boolean Hypercube” is a tensor product, i.e. “all lists with entries from”, the set :
For instance:
It is clear that the -dimensional Boolean hypercube has elements: . In many ways, the choice of is arbitrary, another popular choice is which has the slight advantage that it is a group under multiplication, making some things slightly nicer: it naturally encodes “XOR” of bits (can you see how?).
The most important part about is not the particular sets or , nor that every coordinate is from the same set, but the tensor structure, in the most general case:
for small sets in which case:
However, most naturally , hence the name “Boolean hypercube”.
Multivariate Polynomials
A multivariate polynomial is, as the name suggests, simply a polynomial in one or more variables.
For instance:
Is a multivariate polynomial of individual degrees and in the variables and .
Is a multivariate polynomial of individual degrees and in the variables and .
Is a multivariate polynomial of individual degree in the variable .
Definition. A multilinear polynomial is a multivariate polynomial where individual degrees in each variable are at most one. For instance:
While all the earlier examples of multivariate polynomials were not multilinear polynomials.
Roots over Tensor Products
An important way for us to view multivariate polynomials will be as univariate polynomials over polynomial rings. To this end, it is useful for us to verify that multivariate polynomials form integral domains allowing us to apply the fundamental theorem:
Theorem. Let be an integral domain, then is an integral domain.
Proof. We can multiply and add polynomials, it is also clear that polynomial multiplication is commutative (since is), i.e. for and , we have:
Finally, let us verify that there are no zero divisors in , i.e. show:
To see this let and be the degrees of and respectively, denote by and the leading coefficients of and . Note that and otherwise or respectively. Then the leading coefficient of is which is non-zero since is an integral domain. Therefore, if and only if or .
Corollary. By applying the theorem above times, we can conclude that is an integral domain: let and for . Observe that:
This “iterative” construction of allows us to view -variate polynomials over as univariate polynomials over :
With this interpretation is a polynomial over and therefore can take any value in (not just ), i.e. we can evaluate for every -variate polynomial , which includes the constant polynomials, i.e. .
If we apply the fundamental theorem to this particular setting we get:
Corollary: Let with be a -variate polynomial. Let be the degree in the variable, then there exist at most distinct -variate polynomials such that . In particular, there exist at most field elements (constant polynomials) such that .
If we apply this observation recursively, we can conclude that for sufficiently large tensor products, a polynomial vanishes over the tensor product if and only if the polynomial is the zero polynomial:
Theorem: Let be a non-zero -variate polynomial with degree in each variable . Let be the tensor product of where :
Then:
We prove this by induction:
Base k = 1. When the “multivariate” polynomial is a univariate polynomial , by applying the fundamental theorem with , we observe that the number of roots of is at most , however since the polynomial cannot evaluate to zero on all of . So the claim holds.
Step k > 1. Define and now rewrite as a polynomial with coefficients in :
Since is an integral domain, we can apply the fundamental theorem, this time to , rather than . We conclude that at most values satisfy:
And, in particular, there exist at most elements (constant polynomials) satisfying this. On the other hand, since there must exist at least one which is not a root, in other words:
We then apply the induction hypothesis on to conclude that it does not vanish over . In other words, we conclude that there is at least one such that , which also allows us to conclude:
So also cannot vanish over and the claim holds for as well.
Corollary: Setting and as the -dimensional hypercube, we conclude that a non-zero multilinear polynomial cannot vanish on the hypercube, i.e. if then there exists at least one such that .
An easy, but very important, observation is that two multilinear polynomials can agree on the hypercube if and only if they actually are equal as polynomials.
Corollary: Let be two multilinear polynomials such that:
Then we can form:
By assumption , therefore we conclude that by the theorem. Hence .
Schwartz-Zippel
We can extend the techniques above to reason about the probability that a multivariate polynomial vanishes at a random point .
Theorem (“Multivariate Schwartz-Zippel”). Let and let be a multivariate polynomial of individual degrees in . Then the probability that the polynomial vanishes at uniformly random can be bounded as follows:
We show this by induction:
Base k = 1. When the “multivariate” polynomial is a univariate polynomial , by applying the fundamental theorem with we observe that the number of roots of is at most . Hence for uniform , the probability that , i.e. that is one of the at most roots, is at most .
Step k > 1. Basically, there are two ways that could be zero:
- When we partially evaluate we get the zero polynomial
- Or, , but .
Define and view as a polynomial in :
Since is an integral domain, we conclude that at most values satisfy:
And, in particular, there exist at most elements which make , hence the probability that makes is at most .
On the other hand, if is not a root:
We can apply the induction hypothesis on to conclude that:
By applying a union bound on both these events we conclude that:
Corollary: When , i.e. we sample challenge points from the entire field, and then we get the following special case:
In particular, when is multilinear () we have:
