⊢mathematics.distributed.systems
Proof Tree / Algebra & Complexity / Arithmetic Circuits & PIT / open-monotone-circuit-kw-games
KERNEL VERIFIED · 0 WARNINGS Algebra & Complexity · Arithmetic Circuits & PIT Initiated by Arthur Collé 1/1 verified files · ⊢ 143 theorems

Sharp Non-Asymptotic Razborov–Smolensky Polynomial Approximation, $\mathrm{AC}^0[p]$ Lower Bounds, Exact Karchmer–Wigderson Equivalences & Hansel–Kraft Monotone Formula Complexity

A unified sharp non-asymptotic Lean 4 formalization across four pillars of Circuit & Formula Complexity: (1) Universal Odd/Even-Strength Gram–Smolensky Bound $|E(P,\chi_\omega)|\ge\mathrm{Rao}(n,n-d-1)$ over every field (including $\mathrm{char}=2$, improving on Smolensky by $\binom{n-1}{(n+d)/2}$), exact signed-cubature duality, Hadamard obstruction $|E|\ge n+2$ improving on Rao at $d=n-3$ ($n\not\equiv 3\pmod 4$), & explicit $\mathbb{F}_4$ linear lift for $\mathrm{MOD}_3$ over $\mathbb{F}_2$; (2) Field-Universal Two-Term Threshold/Majority Bound $B(n,m,d)$ (exact at $d=1,m$ with $\mathrm{MAJ}_5/\mathbb{F}_2$ attaining $|E|=2$) + end-to-end DAG $\mathrm{AC}^0[p]$ lower bounds for $\mathrm{PARITY}_n$, $\mathrm{MOD}_3$, & $\mathrm{THR}_k^n$; (3) Exact Simultaneous $(L,d)$ Karchmer–Wigderson Equivalences & Duality for monotone and De Morgan formulas; and (4) Per-Variable Bilinear Spectral Adversary, Multiplicative Distance-1 Witness Composition ($L^+(\mathrm{MAJ}_3^{\circ t})\ge 4^t, D^+\ge 2t$), Exact Hansel–Kraft Formula Size $L^+(\mathrm{THR}_2^n)=n(\lfloor\log_2 n\rfloor+2)-2^{\lfloor\log_2 n\rfloor+1}$, & Restriction–Duality–Kraft $\Omega(n\log n)$ improving on Khrapchenko for all $k\ge 3$ (143 verified theorems/lemmas, 6,768 lines, 26/26 clean axioms).

Contribution status

Claim-by-claim literature review not yet recorded. Lean verification, where shown, applies to the exact formal statements. External publication status is not recorded.

How results are classified
⊢ TL;DR & Key Verified Results
Field Context (Arithmetic Circuits & PIT): Derandomizing polynomial identity testing via permanent lower bounds and Nisan–Wigderson designs.

Unified sharp non-asymptotic Lean 4 formalization of Razborov–Smolensky, $\mathrm{AC}^0[p]$, Karchmer–Wigderson & Hansel–Kraft Formula Complexity (143 verified theorems/lemmas, 6,768 lines, 26/26 clean axioms): proves the field-universal odd/even-strength Gram–Smolensky bound $|E(P,\chi_\omega)|\ge\mathrm{Rao}(n,n-d-1)$ (improving on Smolensky by $\binom{n-1}{(n+d)/2}$), exact signed-cubature duality, Hadamard obstruction $|E|\ge n+2$ at $d=n-3$ ($n\not\equiv 3\pmod 4$), & $\mathbb{F}_4$ linear lift for $\mathrm{MOD}_3/\mathbb{F}_2$; field-universal two-term threshold bound $B(n,m,d)$ + end-to-end DAG $\mathrm{AC}^0[p]$ lower bounds; exact simultaneous $(L,d)$ monotone & general De Morgan KW equivalences; and bilinear spectral adversary, multiplicative witness composition ($L^+(\mathrm{MAJ}_3^{\circ t})\ge 4^t, D^+\ge 2t$), exact Hansel–Kraft size $L^+(\mathrm{THR}_2^n)=n(\lfloor\log_2 n\rfloor+2)-2^{\lfloor\log_2 n\rfloor+1}$, & Restriction–Duality–Kraft $\Omega(n\log n)$ improving on Khrapchenko for all $k\ge 3$.

