Documentation

Complexitylib.BooleanAnalysis.PolynomialThreshold.Internal.Statement

Gotsman--Linial: Statement #

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

theorem Complexity.BooleanAnalysis.PolynomialThreshold.Internal.flip_apply_ne {n : ℕ} (i : Fin n) (x : Cube n) (j : Fin n) (h : j ≠ i) :
flip i x j = x j
noncomputable def Complexity.BooleanAnalysis.PolynomialThreshold.Internal.cubeEquivSignVectors (n : ℕ) :
Cube n ≃ { x : Fin n → ℝ // ∀ (i : Fin n), x i = 1 ∨ x i = -1 }

The Boolean encoding represents every sign vector exactly once.

Equations
  • One or more equations did not get rendered due to their size.
Instances For