Multilinear Polynomials
For each field , we write for the ring of multivariate polynomials in the indeterminates . A polynomial is multilinear if each indeterminate appears in it with individual degree at most 1.
Here, we explain an important mathematical duality that we will use throughout this site. That is:
Multilinears and Lists
More precisely, for each field and each size parameter , we have two objects which are really "the same":
- A multilinear polynomial with coefficients in .
- An ordered list of elements of .
To go from 1. to 2. above, we actually take two steps. We begin with a multilinear over . First, we can pick up its "Lagrange coordinates"—that is, its restriction to the cube . Indeed, we have the cube-indexed vector of values .
We can then flatten the cube itself, by associating it with the ordered list of integers . Indeed, we can associate each . Thus, if we define for each , then we get the desired list . It's not hard to see that this list is just (i.e., the evaluation points are taken in lexicographic order).
In the next couple steps, we discuss going in the reverse direction (i.e., from 2. to 1.).
The Equality Indicator Polynomial
We begin by recording a key polynomial. For each fixed , the -variate equality indicator polynomial is defined to be:
This polynomial, on the one hand, is multilinear in its variables. On the other hand, its restriction to the cube recovers the equality indicator function, the function which, on two bitstrings and , equals 1 if and only if and 0 otherwise.
This polynomial has two key properties:
- It is succinct. Indeed, given any pair of points and in , the evaluation can be computed in work. (Indeed, we can work one at a time through the factors of the right-hand side above, and then multiply them all together.) This is not true for generic, -variate multilinear polynomials! Indeed, is special. (To get a hint for what's special about it, just look at how it factors into a product of terms—not all polynomials will do this.)
- Its partial specializations give us Lagrange basis polynomials. Indeed, if we pick a cube point , nothing stops us from partially specializing 's later variables to . Doing this gives us the -variate polynomial . Now this polynomial has two important properties. First, it's multilinear in the variables . Second, its restriction to the cube is identically zero except for one point, namely the point . This makes it useful as a "building block", as we'll see just below.
Multilinear Extensions
As we'll argue now, the association between the list items 1. and 2. above is bijective. That is, we already saw that each multilinear polynomial determines a list of values on the cube (i.e., we went from 1. to 2.). What we want to do is reverse this process: beginning with a list of values , we want to reverse-engineer a multilinear whose evaluations on the cube recover the initial list .
It turns out that the desired multilinear :
- Exists. Indeed, to recover , we reverse the process above. Beginning with the ordered list , we can arrange the list elements onto the cube vertices by taking . Next, we need to "extend" this mapping into a polynomial. It turns out we can use the Lagrange basis polynomials just introduced. That is, we can take the combination You can check that this candidate indeed fulfills our desideratum: namely, its values on the cube satisfy for each .
- Is unique. The slightly trickier part is to argue that the multilinear polynomial is unique—that is, it's the only possible multilinear whose restriction to the cube equals . To show this, it's enough to argue that if a multilinear vanishes identically on the cube, then it must actually be the 0 polynomial. This proof is elementary but a bit delicate (and pretty interesting); it is carried out for example in Thaler [Tha23, Fact 3.5.].
Thus, not only can we associate to each multilinear a list of values , but this association is reversible: to each list , we get a unique multilinear whose evaluations on the cube recover that list.