GCY Go Check Yourself
Archive Reports Quantum & Verification paper-09 Tag /t/0009 MSC 81P68 · 03F20 · 68Q15

Constructive Algorithmic Circuit Lower Bounds, Verified Meet-in-the-Middle #SAT, and the Orthogonal-Vectors TC^0_2 Frontier (Theorems 40–43)

Lean-Checked Core · Primary status: Lean-Checked Finite/Algebraic Core + Paper Proof (Unrefereed) for prose bridges in MANUSCRIPT.md Also tagged: Computed Cited Open
By Sonny JSON Card
Claim Key: Lean-Checked finite/algebraic Lean 4.34.1 kernel replay (trustLevel = 0) Paper Proof (Unrefereed) author's prose proof in MANUSCRIPT.md Computed exact/interval machine check Conditional relies on cited external result or unrefereed bridge Cited prior scholarship Open unreached boundary
Theorems 40–43 — Scope & Overview Tag /t/0009

Explores Ryan Williams's algorithmic method, where a slightly faster-than-brute-force circuit analyzer implies circuit lower bounds. Formalizes constructive diagonalization and exact meet-in-the-middle counting algorithms, while pinpointing the exact sparse Orthogonal-Vectors wall for depth-2 threshold circuits (TC^0_2).

Abstract & Certified Findings

Static linear-subspace rank measures on the Boolean cube (such as Nisan rank and shifted discrete derivatives) hit both the 2n2^n ambient-dimension ceiling and full-rank saturation even on a single Depth-1 threshold gate (LTF). In contrast, Williams' algorithmic lower-bound method converts faster-than-2n2^n Circuit Acceptance Probability Problem (CAPP) or #SAT algorithms into non-natural circuit lower bounds via time-hierarchy diagonalization, bypassing both Relativization and Razborov–Rudich Natural Proofs.

This paper establishes four machine-checked theorems (Theorems 40–43, zero Mathlib, Lean 4.34.1 kernel-replayed at trustLevel = 0) paired with exact empirical benchmarks across Depth-1 LTF, Depth-2 AND_k o LTF / THR o THR (TC^0_2), and Depth-3 algebraic circuits:

  1. Constructive Williams CAPP Diagonalization & Error Budget (Theorem 40, PROVED + COMPUTED): A pure constructive theorem (axioms = []) proves that combining a time-hierarchy diagonalizer, succinct circuit witness compression, and a sound fast CAPP algorithm rules out circuit containment (¬ (Hard ⊆ InCirc)), paired with an exact division-free integer surrogate budget 6 * (E + Delta) < N. Empirically at n∈{10,12,14}n \in \{10, 12, 14\}, a single Depth-1 LTF achieves full Nisan rank (32/32,64/64,128/12832/32, 64/64, 128/128) over F2053\mathbb{F}_{2053}, yet Meet-in-the-Middle Two-Pointer #SAT computes its exact count with 00 errors in 255255 scan steps (64.25×64.25\times scan speedup; 14.23×14.23\times total sort+scan speedup at n=14n = 14).
  2. Factorized Bipartite #SAT, Multilinear Expectation 2^{n - |S|}, & 2D Fenwick Dominance (Theorem 41, PROVED + COMPUTED): Over an arbitrary commutative ring CRing K, any rank-RR bipartite sum factorizes exactly in O(R⋅2n/2)O(R \cdot 2^{n/2}) evaluations, and every multilinear monomial ∏i∈Sxi\prod_{i \in S} x_i has exact Boolean-cube sum 2n−∣S∣2^{n - |S|} (enabling O(M)O(M) #SAT for MM-sparse surrogates). At n=16n = 16 (65,53665{,}536 inputs), exact #SAT achieves 16×16\times speedup on Depth-3 ΣΠΣ\Sigma\Pi\Sigma (R=8R=8), 327.68×327.68\times on M=200M=200 sparse multilinear polynomials, and 9.76×9.76\times via 2D Fenwick dominance on Depth-2 AND_2 o LTF.
  3. Verified Linear-Step Staircase Counting & TC^0_2 Live Re-Evaluation (Theorem 42, PROVED + COMPUTED): A structurally recursive two-pointer staircase algorithm is proved exact in at most ∣A∣+∣B∣|A| + |B| steps on any ascending/descending integer lists, and #SAT of AND_k o LTF reduces identically to kk-dimensional bipartite dominance. Live empirical testing exposes a sharp average-case vs worst-case dichotomy: random AND_k o LTF (n=14n=14) and uniform symmetric THR_3 o THR_9 (n=9n=9) are easily handled by KD-tree pruning (226226–5,6125{,}612 ops vs 16,38416{,}384) and degree-3 polynomial CAPP (5/55/5 pass).
  4. Exact #OV to AND_d o LTF Reduction & Adversarial Sparse-OV Wall (Theorem 43, PROVED + COMPUTED): Counting Orthogonal Vectors (#OV) in dimension dd reduces identically to exact #SAT of a dd-gate Depth-2 AND_d o LTF circuit ((-u_r) + (-v_r) >= -1), pinning exact truly sub-quadratic O(2(1−ε)n)O(2^{(1-\varepsilon)n}) #SAT for TC^0_2 directly against OVC and SETH. Empirically at d=16d = 16 (214=16,3842^{14} = 16{,}384 pairs), dense OV (p=0.65p = 0.65) is Trie-pruned (2,9442{,}944 ops, 0.1797×0.1797\times), whereas sparse OV (p∈{0.15,0.25,0.35}p \in \{0.15, 0.25, 0.35\}) defeats KD-tree pruning completely (16,51816{,}518–20,79220{,}792 ops, up to 1.269×1.269\times worse than brute force), and linear degree-1 CAPP fails on narrow-margin AND_3 o THR_9 (∣err∣=96.748>85.33|\text{err}| = 96.748 > 85.33).