Universal Gram–Smolensky, Cubature Duality, Hadamard Obstruction & $\mathbb{F}_4$ $\mathrm{MOD}_3$ Lift: Proves $|E(P,\chi_\omega)|\ge\mathrm{Rao}(n,n-d-1)$ over every field, $|E|\ge n+2$ improving on Rao at $d=n-3$ ($n\not\equiv 3\pmod 4$), & exact $\mathrm{MOD}_3/\mathbb{F}_2$ bound.
Two-Term Threshold Bound & End-to-End DAG $\mathrm{AC}^0[p]$ Circuit Lower Bounds: Proves exact-at-$d\in\{1,m\}$ two-term threshold bound $B(n,m,d)$ and full finite-sum DAG $\mathrm{AC}^0[p]$ lower bounds for $\mathrm{PARITY}_n$, $\mathrm{MOD}_3$, & $\mathrm{THR}_k^n$.
Exact KW Equivalences, Bilinear Adversary & Hansel–Kraft Monotone Formula Complexity: Proves exact simultaneous $(L,d)$ KW equivalences, $L^+(\mathrm{MAJ}_3^{\circ t})\ge 4^t$, exact $L^+(\mathrm{THR}_2^n)=n(\lfloor\log_2 n\rfloor+2)-2^{\lfloor\log_2 n\rfloor+1}$, & $\Omega(n\log n)$ Restriction–Duality–Kraft.
Prior Art, Upstream Literature & Scholarly Attribution SOURCE CONTEXT
Local Proof Scope (Priority Not Established): Self-contained Lean 4 suite (MonotoneKWAndSmolenskyBounds.lean, 143 verified theorems/lemmas: 26 headline + 7 structural + 110 lemmas, 6,768 lines, 26/26 clean axioms) plus Python verifier (verify_kw_smolensky.py) proving universal_gram_smolensky_bound, parity_approx_iff_signed_design, parity_deg_n_sub_3_hadamard_obstruction, mod3_over_F2_sharp_error_bound, sharp_threshold_polynomial_error_bound, ac0p_parity_lower_bound, ac02_mod3_lower_bound, ac0p_threshold_lower_bound, monotone_kw_exact_equivalence, general_kw_exact_equivalence, mkw_bilinear_adversary_bound, iterMaj3_monotone_formula_lb, thr2_exact_monotone_formula_size, and thr_k_restriction_duality_kraft_bound.

⊢ Mathematical Constructions & Proof Explorer

Raw .lean
—

Select any definition, structure, or theorem on the left to inspect its formal statement, proof dependencies, and isolated Lean 4 code.

Mathematical Overview & Verification Notes

TL;DR: We prove and formalize in Lean 4 (6,768 lines, 143 proved theorems/lemmas including 26 headline theorems, 0 warnings, 0 sorry, 15.7s compile) a unified sharp non-asymptotic theory spanning four pillars: (1) a universal odd/even-strength Gram–Smolensky bound $|E(P,\chi_\omega)| \ge \mathrm{Rao}(n, n-d-1)$ over every field (including $\operatorname{char}=2$) with exact cubature duality, a Hadamard-obstruction sharpening $|E| \ge n+2$ at $d = n-3$ when $n \not\equiv 3 \pmod 4$, and a linear $\mathbb{F}_4$ lift for $\mathrm{MOD}_3$ over $\mathbb{F}_2$; (2) a field-universal two-term threshold/majority approximation bound $|E(P,\mathrm{THR}_k^n)| \ge \sum_{j=0}^{m-d}\binom{n}{j} + \sum_{j=(m-2d+1)_+}^{m-d}\binom{n-d}{j}$ (exact at $d=1$ and $d=m$) paired with end-to-end DAG $\mathrm{AC}^0[p]$ circuit lower bounds for $\mathrm{PARITY}_n$, $\mathrm{MOD}_3$, and $\mathrm{THR}_k^n$; (3) exact simultaneous leaf-size and depth Karchmer–Wigderson equivalences for both monotone and De Morgan formulas; and (4) per-variable bilinear spectral adversary composition, exact multiplicative witness composition yielding $L^+(\mathrm{MAJ}_3^{\circ t}) \ge 4^t$ and $D^+(\mathrm{MAJ}_3^{\circ t}) \ge 2t$, the exact Hansel–Kraft monotone formula size $L^+(\mathrm{THR}_2^n) = n(\lfloor \log_2 n\rfloor + 2) - 2^{\lfloor \log_2 n\rfloor + 1}$ for all $n \ge 2$, and a restriction–duality–Kraft bound beating Khrapchenko ($\Omega(n\log n)$ vs. $O(n)$) for every fixed $k \ge 3$.


Artifacts

  • Lean 4 formalization: MonotoneKWAndSmolenskyBounds.lean (6,768 lines; 33 theorems [26 headline + 7 structural], 110 lemmas, 101 def/abbrev/structure/inductive/instances = 244 declarations)
  • Python computational verifier: verify_kw_smolensky.py (exit 0 with zero warnings under python3 -W error)
  • Documentation & inventory: README.md

Mathematical Overview (4 Pillars)

Pillar 1 — Universal Odd/Even-Strength Gram–Smolensky, Cubature Duality, Hadamard Obstruction, and $\mathbb{F}_4$ $\mathrm{MOD}_3$ Lift

