Documentation

Complexitylib.BooleanAnalysis.PolynomialThreshold.Internal.Walsh

Gotsman--Linial: Walsh #

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/Walsh.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.

Walsh characters of the Boolean cube #

The characters are the real sign monomials, regarded as complex-valued functions. Counting orthogonality proves linear independence; the cardinality comparison then gives a basis. The degree filtration and its dimensions are constructed from this concrete basis.

The complex-valued Walsh character associated to a subset of coordinates.

Equations
Instances For

    Orthogonality for the unnormalized counting inner product.

    Unnormalized Fourier coefficient as a linear functional.

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

      Functions of Fourier degree at most k.

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

        Fourier degree filtration in the Hilbert space with counting inner product.

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