---

Offline Verification Command

python python/verify_bundle.py

Formal-to-Informal Bridge & Evidence Boundaries

EvidenceScope & Verification Boundary
Proved (Lean 4)4 standalone zero-Mathlib Lean 4.34.1 modules, 12 target declarations (3 strictly axioms = []), trustLevel = 0 kernel replay, planted negative controls rejected: 4 Lean.
Computed1 certified empirical tables; standing: Foundation · Constructive CAPP; baseline compared: Williams (2011–2014) & Chen–Tell (2019).
CitedWilliams; Ryan Williams; Chen–Tell; Abboud–Williams; Impagliazzo–Paturi–Zane; Murray–Williams
Open / Boundary
  • Theorems 40–43 narrow the algorithmic TC^0_2 frontier to a single crisp question: exact truly sub-quadratic 2(1−ε)n2^{(1-\varepsilon)n} #SAT for AND_d o LTF is blocked by SETH / OVC (Theorem 43), so closing NEXP ⊄ TC^0_2 via Theorem 40's Williams engine requires a super-polynomial-savings (2n/nω(1)2^n / n^{\omega(1)}) approximate CAPP algorithm (error <1/6< 1/6) for arbitrary polynomial-fan-in THR_s o THR (s=ncs = n^c) using anti-concentration and probabilistic/rational polynomials without composite degree exceeding n/2n/2.
Lean 4.34.1 Modules & Declarations (4 modules, 12 targets, 3 zero-axiom) 12 declarations
DeclarationModuleAxiom FootprintStatus
theorem40A_fast_capp_plus_witness_compression_contradicts_hierarchy ODAlgorithmicLBBridge.lean [] (zero axioms) Proved
theorem40B_additive_error_approx_preserves_capp ODAlgorithmicLBBridge.lean propext, Quot.sound Proved
theorem40C_nonvacuous_n4_capp_promise_witness ODAlgorithmicLBBridge.lean propext, Quot.sound, Classical.choice Proved
theorem41A_factorized_bipartite_sum_identity ODFactorizedSharpSAT.lean propext Proved
theorem41B_monomial_cube_sum_pow2 ODFactorizedSharpSAT.lean propext, Quot.sound Proved
theorem41C_nonvacuous_factorized_and_monomial_witness ODFactorizedSharpSAT.lean propext, Quot.sound Proved
theorem42A_monotone_staircase_two_pointer_count ODStaircaseSharpSAT.lean propext, Quot.sound Proved
theorem42B_and_k_ltf_to_dominance_reduction ODStaircaseSharpSAT.lean propext, Quot.sound Proved
theorem42C_staircase_full_rank_vs_linear_count ODStaircaseSharpSAT.lean [] (zero axioms) Proved
theorem43A_ov_reduces_identically_to_and_d_ltf ODOVThresholdHardness.lean propext Proved
theorem43B_subquadratic_and_d_ltf_refutes_ov_conjecture ODOVThresholdHardness.lean propext Proved
theorem43C_nonvacuous_ov_d4_witness ODOVThresholdHardness.lean [] (zero axioms) Proved

Certified Tables & Numerical Ledgers

2. Theorem 40 — Constructive Williams CAPP Diagonalization & Error Budget

