Gotsman--Linial: Model #
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/Model.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 thresholds and average sensitivity #
The Boolean cube encodes the sign cube {−1,1}^n:
false represents −1 and true represents 1. The public statement
quantifies directly over real multilinear polynomials and uses uniform counting
probability, the convention sign(0) = 1, and the exact constant 8.
GotsmanLinialStatement is a proposition definition, not a proof of the bound.
The sign cube {−1,1}^n, with Boolean coordinates encoding the signs.
Equations
Instances For
Interpret a Boolean cube coordinate as the corresponding real sign.
Equations
Instances For
Reverse one coordinate of a cube vertex.
Equations
Instances For
The threshold convention assigns 1 at zero.
Equations
Instances For
Number of ordered sensitive edges, indexed by their initial vertex and direction.
Equations
Instances For
Sum of the uniform probabilities that a coordinate flip changes f.
Equations
Instances For
Every exponent in every supported monomial is at most one.
Equations
- Complexity.BooleanAnalysis.PolynomialThreshold.Internal.IsMultilinear p = ∀ m ∈ p.support, ∀ (i : Fin n), m i ≤ 1
Instances For
Evaluate a real polynomial at the signs represented by a cube vertex.
Equations
Instances For
The polynomial threshold function with the nonnegative-at-zero convention.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The average-sensitivity bound for positive dimension and degree at most the dimension.
Equations
- One or more equations did not get rendered due to their size.