The setting
A polynomial threshold function assigns a sign to each vertex of the Boolean cube according to the sign of a real multivariate polynomial. In the analysis of average sensitivity for these functions, two preliminary facts are used: every multilinear polynomial can be replaced by a multilinear polynomial of no larger degree that vanishes nowhere on the cube while defining the same threshold function✦, and the average sensitivity of any polynomial threshold function equals the normalized number of ordered edges on which its product with full parity is constant✦.
Polynomial threshold functions
For a natural number , the Boolean cube consists of all sign vectors of length .✦ For a vertex and a coordinate , the coordinate sign is the -th entry of .✦ The sign function is defined by (1): (1)✦
A real polynomial in variables is multilinear if every monomial appearing with nonzero coefficient in has exponent at most in each variable.✦ For any real polynomial in variables and any vertex , the polynomial evaluation is the value of at the coordinate signs .✦ The polynomial threshold function of is the function given by .✦
Average sensitivity
For a vertex and a coordinate , flipping coordinate produces the vertex obtained by negating while leaving every other coordinate sign unchanged.✦ For a real-valued function and a coordinate , the set of vertices sensitive to is .✦ The average sensitivity of is the real number in (2): (2)✦
Ordered constant edges
The full parity function is given by .✦ The set of ordered neighbor pairs in consists of all ordered pairs at Hamming distance , meaning for some coordinate .✦ For a real-valued function , the set of ordered constant edges of is specified in (3): (3)✦
The claim
Proposition. Let be a natural number and let be a real polynomial in variables, with polynomial threshold function .
First, if is multilinear and has total degree at most a natural number , then there exists a multilinear real polynomial in variables of total degree at most such that (4) holds for every : (4)✦
Second, for the function defined by , the average sensitivity of satisfies (5): (5)✦
What is checked
In the Lean library, the two parts of the theorem are stated over the Boolean cube for real multivariate polynomials, multilinear polynomials of bounded total degree, polynomial threshold functions under the convention , average sensitivity, full parity, and ordered constant edges.