# Sharp Non-Asymptotic Razborov–Smolensky Polynomial Approximation, $\mathrm{AC}^0[p]$ Lower Bounds, Exact Karchmer–Wigderson Equivalences, and Hansel–Kraft Monotone Formula Complexity **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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean) (6,768 lines; 33 `theorem`s [26 headline + 7 structural], 110 `lemma`s, 101 `def`/`abbrev`/`structure`/`inductive`/`instance`s = **244 declarations**) - Python computational verifier: [verify_kw_smolensky.py](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/verify_kw_smolensky.py) (exit 0 with zero warnings under `python3 -W error`) - Documentation & inventory: [README.md](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L666)) against the top-degree Möbius functional (`topCoeffFunctional`, [L624](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L624)) over the Rao family (`raoFamily`, [L942](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1076)): $|E| \ge 2^{n-1}$ for all $n \ge 1$. - `gram_smolensky_deg_n_sub_2_sharp` ([L1087](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1566)). 5. **Exact $\mathbb{F}_4$ Linear Lift for $\mathrm{MOD}_3$ over $\mathbb{F}_2$ (`mod3_over_F2_sharp_error_bound`, [L2009](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2009)):** Constructing an explicit 4-element field `F4` ([L1797](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2233)) establishing linear independence of two disjoint-support layers (exact-degree case `sharp_threshold_exact_deg`, [L2352](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2352)), combined with Vandermonde monotonicity in $d$ (`sharpThrBound_antitone`, [L2648](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2648)). 2. **Exactness at $d = 1$ and $d = m$ for Majority:** - `majority_deg1_exact` ([L2792](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3033)): - `ac0p_probabilistic_polynomial_approx` ([L3424](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4303)) preserving leaf-size, depth, and per-variable leaf counts simultaneously. 2. **Exact Monotone De Morgan Duality (`monotone_duality_exact`, [L4452](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4754); `kw_bilinear_adversary_bound`, [L4885](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4885)):** Using a sqrt-free, division-free 2-term Cauchy–Schwarz lemma (`sq_add_le_mul_add`, [L4735](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5116)): $L^+(\mathrm{THR}_k^n) \ge k(n - k + 1)$ for all $1 \le k \le n$. - `demorgan_formula_khrapchenko_parity` ([L5225](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5225)): $L(\mathrm{PARITY}_n) \ge n^2$ for all $n \ge 1$. 2. **Exact Multiplicative Witness Composition & Iterated Majority (`monotoneDist1Witness_compose_mult`, [L5463](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5463); `iterMaj3_monotone_formula_lb`, [L5791](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6139); `thr2_exact_monotone_formula_size`, [L6433](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6433)):** Extracting a disjoint-side bipartite cover (`monotone_bipartite_cover_extract`, [L5928](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5928)) and proving the Katona–Szemerédi coin-flip Kraft inequality via pure finite sums (`bipartite_cover_kraft_ineq`, [L6036](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6192)) with an explicit balanced-bisection construction (`thr2Formula`, [L6252](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6529)):** Averaging monotone `true`-restrictions (`restrictTrue`, [L6471](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#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 | Topic | Prior Art (through Nov 2026) | What This Work Proves & Formalizes | |---|---|---| | **Low-degree parity / $\chi_\omega$ approximation** | Razborov (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 complexity** | Karchmer–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 bounds** | Khrapchenko (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 ```bash # 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 | Line | Kind | Name | |---:|---|---| | [69](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L69) | `def` | `binomSum` | | [73](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L73) | `lemma` | `card_filter_card_le` | | [96](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L96) | `def` | `raoBound` | | [101](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L101) | `lemma` | `binomSum_self` | | [105](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L105) | `lemma` | `binomSum_add_compl` | | [146](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L146) | `lemma` | `raoBound_pred` | | [190](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L190) | `abbrev` | `MultiPoly` | | [193](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L193) | `def` | `HasDegLe` | | [197](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L197) | `def` | `polySpaceDegLe` | | [204](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L204) | `lemma` | `finrank_polySpaceDegLe` | | [234](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L234) | `def` | `evalOn` | | [239](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L239) | `def` | `eval01` | | [243](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L243) | `def` | `evalPM` | | [247](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L247) | `def` | `evalOmega` | | [252](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L252) | `def` | `boolSupp` | | [256](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L256) | `def` | `hammingWeight` | | [260](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L260) | `lemma` | `prod_boolBit` | | [277](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L277) | `lemma` | `eval01_eq_sum_powerset` | | [288](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L288) | `lemma` | `sum_powerset_neg_one_pow` | | [318](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L318) | `def` | `indicatorBool` | | [321](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L321) | `lemma` | `boolSupp_indicatorBool` | | [327](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L327) | `def` | `mobiusCoeff` | | [331](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L331) | `lemma` | `eval01_mobiusCoeff` | | [388](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L388) | `lemma` | `mobiusCoeff_eval01` | | [442](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L442) | `lemma` | `eq_zero_of_eval01_eq_zero` | | [450](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L450) | `def` | `mul01` | | [453](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L453) | `lemma` | `eval01_mul01` | | [495](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L495) | `lemma` | `hasDegLe_mul01` | | [513](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L513) | `lemma` | `hasDegLe_add` | | [517](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L517) | `lemma` | `hasDegLe_sub` | | [521](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L521) | `lemma` | `hasDegLe_smul` | | [525](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L525) | `lemma` | `hasDegLe_mono` | | [530](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L530) | `def` | `constPoly` | | [533](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L533) | `lemma` | `eval01_constPoly` | | [542](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L542) | `lemma` | `hasDegLe_constPoly` | | [550](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L550) | `def` | `varPoly` | | [553](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L553) | `lemma` | `eval01_varPoly` | | [577](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L577) | `lemma` | `hasDegLe_varPoly` | | [587](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L587) | `lemma` | `eval01_add` | | [591](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L591) | `lemma` | `eval01_sub` | | [595](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L595) | `lemma` | `eval01_smul` | | [600](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L600) | `def` | `pow01` | | [604](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L604) | `lemma` | `eval01_pow01` | | [610](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L610) | `lemma` | `hasDegLe_pow01` | ### Section 1 (Pillar 1) — Universal Gram–Smolensky, Cubature Duality, Hadamard Obstruction, $\mathbb{F}_4$ $\mathrm{MOD}_3$ | Line | Kind | Name | |---:|---|---| | [624](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L624) | `def` | `topCoeffFunctional` | | [628](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L628) | `lemma` | `topCoeffFunctional_eval01` | | [649](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L649) | `lemma` | `topCoeffFunctional_eq_zero_of_hasDegLe` | | [656](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L656) | `def` | `prodChar` | | [660](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L660) | `lemma` | `prodChar_eq_prod` | | [666](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L666) | `def` | `invMonomial` | | [671](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L671) | `lemma` | `exists_poly_invMonomial` | | [695](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L695) | `lemma` | `topCoeffFunctional_prodChar_mul_invMonomial` | | [770](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L770) | `lemma` | `invMonomial_mul_expand` | | [835](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L835) | `theorem` | `gram_rank_lower_bound` | | [942](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L942) | `def` | `raoFamily` | | [951](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L951) | `lemma` | `card_raoFamily` | | [995](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L995) | `lemma` | `raoFamily_union_card_le` | | [1023](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1023) | `theorem` | **`universal_gram_smolensky_bound`** *(Headline #1)* | | [1076](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1076) | `theorem` | **`gram_smolensky_deg0_exact`** *(Headline #2)* | | [1087](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1087) | `theorem` | **`gram_smolensky_deg_n_sub_2_sharp`** *(Headline #3)* | | [1254](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1254) | `theorem` | **`parity_approx_iff_signed_design`** *(Headline #4)* | | [1561](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1561) | `def` | `hammingDist` | | [1566](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1566) | `lemma` | `hammingDist_triangle_even` | | [1585](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1585) | `theorem` | **`parity_deg_n_sub_3_hadamard_obstruction`** *(Headline #5)* | | [1797](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1797) | `structure` | `F4` | | [1804](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1804) | `def` | `F4.zero` | | [1805](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1805) | `def` | `F4.one` | | [1806](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1806) | `def` | `F4.omega` | | [1807](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1807) | `def` | `F4.omega2` | | [1809](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1809) | `def` | `F4.add` | | [1810](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1810) | `def` | `F4.mul` | | [1811](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1811) | `def` | `F4.inv` | | [1817](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1817) | `instance` | `Zero F4` | | [1818](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1818) | `instance` | `One F4` | | [1819](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1819) | `instance` | `Add F4` | | [1820](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1820) | `instance` | `Neg F4` | | [1821](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1821) | `instance` | `Sub F4` | | [1822](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1822) | `instance` | `Mul F4` | | [1823](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1823) | `instance` | `Inv F4` | | [1825](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1825) | `lemma` | `F4.eq_cases` | | [1829](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1829) | `instance` | `Fintype F4` | | [1834](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1834) | `instance` | `Field F4` | | [1881](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1881) | `def` | `F4.ofZMod2` | | [1883](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1883) | `lemma` | `F4.ofZMod2_zero` | | [1884](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1884) | `lemma` | `F4.ofZMod2_one` | | [1885](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1885) | `lemma` | `F4.ofZMod2_add` | | [1887](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1887) | `lemma` | `F4.ofZMod2_mul` | | [1890](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1890) | `lemma` | `F4.omega_ne_zero` | | [1891](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1891) | `lemma` | `F4.omega_ne_one` | | [1892](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1892) | `lemma` | `F4.omega_cube` | | [1894](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1894) | `lemma` | `F4.omega_pow_mod3` | | [1904](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1904) | `def` | `mod3Bool` | | [1908](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1908) | `def` | `liftPolyF4` | | [1911](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1911) | `lemma` | `eval01_liftPolyF4` | | [1919](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1919) | `lemma` | `hasDegLe_liftPolyF4` | | [1924](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1924) | `def` | `flipVarPoly` | | [1927](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1927) | `lemma` | `hasDegLe_flipVarPoly` | | [1938](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L1938) | `lemma` | `eval01_flipVarPoly` | | [2009](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2009) | `theorem` | **`mod3_over_F2_sharp_error_bound`** *(Headline #6)* | ### Section 2 (Pillar 2) — Sharp Two-Term Threshold/Majority Bound & DAG $\mathrm{AC}^0[p]$ Lower Bounds | Line | Kind | Name | |---:|---|---| | [2107](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2107) | `def` | `thrFun` | | [2111](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2111) | `def` | `majFun` | | [2116](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2116) | `def` | `sharpThrBound` | | [2121](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2121) | `def` | `compPoly` | | [2124](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2124) | `lemma` | `hasDegLe_compPoly` | | [2135](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2135) | `lemma` | `eval01_compPoly` | | [2184](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2184) | `lemma` | `eq_zero_of_eval01_eq_zero_on_low_weight` | | [2210](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2210) | `lemma` | `eq_zero_of_eval01_eq_zero_on_high_weight` | | [2233](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2233) | `lemma` | `mul01_has_high_monomial` | | [2299](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2299) | `lemma` | `card_disjoint_high_layer` | | [2322](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2322) | `lemma` | `mul01_add_right` | | [2331](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2331) | `lemma` | `mul01_smul_right` | | [2340](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2340) | `lemma` | `mul01_one_sub` | | [2352](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2352) | `theorem` | `sharp_threshold_exact_deg` | | [2551](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2551) | `lemma` | `sharpThrBound_antitone_step` | | [2648](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2648) | `lemma` | `sharpThrBound_antitone` | | [2666](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2666) | `theorem` | **`sharp_threshold_polynomial_error_bound`** *(Headline #7)* | | [2792](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2792) | `theorem` | **`majority_deg1_exact`** *(Headline #8)* | | [2938](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2938) | `theorem` | **`majority_deg_half_sharp`** *(Headline #9)* | | [2953](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L2953) | `theorem` | **`majority5_deg2_F2_attains_two`** *(Headline #10)* | | [3016](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3016) | `inductive` | `AC0pGateKind` | | [3025](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3025) | `structure` | `AC0pGate` | | [3033](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3033) | `structure` | `AC0pCircuit` | | [3039](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3039) | `def` | `AC0pCircuit.orAndCount` | | [3044](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3044) | `lemma` | `mul01_comm` | | [3048](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3048) | `lemma` | `mul01_assoc` | | [3052](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3052) | `instance` | `instStdCommMul01` | | [3055](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3055) | `instance` | `instStdAssocMul01` | | [3059](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3059) | `def` | `AC0pCircuit.evalWire` | | [3079](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3079) | `def` | `AC0pCircuit.evalBool` | | [3082](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3082) | `def` | `AC0pCircuit.evalZMod` | | [3086](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3086) | `def` | `AC0pCircuit.wireDeg` | | [3107](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3107) | `def` | `AC0pCircuit.polyDeg` | | [3112](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3112) | `abbrev` | `RSSeed` | | [3115](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3115) | `def` | `AC0pCircuit.wirePoly` | | [3150](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3150) | `lemma` | `AC0pCircuit.evalWire_gate` | | [3188](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3188) | `lemma` | `AC0pCircuit.wirePoly_gate` | | [3238](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3238) | `lemma` | `eval01_fold_mul01` | | [3246](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3246) | `lemma` | `hasDegLe_fold_mul01` | | [3256](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3256) | `lemma` | `eval01_sum` | | [3265](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3265) | `lemma` | `hasDegLe_sum` | | [3273](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3273) | `lemma` | `AC0pCircuit.hasDegLe_wirePoly` | | [3332](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3332) | `lemma` | `card_linear_form_zero_eq` | | [3387](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3387) | `lemma` | `card_k_linear_forms_zero_eq` | | [3424](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3424) | `theorem` | **`ac0p_probabilistic_polynomial_approx`** *(Headline #11)* | | [3910](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3910) | `theorem` | **`ac0p_parity_lower_bound`** *(Headline #12)* | | [3962](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3962) | `theorem` | **`ac02_mod3_lower_bound`** *(Headline #13)* | | [3985](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L3985) | `theorem` | **`ac0p_threshold_lower_bound`** *(Headline #14)* | ### Section 3 (Pillar 3) — Exact Karchmer–Wigderson Game Equivalences & De Morgan Duality | Line | Kind | Name | |---:|---|---| | [4006](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4006) | `inductive` | `MonotoneFormula` | | [4014](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4014) | `def` | `MonotoneFormula.eval` | | [4020](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4020) | `def` | `MonotoneFormula.leafSize` | | [4026](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4026) | `def` | `MonotoneFormula.depth` | | [4032](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4032) | `def` | `MonotoneFormula.varCount` | | [4037](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4037) | `lemma` | `MonotoneFormula.sum_varCount` | | [4044](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4044) | `lemma` | `MonotoneFormula.leafSize_le_two_pow_depth` | | [4060](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4060) | `lemma` | `MonotoneFormula.eval_monotone` | | [4074](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4074) | `def` | `MonotoneFormula.dual` | | [4079](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4079) | `lemma` | `MonotoneFormula.eval_dual` | | [4086](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4086) | `lemma` | `MonotoneFormula.leafSize_dual` | | [4092](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4092) | `lemma` | `MonotoneFormula.depth_dual` | | [4098](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4098) | `lemma` | `MonotoneFormula.varCount_dual` | | [4106](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4106) | `def` | `MonotoneFormula.mapVars` | | [4111](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4111) | `lemma` | `MonotoneFormula.eval_mapVars` | | [4118](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4118) | `lemma` | `MonotoneFormula.leafSize_mapVars` | | [4125](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4125) | `lemma` | `MonotoneFormula.depth_mapVars` | | [4134](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4134) | `def` | `MonotoneFormula.compose` | | [4144](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4144) | `lemma` | `MonotoneFormula.eval_compose` | | [4157](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4157) | `lemma` | `MonotoneFormula.leafSize_compose` | | [4164](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4164) | `lemma` | `MonotoneFormula.depth_compose` | | [4178](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4178) | `inductive` | `MKWProtocol` | | [4185](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4185) | `def` | `MKWProtocol.run` | | [4190](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4190) | `def` | `MKWProtocol.leafSize` | | [4195](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4195) | `def` | `MKWProtocol.depth` | | [4200](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4200) | `def` | `MKWProtocol.leafCount` | | [4205](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4205) | `lemma` | `MKWProtocol.sum_leafCount` | | [4213](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4213) | `def` | `MKWProtocol.Solves` | | [4218](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4218) | `def` | `MKWProtocol.ofFormula` | | [4225](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4225) | `def` | `MKWProtocol.toFormula` | | [4230](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4230) | `lemma` | `MKWProtocol.leafSize_ofFormula` | | [4237](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4237) | `lemma` | `MKWProtocol.depth_ofFormula` | | [4244](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4244) | `lemma` | `MKWProtocol.leafCount_ofFormula` | | [4251](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4251) | `lemma` | `MKWProtocol.ofFormula_solves` | | [4278](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4278) | `lemma` | `MKWProtocol.leafSize_toFormula` | | [4285](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4285) | `lemma` | `MKWProtocol.depth_toFormula` | | [4292](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4292) | `lemma` | `MKWProtocol.varCount_toFormula` | | [4303](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4303) | `theorem` | `MKWProtocol.exists_formula_of_mkw` | | [4430](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4430) | `theorem` | **`monotone_kw_exact_equivalence`** *(Headline #15)* | | [4452](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4452) | `theorem` | **`monotone_duality_exact`** *(Headline #16)* | | [4470](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4470) | `inductive` | `DeMorganFormula` | | [4477](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4477) | `def` | `DeMorganFormula.eval` | | [4482](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4482) | `def` | `DeMorganFormula.leafSize` | | [4487](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4487) | `def` | `DeMorganFormula.depth` | | [4492](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4492) | `def` | `DeMorganFormula.varCount` | | [4497](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4497) | `lemma` | `DeMorganFormula.sum_varCount` | | [4508](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4508) | `inductive` | `KWProtocol` | | [4515](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4515) | `def` | `KWProtocol.run` | | [4520](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4520) | `def` | `KWProtocol.leafSize` | | [4525](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4525) | `def` | `KWProtocol.depth` | | [4530](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4530) | `def` | `KWProtocol.leafCount` | | [4535](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4535) | `def` | `KWProtocol.Solves` | | [4540](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4540) | `def` | `KWProtocol.ofFormula` | | [4545](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4545) | `lemma` | `KWProtocol.leafSize_ofFormula` | | [4552](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4552) | `lemma` | `KWProtocol.depth_ofFormula` | | [4559](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4559) | `lemma` | `KWProtocol.leafCount_ofFormula` | | [4566](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4566) | `lemma` | `KWProtocol.ofFormula_solves` | | [4591](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4591) | `theorem` | `KWProtocol.exists_formula_of_kw` | | [4703](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4703) | `theorem` | **`general_kw_exact_equivalence`** *(Headline #17)* | ### Section 4 (Pillar 4) — Bilinear Spectral Adversary, Multiplicative Composition, and Exact Hansel–Kraft Bounds | Line | Kind | Name | |---:|---|---| | [4729](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4729) | `def` | `BilinearSpectralBound` | | [4735](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4735) | `lemma` | `sq_add_le_mul_add` | | [4754](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4754) | `theorem` | **`mkw_bilinear_adversary_bound`** *(Headline #18)* | | [4885](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4885) | `theorem` | **`kw_bilinear_adversary_bound`** *(Headline #19)* | | [4997](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L4997) | `lemma` | `bilinearSpectralBound_partial_matching` | | [5047](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5047) | `structure` | `MonotoneDist1Witness` | | [5061](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5061) | `theorem` | `monotoneDist1Witness_leafSize_lb` | | [5116](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5116) | `theorem` | **`monotone_formula_khrapchenko_thr`** *(Headline #20)* | | [5225](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5225) | `theorem` | **`demorgan_formula_khrapchenko_parity`** *(Headline #21)* | | [5415](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5415) | `def` | `composeBoolFun` | | [5424](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5424) | `def` | `packBlocks` | | [5439](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5439) | `lemma` | `packBlocks_apply` | | [5450](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5450) | `lemma` | `packBlocks_injective` | | [5463](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5463) | `theorem` | **`monotoneDist1Witness_compose_mult`** *(Headline #22)* | | [5780](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5780) | `def` | `iterMaj3` | | [5791](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5791) | `theorem` | **`iterMaj3_monotone_formula_lb`** *(Headline #23)* | | [5909](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5909) | `def` | `singletonSet` | | [5913](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5913) | `abbrev` | `BipCover` | | [5915](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5915) | `def` | `BipCover.deg` | | [5918](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5918) | `def` | `BipCover.CoversEdge` | | [5921](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5921) | `def` | `BipCover.IsDisjoint` | | [5928](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L5928) | `theorem` | `monotone_bipartite_cover_extract` | | [6036](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6036) | `theorem` | `bipartite_cover_kraft_ineq` | | [6139](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6139) | `theorem` | **`monotone_graph_kraft_inequality`** *(Headline #24)* | | [6157](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6157) | `lemma` | `two_zpow_neg_ge_tangent` | | [6192](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6192) | `lemma` | `kraft_sum_tangent_lb` | | [6207](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6207) | `def` | `orAll` | | [6214](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6214) | `lemma` | `eval_orAll` | | [6240](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6240) | `lemma` | `leafSize_orAll` | | [6252](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6252) | `def` | `thr2Formula` | | [6278](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6278) | `lemma` | `hansel_kraft_bisection_eq` | | [6344](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6344) | `lemma` | `leafSize_thr2Formula` | | [6361](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6361) | `lemma` | `eval_thr2Formula` | | [6433](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6433) | `theorem` | **`thr2_exact_monotone_formula_size`** *(Headline #25)* | | [6471](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6471) | `def` | `restrictTrue` | | [6484](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6484) | `lemma` | `eval_restrictTrue` | | [6500](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6500) | `lemma` | `varCount_restrictTrue_le` | | [6529](file:///Users/arthurcolle/math_rip/new-results/open-monotone-circuit-kw-games/MonotoneKWAndSmolenskyBounds.lean#L6529) | `theorem` | **`thr_k_restriction_duality_kraft_bound`** *(Headline #26)* | --- ## Verbatim `#print axioms` Output ```text '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] ```