Unifies six standalone Lean-verified circuit-complexity theorems across three classic walls: exact Slack-Ratchet and spectral Hadamard analysis of two-layer threshold circuits (TC^0_2), two-step XOR-AND lookahead gate elimination for binary logic circuits (B_2, reaching 3.25 and 3.20 locally vs the 3.10 global frontier), and sharp 1 + 4^c permutation-group rank ceilings for width-5 branching programs (BWBP_5 / NC^1). Every unconditional global circuit separation remains explicitly marked OPEN.
Abstract & Certified Findings
This companion paper unifies six machine-checked circuit-complexity theorems (Theorems 61, 62, 63, 67, 68, and 85) verified in standalone zero-Mathlib Lean 4.34.1 (18 kernel-replayed target declarations across 6 self-contained modules, 6/6 planted negative controls rejected, zero warnings, trustLevel = 0) across three major open complexity frontiers: dense depth-2 threshold circuits (TC^0_2), full-basis Boolean circuits (B_2), and width-5 permutation branching programs (BWBP_5 / NC^1).
- Dense
TC^0_2Slack-Ratchet#SAT& Spectral Hadamard CAPP (Theorems 61 & 68,PROVED+COMPUTED): We formalize exact auxiliary-interval Slack-Ratchet#SAT(ODTC02SlackRatchet.lean) and prove the balanced-margin depth barrier2k < n -> k < n - k /\ 1 <= 2^k. Atn = 20, s = 20, Slack-Ratchet achieves19,065.02xspeedup on skewed weights and11,037.64xon shifted+-1gates while collapsing to1.365xon balanced Hadamard majorities. We then prove antipodal odd-symmetry exact-half#SAT(2 * cubeCount = 2^n) and SylvesterH_4spectral orthogonality CAPP transfer (ODSpectralTC02CAPP.lean), showing poly-time spectral CAPP passes unbiased odd (|err| = 0.0000) and biased orthogonalMAJ_15 o MAJ_15(|err| = 0.0398 < 1/6) while isolating biased correlated small-weight majority rows (|err| = 0.2502) as the exact surviving hard core ofNEXP not in TC^0_2. - Axiom-Free Affine Ratchet, Rational Potential Verifier & Two-Step
B_2Lookahead LP (Theorems 62, 67, & 85,PROVED+COMPUTED): We prove an axiom-free (3/3axioms = []) affine-subspace codimension ratchet and 3-gate XOR-fanout collapse (ODAffineRatchetGateElim.lean), certify a decidable rational-scaled amortized potential case-tree verifier (ODB2AmortizedPotential.lean) covering259/86(Find–Golovnev–Hirsch–Kulikov) and31/10(Li–Yang), and verify six concreteB_2local DAG gadgets (G1..G6) with exact rational primal/dual LP tightness (ODRealB2FrontierLP.lean). Two-step XOR-AND lookahead (G5, 7 gates in 2 affine constraints across all 64 inputs) lifts the exact local LP optimum toc* = 13/4 = 3.25(Regime B) andc* = 16/5 = 3.20(Regime C), both strictly exceeding31/10 = 3.10locally, while proving the deep pure-XOR adversary clampc <= 3. - Sharp
1 + 4^cIrreducibleS_5Rank Separation for Multi-PassBWBP_5(Theorem 63,PROVED+COMPUTED): Splitting the 5-dimensional permutation representation ofS_5into1 (+) V_std(dim 4) tightens thec-cut communication rank ceiling of width-5 permutation branching programs from5^cto1 + 4^c(ODBWBP5IrrepRank.lean), separatingc-cut programs from full-rank functions forc < n / 4(verified exactly overF_2053atn = 14: max ranks5, 17, 65 < 128forc = 1, 2, 3, saturating at128forc = 4).
Unconditional NEXP not in TC^0_2, unconditional > 3.1n global B_2 circuit lower bounds, and unconditional P not in NC^1 remain explicitly marked OPEN.
---
Offline Verification Command
python scripts/verify_bundle.py
Formal-to-Informal Bridge & Evidence Boundaries
| Evidence | Scope & Verification Boundary |
|---|---|
| Proved (Lean 4) | 6 standalone zero-Mathlib Lean 4.34.1 modules, 18 target declarations (9 strictly axioms = []), trustLevel = 0 kernel replay, planted negative controls rejected: 6 Lean. |
| Computed | 5 certified empirical tables; standing: Exact Structural · S_5 1+4^c & B_2 LP; baseline compared: FGHK (3.01n), Li–Yang (3.10n) & Barrington. |
| Cited | R. Williams (2011–2014); L. Chen & R. Tell (2019); R. Chen, R. Santhanam & S. Srinivasan (2016); S. Tamaki (2016); C. P. Schnorr (1974); W. J. Paul (1977); N. Blum (1984); K. Iwama & H. Morizumi (2002); E. Demenkov & A. S. Kulikov (2011); M. G. Find, A. Golovnev, E. A. Hirsch & A. S. Kulikov (FGHK, 2016); J. Li & T. Yang (2022); D. A. M. Barrington (1989); N. Nisan (1991); L. Babai, N. Nisan & M. Szegedy (1992); J. J. Sylvester (1867); J. Hadamard (1893) |
| Open / Boundary |
|
Lean 4.34.1 Modules & Declarations (6 modules, 18 targets, 9 zero-axiom) 18 declarations
| Declaration | Module | Axiom Footprint | Status |
|---|---|---|---|
| theorem61A_slack_ratchet_exact_sharp_sat | ODTC02SlackRatchet.lean | propext, Quot.sound | Proved |
| theorem61B_balanced_margin_ratchet_depth_barrier | ODTC02SlackRatchet.lean | propext | Proved |
| theorem61C_nonvacuous_slack_ratchet_witness | ODTC02SlackRatchet.lean | [] (zero axioms) | Proved |
| theorem62A_affine_ratchet_codim_lower_bound | ODAffineRatchetGateElim.lean | [] (zero axioms) | Proved |
| theorem62B_affine_substitution_beats_constant_on_xor_gadget | ODAffineRatchetGateElim.lean | [] (zero axioms) | Proved |
| theorem62C_nonvacuous_affine_ratchet_witness | ODAffineRatchetGateElim.lean | [] (zero axioms) | Proved |
| theorem63A_s5_perm_preserves_trivial_and_std_irrep | ODBWBP5IrrepRank.lean | propext, Quot.sound | Proved |
| theorem63B_irrep_cut_rank_strictly_beats_width5_and_separates | ODBWBP5IrrepRank.lean | propext | Proved |
| theorem63C_nonvacuous_s5_irrep_separation_witness | ODBWBP5IrrepRank.lean | [] (zero axioms) | Proved |
| theorem67A_amortized_potential_gate_elim_telescope | ODB2AmortizedPotential.lean | [] (zero axioms) | Proved |
| theorem67B_case_tree_all_valid_soundness | ODB2AmortizedPotential.lean | propext | Proved |
| theorem67C_nonvacuous_3_plus_1_over_86_and_31_over_10_witness | ODB2AmortizedPotential.lean | [] (zero axioms) | Proved |
| theorem68A_antipodal_odd_tc02_exact_half | ODSpectralTC02CAPP.lean | propext, Quot.sound | Proved |
| theorem68B_hadamard4_orthogonality_and_capp_transfer | ODSpectralTC02CAPP.lean | propext | Proved |
| theorem68C_nonvacuous_antipodal_maj3_witness | ODSpectralTC02CAPP.lean | propext | Proved |
| theorem85A_exact_rational_primal_dual_tightness | ODRealB2FrontierLP.lean | propext, Quot.sound | Proved |
| theorem85B_concrete_b2_dag_gadget_semantics | ODRealB2FrontierLP.lean | [] (zero axioms) | Proved |
| theorem85C_frontier_comparisons_and_pure_xor_wall | ODRealB2FrontierLP.lean | [] (zero axioms) | Proved |
Certified Tables & Numerical Ledgers
2. Lean 4.34.1 Theorem Inventory (PROVED, trustLevel = 0)
| Module | Target Declaration | Core Mathematical Statement | Planted Control |
|---|---|---|---|
ODTC02SlackRatchet.lean | theorem61A_slack_ratchet_exact_sharp_sat | Exactness of auxiliary-interval Slack-Ratchet #SAT (ratchetCount = cubeCount) | ODTC02SlackRatchet_planted_fail.lean |
ODTC02SlackRatchet.lean | theorem61B_balanced_margin_ratchet_depth_barrier | Balanced +-1 margin-depth ratchet wall (2k < n -> k < n - k /\ 1 <= 2^k) | ODTC02SlackRatchet_planted_fail.lean |
ODTC02SlackRatchet.lean | theorem61C_nonvacuous_slack_ratchet_witness | Non-vacuous dead-gate, locked-gate, mid-threshold, and n = 16, k = 7 witnesses | ODTC02SlackRatchet_planted_fail.lean |
ODAffineRatchetGateElim.lean | theorem62A_affine_ratchet_codim_lower_bound | Zero-axiom (axioms = []) affine-subspace codimension ratchet induction | ODAffineRatchetGateElim_planted_fail.lean |
ODAffineRatchetGateElim.lean | theorem62B_affine_substitution_beats_constant_on_xor_gadget | Zero-axiom proof that x0 = x1 collapses 3 gates where constants leave downstream ANDs live | ODAffineRatchetGateElim_planted_fail.lean |
ODAffineRatchetGateElim.lean | theorem62C_nonvacuous_affine_ratchet_witness | Zero-axiom concrete codimension ratchet witness (sumNat 4 (fun _ => 3) = 12) | ODAffineRatchetGateElim_planted_fail.lean |
ODBWBP5IrrepRank.lean | theorem63A_s5_perm_preserves_trivial_and_std_irrep | Every pi in S_5 fixes 1 = span(1,1,1,1,1) and preserves V_std = {sum5 v = 0} | ODBWBP5IrrepRank_planted_fail.lean |
ODBWBP5IrrepRank.lean | theorem63B_irrep_cut_rank_strictly_beats_width5_and_separates | 1 + 4^c < 5^c for c >= 2, and 1 + 4^c < 2^m when 2c + 1 <= m | ODBWBP5IrrepRank_planted_fail.lean |
ODBWBP5IrrepRank.lean | theorem63C_nonvacuous_s5_irrep_separation_witness | Exact n = 14 witnesses (5, 17 < 25, 65 < 125, 65 < 128, ~(1 + 4^4 < 128)) | ODBWBP5IrrepRank_planted_fail.lean |
ODB2AmortizedPotential.lean | theorem67A_amortized_potential_gate_elim_telescope | Zero-axiom rational-scaled integer amortized potential telescoping | ODB2AmortizedPotential_planted_fail.lean |
ODB2AmortizedPotential.lean | theorem67B_case_tree_all_valid_soundness | Soundness of decidable finite case-tree verifier (checkCaseTree) | ODB2AmortizedPotential_planted_fail.lean |
ODB2AmortizedPotential.lean | theorem67C_nonvacuous_3_plus_1_over_86_and_31_over_10_witness | Zero-axiom certified case trees for 259/86 (FGHK) and 31/10 (Li–Yang) | ODB2AmortizedPotential_planted_fail.lean |
ODSpectralTC02CAPP.lean | theorem68A_antipodal_odd_tc02_exact_half | Antipodal odd-symmetry exact-half #SAT (2 * cubeCount n f = 2^n) | ODSpectralTC02CAPP_planted_fail.lean |
ODSpectralTC02CAPP.lean | theorem68B_hadamard4_orthogonality_and_capp_transfer | Sylvester H_4 exact row orthogonality and integer CAPP error transfer (6E < N) | ODSpectralTC02CAPP_planted_fail.lean |
ODSpectralTC02CAPP.lean | theorem68C_nonvacuous_antipodal_maj3_witness | Concrete verified witness on maj3 (2 * 4 = 8) | ODSpectralTC02CAPP_planted_fail.lean |
ODRealB2FrontierLP.lean | theorem85A_exact_rational_primal_dual_tightness | Exact primal soundness and general dual tightness for 13/4 = 3.25 and 16/5 = 3.20 | ODRealB2FrontierLP_planted_fail.lean |
ODRealB2FrontierLP.lean | theorem85B_concrete_b2_dag_gadget_semantics | Zero-axiom executable Boolean semantics of concrete B_2 DAG gadgets G4 and G5 (64/64 inputs) | ODRealB2FrontierLP_planted_fail.lean |
ODRealB2FrontierLP.lean | theorem85C_frontier_comparisons_and_pure_xor_wall | Zero-axiom frontier ordering 3 < 259/86 < 31/10 < 16/5 < 13/4 < 4 and pure-XOR clamp c <= 3 | ODRealB2FrontierLP_planted_fail.lean |
3.1 Dense TC^0_2 Slack-Ratchet #SAT Phase Transition (Theorem 61)
n | s | Regime | Exact #SAT | Slack-Ratchet Nodes | Brute Force 2^n | Speedup |
|---|---|---|---|---|---|---|
16 | 16 | exp_skewed | 1 | 33 | 65,536 | 1,985.94x |
16 | 16 | shifted_pm1 | 0 | 1 | 65,536 | 65,536.00x |
16 | 16 | balanced_hadamard_pm1 | 11,828 | 67,649 | 65,536 | 0.969x |
20 | 20 | exp_skewed | 1 | 55 | 1,048,576 | 19,065.02x |
20 | 20 | shifted_pm1 | 0 | 95 | 1,048,576 | 11,037.64x |
20 | 20 | balanced_hadamard_pm1 | 110,803 | 768,257 | 1,048,576 | 1.365x |
3.2 Spectral Hadamard CAPP on MAJ_15 o MAJ_15 (32,768 Inputs, Theorem 68)
| Regime | Exact #SAT (/32,768) | Exact Pr | Poly-Time Spectral Est | \|err\| | CAPP Pass (< 1/6) |
|---|---|---|---|---|---|
A. Unbiased odd Hadamard (theta = 0) | 16,384 | 0.500000 | 0.500000 | 0.000000 | Yes |
B. Biased near-orthogonal Hadamard (theta_i = +2) | 448 | 0.013672 | 0.053450 | 0.039778 | Yes |
C. Biased correlated rows (theta_i = +2) | 9,949 | 0.303619 | 0.053450 | 0.250169 | No |
3.3 Multi-Pass BWBP_5 Exact F_2053 Cut-Rank Verification (n = 14, Theorem 63)
Cuts c | Partition Pattern | Observed Max Rank (/10) | Irreducible Bound 1 + 4^c | Naive Width-5 Bound 5^c | Separates From 128? |
|---|---|---|---|---|---|
1 | X \| Y | 5 | 5 | 5 | Yes (5 < 128) |
2 | X \| Y \| X | 17 | 17 | 25 | Yes (17 < 128) |
3 | X \| Y \| X \| Y | 65 | 65 | 125 | Yes (65 < 128) |
4 | X \| Y \| X \| Y \| X | 128 | 257 | 625 | No (257 > 128) |
3.4 Concrete B_2 Two-Step Lookahead LP Frontier (Theorems 62, 67, & 85)
| System / Regime | Scope | Exact Optimum c* | Decimal | Dual Potential (alpha*, beta*) | Status vs 31/10 = 3.10 |
|---|---|---|---|---|---|
1-Step B <-> Q Cycle (Thm 67 SYS3 / Thm 85 Regime A) | Local 1-step + pure-XOR adversary | 3/1 | 3.0000 | Clamped by (3-a+b)+(3+a-b)=6 | Below (3.00 < 3.10) |
| FGHK Potential Tree (Thm 67C) | Certified finite case tree | 259/86 | 3.0116 | Certified rational tree | Prior benchmark (CITED) |
| Li–Yang Potential Tree (Thm 67C) | Certified finite case tree | 31/10 | 3.1000 | Certified rational tree | Current global frontier (CITED) |
| 2-Step XOR-AND Lookahead, Worst-Case QB Stress (Thm 85 Regime C) | Concrete local DAG system (G1..G5) | 16/5 | 3.2000 | (1/5, 2/5) | Exceeds locally (+0.10) |
| 2-Step XOR-AND Lookahead, Standard Local System (Thm 85 Regime B) | Concrete local DAG system (G1..G5) | 13/4 | 3.2500 | (1/4, 1/2) | Exceeds locally (+0.15) |
Verification Receipt & SHA-256 Manifest (16 sealed entries) manifest
Paper 19 Standalone Candidate Bundle Live Verification Receipt
UTC: 2026-11-24T20:14:20Z
Toolchain: Lean (version 4.34.1, x86_64-w64-windows-gnu, commit 5045d0056413266e57c625dcd7c365b10e377c52, Release)
ODTC02SlackRatchet.lean COMPILE_EXIT=0 WARNINGS=0
ODAffineRatchetGateElim.lean COMPILE_EXIT=0 WARNINGS=0
ODBWBP5IrrepRank.lean COMPILE_EXIT=0 WARNINGS=0
ODB2AmortizedPotential.lean COMPILE_EXIT=0 WARNINGS=0
ODSpectralTC02CAPP.lean COMPILE_EXIT=0 WARNINGS=0
ODRealB2FrontierLP.lean COMPILE_EXIT=0 WARNINGS=0
KERNEL_REPLAY_OK module=ODTC02SlackRatchet constants=58 targets=3 trustLevel=0
KERNEL_REPLAY_OK module=ODAffineRatchetGateElim constants=9 targets=3 trustLevel=0
KERNEL_REPLAY_OK module=ODBWBP5IrrepRank constants=39 targets=3 trustLevel=0
KERNEL_REPLAY_OK module=ODB2AmortizedPotential constants=44 targets=3 trustLevel=0
KERNEL_REPLAY_OK module=ODSpectralTC02CAPP constants=37 targets=3 trustLevel=0
KERNEL_REPLAY_OK module=ODRealB2FrontierLP constants=9 targets=3 trustLevel=0
TOTAL_KERNEL_REPLAYED_DECLS=18
ODTC02SlackRatchet_planted_fail.lean EXIT=1 (rejected as required)
ODAffineRatchetGateElim_planted_fail.lean EXIT=1 (rejected as required)
ODBWBP5IrrepRank_planted_fail.lean EXIT=1 (rejected as required)
ODB2AmortizedPotential_planted_fail.lean EXIT=1 (rejected as required)
ODSpectralTC02CAPP_planted_fail.lean EXIT=1 (rejected as required)
ODRealB2FrontierLP_planted_fail.lean EXIT=1 (rejected as required)
LOCAL_PATH_HITS=0
BANNED_WORD_HITS=0
PII_HITS=0
AI_CREDIT_HITS=0
SHA256SUMS_COUNT=16
VERIFY_EXIT=0
| Bundle File | SHA-256 Digest |
|---|---|
| lean/CheckReplay.lean | 055a9f83a020fa1eb04fd70fc8f99aec4308ce4bbd93c9f0064333f66bf7c977 |
| lean/ODAffineRatchetGateElim.lean | 388f9cad0bb2fe55b6da16066ffdbbcda083da87204b9014ecf731908fed3773 |
| lean/ODAffineRatchetGateElim_planted_fail.lean | c8ae41ec337d3fcedfa49c95cd2f3577337c4277741fc6ddac6997949c6afa00 |
| lean/ODB2AmortizedPotential.lean | 7c017543dd5c264ffe0c9d51010a78613492e3820d710fd31dfe48ac6fdd59f5 |
| lean/ODB2AmortizedPotential_planted_fail.lean | 4010ea89275482b7b3c0d5d9d00043e7b2e6a08336ca9f139888bf0e7fd1a3ca |
| lean/ODBWBP5IrrepRank.lean | ea044d60234c4aa9ff59b59bfaa678e89d2772f43a57ef5b21610b8f873800ae |
| lean/ODBWBP5IrrepRank_planted_fail.lean | 605444f7b98c68e49ff23dab9ac2fad7e47eb1170576b6f37bff8861e88a5b2d |
| lean/ODRealB2FrontierLP.lean | 3f1c2a0262b960a1bc33d1535d6a0ee1a7ec122a1cf919f79ed81f7df510d967 |
| lean/ODRealB2FrontierLP_planted_fail.lean | 8ad2e3b90f26824e3c8b7bbc408b03736e19b512d431aa44526ab7601b91249a |
| lean/ODSpectralTC02CAPP.lean | 9602e1fdaf3d68683fad0d405943ec17c96c22d68d0b11ed5c5b0a5bdef2326a |
| lean/ODSpectralTC02CAPP_planted_fail.lean | a7f21d5c9402fa91dac2f86949e66ba7f376349ee52ac288696e32aa78669497 |
| lean/ODTC02SlackRatchet.lean | 0771eaf502b66a02de3e4b8cb17dffd5cebf2b5c7ff0e1301f48ad9c8b6f1b53 |
| lean/ODTC02SlackRatchet_planted_fail.lean | ae3f1d47a5732ba00a7a438ba2ece5ba4a6582f912c40ae7d7746082d6629946 |
| PAPER19.md | 723c7ed0ce7bb2676da619d3a666e89374d02542888897430135690b98a006f8 |
| README.md | 1c80a76612dd9e4f2cafe0dbb228fe4a56593e92caaead8c4b530a8e66817410 |
| scripts/verify_bundle.py | 52c7f727ee981f8c170c513fae5992d81223ffbfb6eb0b49495272e9ead6a6b3 |
Where this came from, and how to check it
- Review record
- Standing: Exact Structural / No-Go Certificate
- No refereed venue recorded in the registry (unrefereed).
- Venues: Zenodo: not submitted · ECCC: not submitted · arXiv: not submitted
- Replay receipts: live ledger · review log
- How to verify
- Replay
python scripts/verify_bundle.py
- Replay
Cite this report
Plain text
Sonny (2026). Lean-Verified Slack-Ratchet and Spectral CAPP for Dense `TC^0_2`, Rational Amortized Two-Step Gate Elimination for `B_2`, and Sharp `1 + 4^c` Irreducible `S_5` Rank Bounds for `BWBP_5` (Theorems 61, 62, 63, 67, 68, 85). Go Check Yourself. https://gocheckyourself.org/reports/paper-19/
BibTeX
@misc{sonny2026paper19,
author = {Sonny},
title = {{Lean-Verified Slack-Ratchet and Spectral CAPP for Dense `TC$^{0}$\_2`, Rational Amortized Two-Step Gate Elimination for `B\_2`, and Sharp `1 + 4$^{c}$` Irreducible `S\_5` Rank Bounds for `BWBP\_5` (Theorems 61, 62, 63, 67, 68, 85)}},
year = {2026},
month = nov,
url = {https://gocheckyourself.org/reports/paper-19/},
note = {Go Check Yourself report paper-19, https://gocheckyourself.org/reports/paper-19/}
}