Gotsman--Linial: BinomialMoments #
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/BinomialMoments.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.
Exact finite moments of the symmetric binomial weights. These identities provide the grading multiplicities and the variance used in the finite coupling estimate. No probabilistic assumptions or measures enter the statements.
The normalizing denominator is positive, also when n = 0.
The real sum of one row of Pascal's triangle.
Pascal recursion for an arbitrary real function of the binomial index.
The symmetric binomial probability weights, presented as a finite real function.
Equations
- Complexity.BooleanAnalysis.PolynomialThreshold.Internal.binomialWeight n k = ↑(n.choose ↑k) / 2 ^ n
Instances For
Reflecting a binomial index preserves every real finite expectation.