Documentation

Complexitylib.BooleanAnalysis.PolynomialThreshold.Internal.HilbertSchmidt

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.

noncomputable def Complexity.BooleanAnalysis.PolynomialThreshold.Internal.hsNormSq {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (A : Matrix ι κ ℂ) :

The Hilbert--Schmidt norm squared for the counting inner product. This explicit entry sum does not use any norm instance on matrices.

Equations
Instances For
    theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.ofReal_sum_sq_norm_column {ι : Type u_1} {κ : Type u_2} [Fintype ι] (A : Matrix ι κ ℂ) (j : κ) :
    ↑(∑ i : ι, ‖A i j‖ ^ 2) = (A.conjTranspose * A) j j
    theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.hsNormSq_eq_sum_columns {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (A : Matrix ι κ ℂ) :
    hsNormSq A = ∑ j : κ, ∑ i : ι, ‖A i j‖ ^ 2
    theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.sum_sq_norm_column_eq_re {ι : Type u_1} {κ : Type u_2} [Fintype ι] (A : Matrix ι κ ℂ) (j : κ) :
    ∑ i : ι, ‖A i j‖ ^ 2 = ((A.conjTranspose * A) j j).re