Documentation

Complexitylib.BooleanAnalysis.PolynomialThreshold.Internal.Commutator

Gotsman--Linial: Commutator #

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/Commutator.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.

Entry bounds for a tridiagonal grading commutator #

All norms here are norms of individual complex entries. No default norm on a matrix is used. A complete orthogonal family defines a phase unitary with eigenvalues I^k. For a tridiagonal operator the commutator is the difference of two unitary conjugates divided by 2 I.

def Complexity.BooleanAnalysis.PolynomialThreshold.Internal.spectralMultiplier {κ : Type u_1} {ι : Type u_2} [Fintype κ] (P : κ → Matrix ι ι ℂ) (a : κ → ℂ) :
Matrix ι ι ℂ

A complex spectral multiplier for a finite family of projections.

Equations
Instances For
    theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.spectralMultiplier_mul_projection {κ : Type u_1} {ι : Type u_2} [Fintype κ] [DecidableEq κ] [Fintype ι] [DecidableEq ι] (P : κ → Matrix ι ι ℂ) (hmul : ∀ (r s : κ), P r * P s = if r = s then P r else 0) (a : κ → ℂ) (r : κ) :
    spectralMultiplier P a * P r = a r • P r
    theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.projection_mul_spectralMultiplier {κ : Type u_1} {ι : Type u_2} [Fintype κ] [DecidableEq κ] [Fintype ι] [DecidableEq ι] (P : κ → Matrix ι ι ℂ) (hmul : ∀ (r s : κ), P r * P s = if r = s then P r else 0) (a : κ → ℂ) (r : κ) :
    P r * spectralMultiplier P a = a r • P r
    theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.spectralMultiplier_mul {κ : Type u_1} {ι : Type u_2} [Fintype κ] [DecidableEq κ] [Fintype ι] [DecidableEq ι] (P : κ → Matrix ι ι ℂ) (hmul : ∀ (r s : κ), P r * P s = if r = s then P r else 0) (a b : κ → ℂ) :
    spectralMultiplier P a * spectralMultiplier P b = spectralMultiplier P fun (k : κ) => a k * b k
    theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.star_spectralMultiplier {κ : Type u_1} {ι : Type u_2} [Fintype κ] (P : κ → Matrix ι ι ℂ) (hstar : ∀ (k : κ), star (P k) = P k) (a : κ → ℂ) :
    star (spectralMultiplier P a) = spectralMultiplier P fun (k : κ) => star (a k)
    theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.spectralMultiplier_unitary {κ : Type u_1} {ι : Type u_2} [Fintype κ] [DecidableEq κ] [Fintype ι] [DecidableEq ι] (P : κ → Matrix ι ι ℂ) (hmul : ∀ (r s : κ), P r * P s = if r = s then P r else 0) (hstar : ∀ (k : κ), star (P k) = P k) (hsum : ∑ k : κ, P k = 1) (a : κ → ℂ) (ha : ∀ (k : κ), a k * star (a k) = 1) :
    theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.spectralMultiplier_sandwich_block {κ : Type u_1} {ι : Type u_2} [Fintype κ] [DecidableEq κ] [Fintype ι] [DecidableEq ι] (P : κ → Matrix ι ι ℂ) (hmul : ∀ (r s : κ), P r * P s = if r = s then P r else 0) (a b : κ → ℂ) (Z : Matrix ι ι ℂ) (r s : κ) :
    P s * (spectralMultiplier P a * Z * spectralMultiplier P b) * P r = (a s * b r) • (P s * Z * P r)
    theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.spectralMultiplier_commutator_block {κ : Type u_1} {ι : Type u_2} [Fintype κ] [DecidableEq κ] [Fintype ι] [DecidableEq ι] (P : κ → Matrix ι ι ℂ) (hmul : ∀ (r s : κ), P r * P s = if r = s then P r else 0) (a : κ → ℂ) (Z : Matrix ι ι ℂ) (r s : κ) :
    P s * (spectralMultiplier P a * Z - Z * spectralMultiplier P a) * P r = (a s - a r) • (P s * Z * P r)
    theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.spectral_blocks_reconstruct {κ : Type u_1} {ι : Type u_2} [Fintype κ] [Fintype ι] [DecidableEq ι] (P : κ → Matrix ι ι ℂ) (hsum : ∑ k : κ, P k = 1) (B : Matrix ι ι ℂ) :
    ∑ s : κ, ∑ r : κ, P s * B * P r = B
    theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.spectral_blocks_ext {κ : Type u_1} {ι : Type u_2} [Fintype κ] [Fintype ι] [DecidableEq ι] (P : κ → Matrix ι ι ℂ) (hsum : ∑ k : κ, P k = 1) (A B : Matrix ι ι ℂ) (h : ∀ (r s : κ), P s * A * P r = P s * B * P r) :
    A = B

    The difference of two unitary matrices, divided by 2 I, has entries of modulus at most one.

    Tridiagonality means that blocks at grading distance greater than one vanish.

    Equations
    Instances For

      Two opposite phase conjugations differ by 2 I times the grading commutator.

      Every entry of the tridiagonal degree commutator has modulus at most one.

      The Hilbert--Schmidt commutator bound is a consequence of block Parseval and the fact that each nonzero block has grading distance at most one.

      Centering the grading does not change its commutator.