Lean, informalized

Nielsen & Chuang · Chapter 6, Quantum search algorithms · p. 273

Exercise 6.18 - A multilinear polynomial is fixed by its values at the points with coordinates zero or one

Multilinear polynomials agreeing on the Boolean cube are equal.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The Exercise

Take polynomials in variables xix_i, one for each index ii in a set σ\sigma, and evaluate them only at bit strings: points xx whose coordinates are each 00 or 11. These points form the Boolean cube {0,1}σ\{0,1\}^{\sigma}. Since xi2=xix_i^2 = x_i for a bit, the polynomials x12x_1^2 and x1x_1 take the same values on the cube, and so do many other pairs.

The exercise is that this ambiguity disappears once every variable appears at most to the first power. Two such polynomials that agree at every bit string are the same polynomial, with the same coefficient on every monomial.✦

The library states this claim over a commutative ring RR of coefficients, such as the real or the complex numbers.

Multilinear Polynomials

A polynomial pp in the variables xix_i, i∈σi \in \sigma, with coefficients in RR is multilinear when its degree in each variable, the highest power of that variable in any of its monomials, is at most one: deg⁡xip≤1for every i∈σ.\deg_{x_i} p \le 1 \qquad \text{for every } i \in \sigma .(1)✦ Thus x1x2−3x3x_1 x_2 - 3x_3 is multilinear and x12x_1^2 is not.

The Claim

For a point xx with coordinates in RR, write p(x)p(x) for the value of pp at xx, the element of RR obtained by substituting each coordinate for its variable.

Theorem 1. Let pp and qq be multilinear polynomials in the variables xix_i, i∈σi \in \sigma, with coefficients in RR, and suppose they take the same value at every point of the Boolean cube. Then pp and qq are equal: p(x)=q(x) for all x∈{0,1}σ⇒p=q.p(x) = q(x) \ \text{ for all } x \in \{0,1\}^{\sigma} \quad\Longrightarrow\quad p = q .(2)✦

What Is Checked

The 00 and 11 of the Boolean cube are the zero and the unit of RR.

What the library proves about multilinear polynomials is the uniqueness (2).