Let $\mathrm{Rao}(n, r) := \sum_{j=0}^{\lfloor r/2 \rfloor} \binom{n}{j}$ if $r$ is even and $2 \sum_{j=0}^{(r-1)/2} \binom{n-1}{j}$ if $r$ is odd (raoBound, L96). For any field $K$ (including $\operatorname{char}(K) = 2$), any $\omega \in K \setminus \{0, 1\}$, and any multilinear polynomial $P \in K[x_1,\dots,x_n]$ of degree $\le d < n$, define the multiplicative character $\chi_\omega(y) = \omega^{|y|}$ and error set $E = \{y \in \{0,1\}^n : P(y) \ne \chi_\omega(y)\}$.

  1. Universal Gram–Smolensky Bound (universal_gram_smolensky_bound, L1023):
    $$|E| \ge \mathrm{Rao}(n, n - d - 1).$$

    The proof constructs a Gram matrix using inverted monomials $\prod_{j \in J} ((1-\omega)^{-1}(1 - (1-\omega)x_j))$ (invMonomial, L666) against the top-degree Möbius functional (topCoeffFunctional, L624) over the Rao family (raoFamily, L942). Whenever $n + d$ is even (so $r = n - d - 1$ is odd), this strictly beats the classical Smolensky bound $\sum_{j=0}^{\lfloor (n-d-1)/2 \rfloor} \binom{n}{j}$ by exactly $\binom{n-1}{(n+d)/2}$!
  2. Exactness at $d = 0$ and $d = n - 2$:
    • gram_smolensky_deg0_exact (L1076): $|E| \ge 2^{n-1}$ for all $n \ge 1$.
    • gram_smolensky_deg_n_sub_2_sharp (L1087): $\min_{\deg P \le n-2} |E(P, \chi_\omega)| = 2$ for every $n \ge 2$, every field $K$, and every $\omega \ne 0, 1$, with explicit attaining polynomial.
  3. Exact Signed-Cubature Duality (parity_approx_iff_signed_design, L1254):
    When $\operatorname{char}(K) \ne 2$, there exists a degree-$\le d$ polynomial agreeing with $\mathrm{PARITY}_n$ outside $E \subseteq \{0,1\}^n$ if and only if $E$ supports a nonzero $K$-valued signed $(n - d - 1)$-wise independent measure $\mu : E \to K$ whose total mass equals the discrepancy.
  4. Hadamard Obstruction Beating Rao at $d = n - 3$ (parity_deg_n_sub_3_hadamard_obstruction, L1585):
    When $n \ge 3$, $n \not\equiv 3 \pmod 4$, and $\operatorname{char}(K) = 0$ or $\operatorname{char}(K) = p \ge n$ (odd prime), every degree-$\le (n-3)$ approximation of $\mathrm{PARITY}_n$ satisfies
    $$|E| \ge n + 2 > n + 1 = \mathrm{Rao}(n, 2),$$

    proved via exact square-matrix Gram inversion $V V^T = \operatorname{diag}(h^{-1})$ over $K$ combined with the Hamming-distance triangle parity identity (hammingDist_triangle_even, L1566).
  5. Exact $\mathbb{F}_4$ Linear Lift for $\mathrm{MOD}_3$ over $\mathbb{F}_2$ (mod3_over_F2_sharp_error_bound, L2009):
    Constructing an explicit 4-element field F4 (L1797) with $\omega^3 = 1$, $\omega \ne 0, 1$, the degree-$(d+1)$ linear lift $P(y) = (\omega^2 + y_0) Q(y) + Q(y \oplus e_0)$ converts any degree-$\le d$ $\mathbb{F}_2$-polynomial $Q$ approximating $\mathrm{MOD}_3(y) = \mathbf{1}[3 \nmid |y|]$ into an $\mathbb{F}_4$-approximation of $\omega^{|y|}$ with at most $2|E(Q,\mathrm{MOD}_3)|$ errors, yielding
    $$\mathrm{Rao}(n, n - d - 2) \le 2\,|E(Q, \mathrm{MOD}_3)| \qquad (\forall\, n \ge 1,\; d + 1 < n).$$

Pillar 2 — Field-Universal Two-Term Threshold/Majority Bound & End-to-End DAG $\mathrm{AC}^0[p]$ Lower Bounds

Let $m = \min(k - 1, n - k)$ and define the two-term bound (sharpThrBound, L2116):

$$B(n, m, d) := \sum_{j=0}^{m-d} \binom{n}{j} + \sum_{j = (m - 2d + 1)_+}^{m-d} \binom{n - d}{j}.$$
  1. Field-Universal Two-Term Threshold Error Bound (sharp_threshold_polynomial_error_bound, L2666):
    Over every field $K$ (any characteristic), for $1 \le k \le n$ and $0 \le d \le m = \min(k-1, n-k)$, every degree-$\le d$ polynomial $P$ satisfies
    $$|E(P, \mathrm{THR}_k^n)| \ge B(n, m, d).$$

    The proof introduces a maximal-monomial degree-separation theorem (mul01_has_high_monomial, L2233) establishing linear independence of two disjoint-support layers (exact-degree case sharp_threshold_exact_deg, L2352), combined with Vandermonde monotonicity in $d$ (sharpThrBound_antitone, L2648).
  2. Exactness at $d = 1$ and $d = m$ for Majority:
    • majority_deg1_exact (L2792): For every $m \ge 1$ and every field $K$, $\min_{\deg P \le 1} |E(P, \mathrm{MAJ}_{2m+1})| = 2 \sum_{j=0}^{m-1} \binom{2m}{j}$, attained by the dictator $x_0$.
    • majority_deg_half_sharp (L2938): At $d = m$, $|E(P, \mathrm{MAJ}_{2m+1})| \ge 2$ over every field $K$ (doubling the classical $\binom{n}{0} = 1$ bound).
    • majority5_deg2_F2_attains_two (L2953): On $\mathrm{MAJ}_5 / \mathbb{F}_2$ at $d = 2$, $P(x) = e_2(x) + e_1(x) + 1$ attains $|E| = 2$ identically!
  3. End-to-End DAG $\mathrm{AC}^0[p]$ Circuit Approximation & Lower Bounds:
    Modeling arbitrary topologically-ordered DAG circuits with unbounded fan-in $\mathrm{OR}$, $\mathrm{AND}$, $\mathrm{MOD}_p$, and $\mathrm{NOT}$ gates (AC0pCircuit, L3033):
    • ac0p_probabilistic_polynomial_approx (L3424): Pure finite-sum Razborov–Smolensky randomized-polynomial approximation producing a deterministic $P \in \mathbb{F}_p[x_1,\dots,x_n]$ with $\deg P \le \mathrm{polyDeg}(C, k)$ and $p^k \cdot |E(P, C)| \le \mathrm{orAndCount}(C) \cdot 2^n$.
    • ac0p_parity_lower_bound (L3910): For any odd prime $p$, $p^k \cdot \mathrm{Rao}(n, n - \mathrm{polyDeg}(C, k) - 1) \le \mathrm{orAndCount}(C) \cdot 2^n$.
    • ac02_mod3_lower_bound (L3962): For $p = 2$, $2^k \cdot \mathrm{Rao}(n, n - \mathrm{polyDeg}(C, k) - 2) \le 2 \cdot \mathrm{orAndCount}(C) \cdot 2^n$.
    • ac0p_threshold_lower_bound (L3985): For every prime $p$ (including $p = 2$) and threshold $t$, $p^k \cdot B(n, \min(t-1, n-t), \mathrm{polyDeg}(C, k)) \le \mathrm{orAndCount}(C) \cdot 2^n$.