nn2n2^nNisan RankExact #SAT (0 err)Two-Pointer ScanTotal Sort+ScanSpeedup
101,02432 / 32 (FULL)52863 (16.25x)2234.59x
124,09664 / 64 (FULL)2,080127 (32.25x)5118.02x
1416,384128 / 128 (FULL)8,256255 (64.25x)1,15114.23x
Verification Receipt & SHA-256 Manifest (13 sealed entries) manifest
Paper 9 Standalone Candidate Bundle Live Verification Receipt
UTC: 2026-11-24T08:33:28Z
Toolchain: Lean (version 4.34.1, x86_64-w64-windows-gnu, commit 5045d0056413266e57c625dcd7c365b10e377c52, Release)
ODAlgorithmicLBBridge.lean COMPILE_EXIT=0 WARNINGS=0
ODFactorizedSharpSAT.lean COMPILE_EXIT=0 WARNINGS=0
ODStaircaseSharpSAT.lean COMPILE_EXIT=0 WARNINGS=0
ODOVThresholdHardness.lean COMPILE_EXIT=0 WARNINGS=0
KERNEL_REPLAY_OK module=ODAlgorithmicLBBridge constants=12 targets=3 trustLevel=0
KERNEL_REPLAY_OK module=ODFactorizedSharpSAT constants=106 targets=3 trustLevel=0
KERNEL_REPLAY_OK module=ODStaircaseSharpSAT constants=100 targets=3 trustLevel=0
KERNEL_REPLAY_OK module=ODOVThresholdHardness constants=50 targets=3 trustLevel=0
TOTAL_KERNEL_REPLAYED_DECLS=12
ODAlgorithmicLBBridge_planted_fail.lean EXIT=1 (rejected as required)
ODFactorizedSharpSAT_planted_fail.lean EXIT=1 (rejected as required)
ODStaircaseSharpSAT_planted_fail.lean EXIT=1 (rejected as required)
ODOVThresholdHardness_planted_fail.lean EXIT=1 (rejected as required)
verify_thm40_to_43.py EXIT=0
LOCAL_PATH_HITS=0
BANNED_WORD_HITS=0
SHA256SUMS_COUNT=13
VERIFY_EXIT=0
Bundle FileSHA-256 Digest
lean/CheckReplay.lean055a9f83a020fa1eb04fd70fc8f99aec4308ce4bbd93c9f0064333f66bf7c977
lean/ODAlgorithmicLBBridge.lean788ded95454ebb5b12223bbe90286bfdd2d325bf16e753d7655a2a1253b5ec8b
lean/ODAlgorithmicLBBridge_planted_fail.lean58530b3b513bd326b9776412260882f6e4ec2ad02bbf85db792335f746ba3c6f
lean/ODFactorizedSharpSAT.lean89267c619f130725f2f5bcb2ed29c903194ac26b4aa5637bc646bdcc1f0b44f2
lean/ODFactorizedSharpSAT_planted_fail.leanf19241722cb827ff448918fc360548d423ee7f8781cb1b85c9e8d0ad56a427c4
lean/ODOVThresholdHardness.leanee69a8eaa303a9aac673b65d9c8c3ff4cd3908f409e362b7403e93cb5d5056fc
lean/ODOVThresholdHardness_planted_fail.leane417cbf15ed726fbcd987e4778fd6c252cc13b932be572a4e484d757b0145928
lean/ODStaircaseSharpSAT.leana55ef97ff2881c9aa4a4bf931d7427f3e39bbd50f3f1bbfd724e4e69986b71a7
lean/ODStaircaseSharpSAT_planted_fail.lean0a8b26d3743ad5b7e614a4126ade675c3645190fbf97795a8a0d0f384fad426a
PAPER9.md51b17e56ba5103684b1196a03b06ff190cbeca402e8d2579f1be568d3313af44
python/verify_bundle.py274d2eeb1ee8e950d8c395d8ea65f940c9c6a62cdeeb821384adb6bdf544cb25
python/verify_thm40_to_43.py5329fbbeae7bdbe5abe0db6871a96df8d97711c64c33dee9662dd46ca736e799
REPRODUCIBILITY9.mdc8c5b5233e8e617c6def297b518f16cff81b9b2a88baa1d4114cc53d1c9da4dd
Provenance

Where this came from, and how to check it

Review record
  • Standing: Working / Foundation
  • No refereed venue recorded in the registry (unrefereed).
  • Venues: Zenodo: not submitted · ECCC: not submitted
  • Replay receipts: live ledger · review log
How to verify
  • Replaypython python/verify_bundle.py
Cite this

Cite this report

Plain text

Sonny (2026). Constructive Algorithmic Circuit Lower Bounds, Verified Meet-in-the-Middle `#SAT`, and the Orthogonal-Vectors `TC^0_2` Frontier (Theorems 40–43). Go Check Yourself. https://gocheckyourself.org/reports/paper-09/

BibTeX

@misc{sonny2026paper09,
  author    = {Sonny},
  title     = {{Constructive Algorithmic Circuit Lower Bounds, Verified Meet-in-the-Middle `\#SAT`, and the Orthogonal-Vectors `TC$^{0}$\_2` Frontier (Theorems 40–43)}},
  year      = {2026},
  month     = nov,
  url       = {https://gocheckyourself.org/reports/paper-09/},
  note      = {Go Check Yourself report paper-09, https://gocheckyourself.org/reports/paper-09/}
}