Gotsman--Linial: ProjectionBlocks #
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/ProjectionBlocks.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.
Matrix blocks of a finite orthogonal projection family #
The Hilbert--Schmidt quantity below is the explicit sum of squared entry norms rather than an ambient matrix norm instance.
A finite orthogonal decomposition of the identity by Hermitian projections.
- selfAdjoint (k : κ) : IsSelfAdjoint (P k)
Instances For
The real-valued spectral multiplier defined by the projection family.
Equations
- Complexity.BooleanAnalysis.PolynomialThreshold.Internal.matrixGrading P weight = ∑ k : κ, ↑(weight k) • P k
Instances For
The degree grading centered at n / 2.
Equations
- Complexity.BooleanAnalysis.PolynomialThreshold.Internal.centeredGrading P = Complexity.BooleanAnalysis.PolynomialThreshold.Internal.matrixGrading P fun (k : Fin (n + 1)) => ↑↑k - ↑n / 2
Instances For
Matrix representation of a continuous operator in an orthonormal basis, bundled with its algebraic compatibility.
Equations
Instances For
Matrix entries for the counting orthonormal basis or any chosen orthonormal basis.
Equations
Instances For
Transfer an actually constructed orthogonal family of Hilbert-space projections to the matrix interface used by the block estimates.
The standard-basis matrix representation is inverse to the standard Euclidean continuous linear operator associated to a matrix.