Gotsman--Linial: HilbertSchmidt #
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/HilbertSchmidt.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.
The Hilbert--Schmidt norm squared for the counting inner product. This explicit entry sum does not use any norm instance on matrices.
Equations
- Complexity.BooleanAnalysis.PolynomialThreshold.Internal.hsNormSq A = ∑ i : ι, ∑ j : κ, ‖A i j‖ ^ 2