Pillar 3 — Exact Simultaneous Size & Depth Karchmer–Wigderson Equivalences & Duality

  1. Exact Monotone KW Equivalence (monotone_kw_exact_equivalence, L4430):
    For every non-constant Boolean function $f$ and every $(L, d) \in \mathbb{N}^2$:
    $$(\exists F : \mathrm{MonotoneFormula}\;n,\; F = f \land \mathrm{leafSize}(F) \le L \land \mathrm{depth}(F) \le d) \iff (\exists P : \mathrm{MKWProtocol}\;n,\; P\text{ solves }(f^{-1}(1), f^{-1}(0)) \land \mathrm{leafSize}(P) \le L \land \mathrm{depth}(P) \le d),$$

    proved using empty-branch-pruned protocol extraction (exists_formula_of_mkw, L4303) preserving leaf-size, depth, and per-variable leaf counts simultaneously.
  2. Exact Monotone De Morgan Duality (monotone_duality_exact, L4452):
    $f$ and $f^\dagger(x) = \neg f(\neg x)$ have identical simultaneous $(L, d)$ monotone formula realizability (and per-variable leaf counts).
  3. Exact General De Morgan KW Equivalence (general_kw_exact_equivalence, L4703):
    Simultaneous $(L, d)$ iff between DeMorganFormula n and KWProtocol n.

Pillar 4 — Bilinear Spectral Adversary Composition, Multiplicative Witness Composition, and Exact Hansel–Kraft Bounds

  1. Per-Variable Weighted Bilinear Spectral Adversary Bounds (mkw_bilinear_adversary_bound, L4754; kw_bilinear_adversary_bound, L4885):
    Using a sqrt-free, division-free 2-term Cauchy–Schwarz lemma (sq_add_le_mul_add, L4735), any protocol $P$ solving $(A, B)$ satisfies
    $$\Big(\sum_{x \in A}\sum_{y \in B} u_x M_{x,y} v_y\Big)^2 \le \Big(\sum_{i=1}^n \mathrm{leafCount}_P(i)\cdot C_i\Big)\Big(\sum_{x \in A} u_x^2\Big)\Big(\sum_{y \in B} v_y^2\Big),$$

    whenever each coordinate-masked matrix $M_i$ has squared operator norm $\le C_i$.
    Immediate corollaries:
    • monotone_formula_khrapchenko_thr (L5116): $L^+(\mathrm{THR}_k^n) \ge k(n - k + 1)$ for all $1 \le k \le n$.
    • demorgan_formula_khrapchenko_parity (L5225): $L(\mathrm{PARITY}_n) \ge n^2$ for all $n \ge 1$.
  2. Exact Multiplicative Witness Composition & Iterated Majority (monotoneDist1Witness_compose_mult, L5463; iterMaj3_monotone_formula_lb, L5791):
    Composing any uniform-weight outer monotone distance-1 witness $W_f$ with any inner witness $W_g$ yields an explicit witness $W_{f \circ g}$ whose Khrapchenko ratio multiplies identically:
    $$|E_{f\circ g}|^2 \cdot |A_f||B_f||A_g||B_g| = |E_f|^2 |E_g|^2 \cdot |A_{f\circ g}||B_{f\circ g}|.$$

    Iterating on $\mathrm{MAJ}_3$ gives for every $t \in \mathbb{N}$:
    $$L^+(\mathrm{MAJ}_3^{\circ t}) \ge 4^t \qquad\text{and}\qquad D^+(\mathrm{MAJ}_3^{\circ t}) \ge 2t.$$
  3. Exact Hansel–Kraft Monotone Formula Theory (monotone_graph_kraft_inequality, L6139; thr2_exact_monotone_formula_size, L6433):
    Extracting a disjoint-side bipartite cover (monotone_bipartite_cover_extract, L5928) and proving the Katona–Szemerédi coin-flip Kraft inequality via pure finite sums (bipartite_cover_kraft_ineq, L6036) yields $\sum_{i \in C} 2^{-\mathrm{varCount}_F(i)} \le 1$ on every covered clique $C$. Pairing a zero-calculus tangent-line minimization (kraft_sum_tangent_lb, L6192) with an explicit balanced-bisection construction (thr2Formula, L6252) proves the exact monotone formula size for all $n \ge 2$:
    $$L^+(\mathrm{THR}_2^n) = n(\lfloor \log_2 n\rfloor + 2) - 2^{\lfloor \log_2 n\rfloor + 1}.$$
  4. Restriction–Duality–Kraft Bound for General $\mathrm{THR}_k^n$ (thr_k_restriction_duality_kraft_bound, L6529):
    Averaging monotone true-restrictions (restrictTrue, L6471) over all $\binom{n}{n-k+2}$ subsets of size $n-k+2$ on both $F$ and $F^\dagger$ yields, with $M := \max(n - k + 2, k + 1)$ and $k_0 := \lfloor \log_2 M\rfloor$:
    $$M \sum_{i=1}^n 2^{-\mathrm{varCount}_F(i)} \le n \qquad\text{and}\qquad n\big(M(k_0 + 2) - 2^{k_0+1}\big) \le M \cdot L^+(F).$$

    At $k = 2$ ($M = n$) this recovers the exact Hansel–Kraft minimum; for every fixed $k \ge 3$ it gives $\Omega(n \log n)$ explicitly, strictly beating Khrapchenko's linear $k(n - k + 1)$ bound (e.g. for $k=3$: at $n=20$ gives $102 > 54$, at $n=100$ gives $749 > 294$).

