Documentation

Complexitylib.BooleanAnalysis.PolynomialThreshold.Internal.PolynomialDegree

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.

A character of degree at most d belongs to the corresponding filtration.

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.

theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.fourierSpace_conj_mul {n r s : ℕ} {a b : Cube n → ℂ} (ha : a ∈ fourierSpace n r) (hb : b ∈ fourierSpace n s) :
(fun (x : Cube n) => star (b x) * a x) ∈ fourierSpace n (r + s)

The precise multiplication-conjugation rule used in the weighted pairing.

theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.cubeCoord_mul_mem_fourierSpace {n r : ℕ} {a : Cube n → ℂ} (ha : a ∈ fourierSpace n r) (i : Fin n) :
(fun (x : Cube n) => ↑(cubeCoord x i) * a x) ∈ fourierSpace n (r + 1)

Multiplication by one cube coordinate raises the degree by at most one.

Functions whose Walsh support starts in degree k.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Full parity complements character index sets, taking low degree d to Fourier support in degrees at least n - d.

    theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.sum_mul_eq_zero_of_fourier_separated {n r s : ℕ} {a b : Cube n → ℂ} (ha : a ∈ fourierSpace n r) (hb : b ∈ fourierSpaceFrom n s) (hrs : r < s) :
    ∑ x : Cube n, a x * b x = 0

    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.