Gotsman--Linial: PolynomialDegree #
Adapted from OpenAI's formalization of Average Sensitivity of Polynomial Threshold
Functions (25 September 2026), at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Combinatorics/GotsmanLinial/PolynomialDegree.lean
The original Boolean-cube representation is used internally in this proof development;
Complexitylib.BooleanAnalysis.PolynomialThreshold transports the result to the
library's Fourier and influence API. Changes here adapt module visibility,
namespace names, formatting, and redundant simp attributes to complexitylib.
Polynomial degree and the Walsh filtration #
The polynomial lemmas concern real multilinear
MvPolynomials. Restriction to the cube is justified by an explicit monomial
expansion rather than assumed as an alternate polynomial representation.
Adding a constant preserves the multilinearity condition.
Adding a constant cannot violate an existing total-degree upper bound.
Every exponent occurring in a supported multilinear monomial is one.
A supported monomial has no more variables than the polynomial's total degree. This estimate does not require multilinearity.
Faithful evaluation of a multilinear polynomial as products over the supports of its monomials.
The same faithful expansion, with values regarded as complex numbers.
The exact polynomial bridge into the complex Walsh filtration.
Complex conjugation preserves Fourier degree, since each character is real.
The filtration is multiplicative. The symmetric difference of two index sets has cardinality at most the sum of their cardinalities.
The precise multiplication-conjugation rule used in the weighted pairing.
Multiplication by one cube coordinate raises the degree by at most one.
Full parity complements character index sets, taking low degree d to
Fourier support in degrees at least n - d.
Low and high Fourier support with a strict gap have zero counting pairing. There is no conjugation in this formulation because Walsh characters are real; it applies directly to the product appearing in the weighted proof.
The polynomial has high Fourier support after multiplication by full parity, with no alternate polynomial-class assumption.
Every Fourier coefficient below n - d of the parity-transformed
polynomial vanishes.