Prior-Art Comparison Through November 2026

TopicPrior Art (through Nov 2026)What This Work Proves & Formalizes
Low-degree parity / $\chi_\omega$ approximationRazborov (1987), Smolensky (1987, 1993): $\|E\| \ge \sum_{j=0}^{\lfloor (n-d-1)/2\rfloor}\binom{n}{j}$ over $\operatorname{char} \ne 2$; Rao (1947) orthogonal-array bound; Kopparty–Srinivasan (2012) asymptotic $\mathrm{AC}^0[p]$ correlation.Universal odd/even-strength Gram–Smolensky (universal_gram_smolensky_bound) for every field (including $\operatorname{char}=2$) and $\omega \ne 0, 1$, beating Smolensky by $\binom{n-1}{(n+d)/2}$ for every even $n+d$; exact signed-cubature iff (parity_approx_iff_signed_design); Hadamard obstruction $|E| \ge n+2$ beating Rao's $n+1$ at $d=n-3, n\not\equiv 3\pmod 4$ (parity_deg_n_sub_3_hadamard_obstruction); exact $\mathbb{F}_4$ linear lift for $\mathrm{MOD}_3$ over $\mathbb{F}_2$ (mod3_over_F2_sharp_error_bound).
Threshold / Majority low-degree approximation & $\mathrm{AC}^0[p]$Razborov (1987) & Smolensky (1987) single-term $\sum_{j=0}^{m-d}\binom{n}{j}$ bound (or asymptotic $1/2 - O(d/\sqrt{n})$); Filmus–Meir–Tal / Rossman degree-vs-threshold bounds.Field-universal two-term threshold bound (sharp_threshold_polynomial_error_bound) adding $\sum_{j=(m-2d+1)_+}^{m-d}\binom{n-d}{j}$ over all fields; exact at $d=1$ (majority_deg1_exact) and $d=m$ (majority_deg_half_sharp, majority5_deg2_F2_attains_two, doubling Smolensky's $1$ to $2$); full DAG $\mathrm{AC}^0[p]$ finite-sum probabilistic polynomial approximation (ac0p_probabilistic_polynomial_approx) and non-asymptotic circuit bounds (ac0p_parity_lower_bound, ac02_mod3_lower_bound, ac0p_threshold_lower_bound).
Karchmer–Wigderson games & formula complexityKarchmer–Wigderson (1990) monotone & general KW games; Raz–McKenzie (1999), Garg–Göös–Kamath–Sokolov (2018), de Rezende–Nordström–Risse–Sokolov, Cavalar–Kumar–Rossman (2020), Cavalar–Göös–Riazanov–Sofronova–Sokolov (arXiv:2507.16105, STOC 2026), arXiv:2501.09545 (CCC 2025), arXiv:2410.10189, arXiv:2610.34474 (mostly asymptotic lifting / monotone circuit depth).Exact simultaneous $(L, d)$ KW equivalences with empty-branch pruning preserving per-variable leaf counts (monotone_kw_exact_equivalence, general_kw_exact_equivalence, monotone_duality_exact); zero prior Lean 4 / Mathlib formalization of KW games, Khrapchenko, or Hansel–Kraft.
Adversary composition & Hansel–Kraft monotone formula boundsKhrapchenko (1971), Koutsoupias (1993), Laplante–Lee–Szegedy (2006) spectral adversary; Hansel (1964) & Katona–Szemerédi (1967) bipartite-cover bound for $\mathrm{THR}_2^n$; Razborov (1985), Alon–Boppana (1987) monotone clique circuits.Sqrt-free per-variable bilinear spectral adversary (mkw_bilinear_adversary_bound, kw_bilinear_adversary_bound); exact multiplicative distance-1 witness composition (monotoneDist1Witness_compose_mult) giving $L^+(\mathrm{MAJ}_3^{\circ t}) \ge 4^t, D^+ \ge 2t$; exact $L^+(\mathrm{THR}_2^n) = n(\lfloor\log_2 n\rfloor+2)-2^{\lfloor\log_2 n\rfloor+1}$ with constructive optimal formula (thr2_exact_monotone_formula_size); exact non-asymptotic Restriction–Duality–Kraft bound for all $2 \le k \le n-1$ (thr_k_restriction_duality_kraft_bound).

Novelty Receipt & Zero-Overlap Verification

  • Novelty Receipt (verified through Nov 2026):
    1. Mathematical advances: (a) Field-universal odd/even-strength Gram–Smolensky bound over arbitrary fields (including $\operatorname{char}=2$) with exact signed-cubature duality and the explicit $d = n-3$ Hadamard obstruction beating Rao's bound over $\operatorname{char} 0$ and large odd primes; (b) field-universal two-term threshold/majority approximation bound via maximal-monomial degree-separation (mul01_has_high_monomial) + Vandermonde monotonicity, exact at $d=1$ and $d=m$; (c) exact multiplicative distance-1 Khrapchenko witness composition for uniform-weight outer witnesses; (d) symmetrized Restriction–Duality–Kraft integer lower bound for $\mathrm{THR}_k^n$ interpolating exact $k=2$ optimality and $\Omega(n\log n)$ bounds for all fixed $k \ge 3$.
    2. Formalization novelty: First Lean 4 formalization of the Razborov–Smolensky polynomial method (including full DAG $\mathrm{AC}^0[p]$ circuits and $\mathbb{F}_4$ $\mathrm{MOD}_3$ lifting), exact simultaneous size/depth monotone & general Karchmer–Wigderson game equivalences, bilinear spectral adversary bounds, and exact Hansel–Kraft monotone formula size bounds.
  • Strict Zero Overlap:
    • Zero overlap with open-sunflower-spread-bounds (no standalone sunflower or spread lemma).
    • Zero overlap with open-communication-complexity-frontiers (no protocol-tree balancing or direct-sum communication bounds).
    • Zero overlap with open-query-logrank-separations (no Log-Rank monochromatic rectangle or query-complexity separations).

Python Computational Verification (verify_kw_smolensky.py)

Running python3 -W error verify_kw_smolensky.py exits with code 0 and 0 warnings, independently checking:

  • Pillar 1: Exhaustive $\mathbb{F}_3, \mathbb{F}_5$ low-degree parity error searches, exactness at $d \in \{0, n-2, n-1\}$, Hadamard obstruction at $d = n-3$ ($n \not\equiv 3 \pmod 4$), and exact $\mathbb{F}_4$ linear lift $P(y) = (\omega^2 + y_0)\mathrm{MOD}_3(y) + \mathrm{MOD}_3(y \oplus e_0) = \omega^{|y|}$ for $n = 1,\dots,6$.
  • Pillar 2: Sharp two-term threshold/majority bound monotonicity for $n \le 30$, exactness at $d=1$ and $d=m$, exhaustive checks over $\mathbb{F}_2, \mathbb{F}_3$ (including $\mathrm{MAJ}_5 / \mathbb{F}_2$ witness $e_2 + e_1 + 1$ attaining $|E| = 2$), and exact Razborov–Smolensky OR-gate linear-form kernel counts $p^{m-1}$ for $p \in \{2, 3, 5\}$.
  • Pillars 3 & 4: Exact Hansel–Kraft closed form $L^+(\mathrm{THR}_2^n) = n(\lfloor \log_2 n\rfloor + 2) - 2^{\lfloor \log_2 n\rfloor + 1}$ for $n = 2,\dots,199$, constructive thr2Formula truth-table verification on all $2^n$ inputs for $n = 2,\dots,8$, Restriction–Duality–Kraft strictly beating Khrapchenko on $\mathrm{THR}_3^n$ ($n \in \{11, 20, 50, 100\}$), and bilinear spectral adversary / Khrapchenko composition identities.

Reproduction Commands

# 1. Verify Lean 4 formalization (15.7s wall time, 0 errors, 0 warnings, 26/26 clean #print axioms)
cd /Users/arthurcolle/math_rip/new-results/collatz-coalescence && \
  lake env lean /Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean

# 2. Run Python verification under strict warnings-as-errors
python3 -W error /Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/verify_kw_smolensky.py

Complete Line-Numbered Inventory (MonotoneKWAndSmolenskyBounds.lean, 244 Declarations)

Section 0 — Combinatorial Binomial Sums & Multilinear Polynomial Algebra

LineKindName
69defbinomSum
73lemmacard_filter_card_le
96defraoBound
101lemmabinomSum_self
105lemmabinomSum_add_compl
146lemmaraoBound_pred
190abbrevMultiPoly
193defHasDegLe
197defpolySpaceDegLe
204lemmafinrank_polySpaceDegLe
234defevalOn
239defeval01
243defevalPM
247defevalOmega
252defboolSupp
256defhammingWeight
260lemmaprod_boolBit
277lemmaeval01_eq_sum_powerset
288lemmasum_powerset_neg_one_pow
318defindicatorBool
321lemmaboolSupp_indicatorBool
327defmobiusCoeff
331lemmaeval01_mobiusCoeff
388lemmamobiusCoeff_eval01
442lemmaeq_zero_of_eval01_eq_zero
450defmul01
453lemmaeval01_mul01
495lemmahasDegLe_mul01
513lemmahasDegLe_add
517lemmahasDegLe_sub
521lemmahasDegLe_smul
525lemmahasDegLe_mono
530defconstPoly
533lemmaeval01_constPoly
542lemmahasDegLe_constPoly
550defvarPoly
553lemmaeval01_varPoly
577lemmahasDegLe_varPoly
587lemmaeval01_add
591lemmaeval01_sub
595lemmaeval01_smul
600defpow01
604lemmaeval01_pow01
610lemmahasDegLe_pow01

Section 1 (Pillar 1) — Universal Gram–Smolensky, Cubature Duality, Hadamard Obstruction, $\mathbb{F}_4$ $\mathrm{MOD}_3$

LineKindName
624deftopCoeffFunctional
628lemmatopCoeffFunctional_eval01
649lemmatopCoeffFunctional_eq_zero_of_hasDegLe
656defprodChar
660lemmaprodChar_eq_prod
666definvMonomial
671lemmaexists_poly_invMonomial
695lemmatopCoeffFunctional_prodChar_mul_invMonomial
770lemmainvMonomial_mul_expand
835theoremgram_rank_lower_bound
942defraoFamily
951lemmacard_raoFamily
995lemmaraoFamily_union_card_le
1023theoremuniversal_gram_smolensky_bound (Headline #1)
1076theoremgram_smolensky_deg0_exact (Headline #2)
1087theoremgram_smolensky_deg_n_sub_2_sharp (Headline #3)
1254theoremparity_approx_iff_signed_design (Headline #4)
1561defhammingDist
1566lemmahammingDist_triangle_even
1585theoremparity_deg_n_sub_3_hadamard_obstruction (Headline #5)
1797structureF4
1804defF4.zero
1805defF4.one
1806defF4.omega
1807defF4.omega2
1809defF4.add
1810defF4.mul
1811defF4.inv
1817instanceZero F4
1818instanceOne F4
1819instanceAdd F4
1820instanceNeg F4
1821instanceSub F4
1822instanceMul F4
1823instanceInv F4
1825lemmaF4.eq_cases
1829instanceFintype F4
1834instanceField F4
1881defF4.ofZMod2
1883lemmaF4.ofZMod2_zero
1884lemmaF4.ofZMod2_one
1885lemmaF4.ofZMod2_add
1887lemmaF4.ofZMod2_mul
1890lemmaF4.omega_ne_zero
1891lemmaF4.omega_ne_one
1892lemmaF4.omega_cube
1894lemmaF4.omega_pow_mod3
1904defmod3Bool
1908defliftPolyF4
1911lemmaeval01_liftPolyF4
1919lemmahasDegLe_liftPolyF4
1924defflipVarPoly
1927lemmahasDegLe_flipVarPoly
1938lemmaeval01_flipVarPoly
2009theoremmod3_over_F2_sharp_error_bound (Headline #6)

Section 2 (Pillar 2) — Sharp Two-Term Threshold/Majority Bound & DAG $\mathrm{AC}^0[p]$ Lower Bounds

LineKindName
2107defthrFun
2111defmajFun
2116defsharpThrBound
2121defcompPoly
2124lemmahasDegLe_compPoly
2135lemmaeval01_compPoly
2184lemmaeq_zero_of_eval01_eq_zero_on_low_weight
2210lemmaeq_zero_of_eval01_eq_zero_on_high_weight
2233lemmamul01_has_high_monomial
2299lemmacard_disjoint_high_layer
2322lemmamul01_add_right
2331lemmamul01_smul_right
2340lemmamul01_one_sub
2352theoremsharp_threshold_exact_deg
2551lemmasharpThrBound_antitone_step
2648lemmasharpThrBound_antitone
2666theoremsharp_threshold_polynomial_error_bound (Headline #7)
2792theoremmajority_deg1_exact (Headline #8)
2938theoremmajority_deg_half_sharp (Headline #9)
2953theoremmajority5_deg2_F2_attains_two (Headline #10)
3016inductiveAC0pGateKind
3025structureAC0pGate
3033structureAC0pCircuit
3039defAC0pCircuit.orAndCount
3044lemmamul01_comm
3048lemmamul01_assoc
3052instanceinstStdCommMul01
3055instanceinstStdAssocMul01
3059defAC0pCircuit.evalWire
3079defAC0pCircuit.evalBool
3082defAC0pCircuit.evalZMod
3086defAC0pCircuit.wireDeg
3107defAC0pCircuit.polyDeg
3112abbrevRSSeed
3115defAC0pCircuit.wirePoly
3150lemmaAC0pCircuit.evalWire_gate
3188lemmaAC0pCircuit.wirePoly_gate
3238lemmaeval01_fold_mul01
3246lemmahasDegLe_fold_mul01
3256lemmaeval01_sum
3265lemmahasDegLe_sum
3273lemmaAC0pCircuit.hasDegLe_wirePoly
3332lemmacard_linear_form_zero_eq
3387lemmacard_k_linear_forms_zero_eq
3424theoremac0p_probabilistic_polynomial_approx (Headline #11)
3910theoremac0p_parity_lower_bound (Headline #12)
3962theoremac02_mod3_lower_bound (Headline #13)
3985theoremac0p_threshold_lower_bound (Headline #14)

Section 3 (Pillar 3) — Exact Karchmer–Wigderson Game Equivalences & De Morgan Duality

LineKindName
4006inductiveMonotoneFormula
4014defMonotoneFormula.eval
4020defMonotoneFormula.leafSize
4026defMonotoneFormula.depth
4032defMonotoneFormula.varCount
4037lemmaMonotoneFormula.sum_varCount
4044lemmaMonotoneFormula.leafSize_le_two_pow_depth
4060lemmaMonotoneFormula.eval_monotone
4074defMonotoneFormula.dual
4079lemmaMonotoneFormula.eval_dual
4086lemmaMonotoneFormula.leafSize_dual
4092lemmaMonotoneFormula.depth_dual
4098lemmaMonotoneFormula.varCount_dual
4106defMonotoneFormula.mapVars
4111lemmaMonotoneFormula.eval_mapVars
4118lemmaMonotoneFormula.leafSize_mapVars
4125lemmaMonotoneFormula.depth_mapVars
4134defMonotoneFormula.compose
4144lemmaMonotoneFormula.eval_compose
4157lemmaMonotoneFormula.leafSize_compose
4164lemmaMonotoneFormula.depth_compose
4178inductiveMKWProtocol
4185defMKWProtocol.run
4190defMKWProtocol.leafSize
4195defMKWProtocol.depth
4200defMKWProtocol.leafCount
4205lemmaMKWProtocol.sum_leafCount
4213defMKWProtocol.Solves
4218defMKWProtocol.ofFormula
4225defMKWProtocol.toFormula
4230lemmaMKWProtocol.leafSize_ofFormula
4237lemmaMKWProtocol.depth_ofFormula
4244lemmaMKWProtocol.leafCount_ofFormula
4251lemmaMKWProtocol.ofFormula_solves
4278lemmaMKWProtocol.leafSize_toFormula
4285lemmaMKWProtocol.depth_toFormula
4292lemmaMKWProtocol.varCount_toFormula
4303theoremMKWProtocol.exists_formula_of_mkw
4430theoremmonotone_kw_exact_equivalence (Headline #15)
4452theoremmonotone_duality_exact (Headline #16)
4470inductiveDeMorganFormula
4477defDeMorganFormula.eval
4482defDeMorganFormula.leafSize
4487defDeMorganFormula.depth
4492defDeMorganFormula.varCount
4497lemmaDeMorganFormula.sum_varCount
4508inductiveKWProtocol
4515defKWProtocol.run
4520defKWProtocol.leafSize
4525defKWProtocol.depth
4530defKWProtocol.leafCount
4535defKWProtocol.Solves
4540defKWProtocol.ofFormula
4545lemmaKWProtocol.leafSize_ofFormula
4552lemmaKWProtocol.depth_ofFormula
4559lemmaKWProtocol.leafCount_ofFormula
4566lemmaKWProtocol.ofFormula_solves
4591theoremKWProtocol.exists_formula_of_kw
4703theoremgeneral_kw_exact_equivalence (Headline #17)

Section 4 (Pillar 4) — Bilinear Spectral Adversary, Multiplicative Composition, and Exact Hansel–Kraft Bounds

LineKindName
4729defBilinearSpectralBound
4735lemmasq_add_le_mul_add
4754theoremmkw_bilinear_adversary_bound (Headline #18)
4885theoremkw_bilinear_adversary_bound (Headline #19)
4997lemmabilinearSpectralBound_partial_matching
5047structureMonotoneDist1Witness
5061theoremmonotoneDist1Witness_leafSize_lb
5116theoremmonotone_formula_khrapchenko_thr (Headline #20)
5225theoremdemorgan_formula_khrapchenko_parity (Headline #21)
5415defcomposeBoolFun
5424defpackBlocks
5439lemmapackBlocks_apply
5450lemmapackBlocks_injective
5463theoremmonotoneDist1Witness_compose_mult (Headline #22)
5780defiterMaj3
5791theoremiterMaj3_monotone_formula_lb (Headline #23)
5909defsingletonSet
5913abbrevBipCover
5915defBipCover.deg
5918defBipCover.CoversEdge
5921defBipCover.IsDisjoint
5928theoremmonotone_bipartite_cover_extract
6036theorembipartite_cover_kraft_ineq
6139theoremmonotone_graph_kraft_inequality (Headline #24)
6157lemmatwo_zpow_neg_ge_tangent
6192lemmakraft_sum_tangent_lb
6207deforAll
6214lemmaeval_orAll
6240lemmaleafSize_orAll
6252defthr2Formula
6278lemmahansel_kraft_bisection_eq
6344lemmaleafSize_thr2Formula
6361lemmaeval_thr2Formula
6433theoremthr2_exact_monotone_formula_size (Headline #25)
6471defrestrictTrue
6484lemmaeval_restrictTrue
6500lemmavarCount_restrictTrue_le
6529theoremthr_k_restriction_duality_kraft_bound (Headline #26)

Verbatim #print axioms Output

'MonotoneKWSmolensky.universal_gram_smolensky_bound' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.gram_smolensky_deg0_exact' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.gram_smolensky_deg_n_sub_2_sharp' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.parity_approx_iff_signed_design' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.parity_deg_n_sub_3_hadamard_obstruction' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.mod3_over_F2_sharp_error_bound' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.sharp_threshold_polynomial_error_bound' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.majority_deg1_exact' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.majority_deg_half_sharp' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.majority5_deg2_F2_attains_two' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.ac0p_probabilistic_polynomial_approx' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.ac0p_parity_lower_bound' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.ac02_mod3_lower_bound' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.ac0p_threshold_lower_bound' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.monotone_kw_exact_equivalence' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.monotone_duality_exact' depends on axioms: [propext, Quot.sound]
'MonotoneKWSmolensky.general_kw_exact_equivalence' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.mkw_bilinear_adversary_bound' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.kw_bilinear_adversary_bound' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.monotone_formula_khrapchenko_thr' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.demorgan_formula_khrapchenko_parity' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.monotoneDist1Witness_compose_mult' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.iterMaj3_monotone_formula_lb' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.monotone_graph_kraft_inequality' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.thr2_exact_monotone_formula_size' depends on axioms: [propext, Classical.choice, Quot.sound]
'MonotoneKWSmolensky.thr_k_restriction_duality_kraft_bound' depends on axioms: [propext, Classical.choice, Quot.sound]
ZITADEL IDENTITY · auth.distributed.systems

Researcher Identity & AI Attribution

Loading account state...