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

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)

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 61, 62, 63, 67, 68, 85 — Scope & Overview Tag /t/0019

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).

  1. Dense TC^0_2 Slack-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 barrier 2k < n -> k < n - k /\ 1 <= 2^k. At n = 20, s = 20, Slack-Ratchet achieves 19,065.02x speedup on skewed weights and 11,037.64x on shifted +-1 gates while collapsing to 1.365x on balanced Hadamard majorities. We then prove antipodal odd-symmetry exact-half #SAT (2 * cubeCount = 2^n) and Sylvester H_4 spectral orthogonality CAPP transfer (ODSpectralTC02CAPP.lean), showing poly-time spectral CAPP passes unbiased odd (|err| = 0.0000) and biased orthogonal MAJ_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 of NEXP not in TC^0_2.
  2. Axiom-Free Affine Ratchet, Rational Potential Verifier & Two-Step B_2 Lookahead LP (Theorems 62, 67, & 85, PROVED + COMPUTED): We prove an axiom-free (3/3 axioms = []) affine-subspace codimension ratchet and 3-gate XOR-fanout collapse (ODAffineRatchetGateElim.lean), certify a decidable rational-scaled amortized potential case-tree verifier (ODB2AmortizedPotential.lean) covering 259/86 (Find–Golovnev–Hirsch–Kulikov) and 31/10 (Li–Yang), and verify six concrete B_2 local 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 to c* = 13/4 = 3.25 (Regime B) and c* = 16/5 = 3.20 (Regime C), both strictly exceeding 31/10 = 3.10 locally, while proving the deep pure-XOR adversary clamp c <= 3.
  3. Sharp 1 + 4^c Irreducible S_5 Rank Separation for Multi-Pass BWBP_5 (Theorem 63, PROVED + COMPUTED): Splitting the 5-dimensional permutation representation of S_5 into 1 (+) V_std (dim 4) tightens the c-cut communication rank ceiling of width-5 permutation branching programs from 5^c to 1 + 4^c (ODBWBP5IrrepRank.lean), separating c-cut programs from full-rank functions for c < n / 4 (verified exactly over F_2053 at n = 14: max ranks 5, 17, 65 < 128 for c = 1, 2, 3, saturating at 128 for c = 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

EvidenceScope & 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.
Computed5 certified empirical tables; standing: Exact Structural · S_5 1+4^c & B_2 LP; baseline compared: FGHK (3.01n), Li–Yang (3.10n) & Barrington.
CitedR. 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
  • Dense Correlated TC^0_2 CAPP (NEXP not in TC^0_2, OPEN): Theorems 61 and 68 reduce the remaining hard core to biased, multi-gate correlated small-weight majority layers (Regime C), where neither Slack-Ratchet pruning nor independent-marginal spectral CAPP beats the 2^n / 1/6 error wall.
  • Global > 3.1n B_2 Circuit Lower Bounds (OPEN): Theorem 85 proves exact local LP tightness (16/5 and 13/4) on concrete 2-step XOR-AND DAGs while proving that arbitrary deep pure-XOR linear layers (G6) clamp 1-step/local elimination at c <= 3. Eliminating deep global pure-XOR layers unconditionally remains open.
  • Unconditional P not in NC^1 Beyond Linear Cut Horizon (OPEN): Theorem 63 sharpens the c-cut BWBP_5 communication rank horizon to c < n / 4 (1 + 4^c), but unbounded-pass Omega(n)-cut programs saturate full rank at c >= n / 4.
Lean 4.34.1 Modules & Declarations (6 modules, 18 targets, 9 zero-axiom) 18 declarations
DeclarationModuleAxiom FootprintStatus
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)

ModuleTarget DeclarationCore Mathematical StatementPlanted Control
ODTC02SlackRatchet.leantheorem61A_slack_ratchet_exact_sharp_satExactness of auxiliary-interval Slack-Ratchet #SAT (ratchetCount = cubeCount)ODTC02SlackRatchet_planted_fail.lean
ODTC02SlackRatchet.leantheorem61B_balanced_margin_ratchet_depth_barrierBalanced +-1 margin-depth ratchet wall (2k < n -> k < n - k /\ 1 <= 2^k)ODTC02SlackRatchet_planted_fail.lean
ODTC02SlackRatchet.leantheorem61C_nonvacuous_slack_ratchet_witnessNon-vacuous dead-gate, locked-gate, mid-threshold, and n = 16, k = 7 witnessesODTC02SlackRatchet_planted_fail.lean
ODAffineRatchetGateElim.leantheorem62A_affine_ratchet_codim_lower_boundZero-axiom (axioms = []) affine-subspace codimension ratchet inductionODAffineRatchetGateElim_planted_fail.lean
ODAffineRatchetGateElim.leantheorem62B_affine_substitution_beats_constant_on_xor_gadgetZero-axiom proof that x0 = x1 collapses 3 gates where constants leave downstream ANDs liveODAffineRatchetGateElim_planted_fail.lean
ODAffineRatchetGateElim.leantheorem62C_nonvacuous_affine_ratchet_witnessZero-axiom concrete codimension ratchet witness (sumNat 4 (fun _ => 3) = 12)ODAffineRatchetGateElim_planted_fail.lean
ODBWBP5IrrepRank.leantheorem63A_s5_perm_preserves_trivial_and_std_irrepEvery pi in S_5 fixes 1 = span(1,1,1,1,1) and preserves V_std = {sum5 v = 0}ODBWBP5IrrepRank_planted_fail.lean
ODBWBP5IrrepRank.leantheorem63B_irrep_cut_rank_strictly_beats_width5_and_separates1 + 4^c < 5^c for c >= 2, and 1 + 4^c < 2^m when 2c + 1 <= mODBWBP5IrrepRank_planted_fail.lean
ODBWBP5IrrepRank.leantheorem63C_nonvacuous_s5_irrep_separation_witnessExact n = 14 witnesses (5, 17 < 25, 65 < 125, 65 < 128, ~(1 + 4^4 < 128))ODBWBP5IrrepRank_planted_fail.lean
ODB2AmortizedPotential.leantheorem67A_amortized_potential_gate_elim_telescopeZero-axiom rational-scaled integer amortized potential telescopingODB2AmortizedPotential_planted_fail.lean
ODB2AmortizedPotential.leantheorem67B_case_tree_all_valid_soundnessSoundness of decidable finite case-tree verifier (checkCaseTree)ODB2AmortizedPotential_planted_fail.lean
ODB2AmortizedPotential.leantheorem67C_nonvacuous_3_plus_1_over_86_and_31_over_10_witnessZero-axiom certified case trees for 259/86 (FGHK) and 31/10 (Li–Yang)ODB2AmortizedPotential_planted_fail.lean
ODSpectralTC02CAPP.leantheorem68A_antipodal_odd_tc02_exact_halfAntipodal odd-symmetry exact-half #SAT (2 * cubeCount n f = 2^n)ODSpectralTC02CAPP_planted_fail.lean
ODSpectralTC02CAPP.leantheorem68B_hadamard4_orthogonality_and_capp_transferSylvester H_4 exact row orthogonality and integer CAPP error transfer (6E < N)ODSpectralTC02CAPP_planted_fail.lean
ODSpectralTC02CAPP.leantheorem68C_nonvacuous_antipodal_maj3_witnessConcrete verified witness on maj3 (2 * 4 = 8)ODSpectralTC02CAPP_planted_fail.lean
ODRealB2FrontierLP.leantheorem85A_exact_rational_primal_dual_tightnessExact primal soundness and general dual tightness for 13/4 = 3.25 and 16/5 = 3.20ODRealB2FrontierLP_planted_fail.lean
ODRealB2FrontierLP.leantheorem85B_concrete_b2_dag_gadget_semanticsZero-axiom executable Boolean semantics of concrete B_2 DAG gadgets G4 and G5 (64/64 inputs)ODRealB2FrontierLP_planted_fail.lean
ODRealB2FrontierLP.leantheorem85C_frontier_comparisons_and_pure_xor_wallZero-axiom frontier ordering 3 < 259/86 < 31/10 < 16/5 < 13/4 < 4 and pure-XOR clamp c <= 3ODRealB2FrontierLP_planted_fail.lean

3.1 Dense TC^0_2 Slack-Ratchet #SAT Phase Transition (Theorem 61)

nsRegimeExact #SATSlack-Ratchet NodesBrute Force 2^nSpeedup
1616exp_skewed13365,5361,985.94x
1616shifted_pm10165,53665,536.00x
1616balanced_hadamard_pm111,82867,64965,5360.969x
2020exp_skewed1551,048,57619,065.02x
2020shifted_pm10951,048,57611,037.64x
2020balanced_hadamard_pm1110,803768,2571,048,5761.365x

3.2 Spectral Hadamard CAPP on MAJ_15 o MAJ_15 (32,768 Inputs, Theorem 68)

RegimeExact #SAT (/32,768)Exact PrPoly-Time Spectral Est\|err\|CAPP Pass (< 1/6)
A. Unbiased odd Hadamard (theta = 0)16,3840.5000000.5000000.000000Yes
B. Biased near-orthogonal Hadamard (theta_i = +2)4480.0136720.0534500.039778Yes
C. Biased correlated rows (theta_i = +2)9,9490.3036190.0534500.250169No

3.3 Multi-Pass BWBP_5 Exact F_2053 Cut-Rank Verification (n = 14, Theorem 63)

Cuts cPartition PatternObserved Max Rank (/10)Irreducible Bound 1 + 4^cNaive Width-5 Bound 5^cSeparates From 128?
1X \| Y555Yes (5 < 128)
2X \| Y \| X171725Yes (17 < 128)
3X \| Y \| X \| Y6565125Yes (65 < 128)
4X \| Y \| X \| Y \| X128257625No (257 > 128)

3.4 Concrete B_2 Two-Step Lookahead LP Frontier (Theorems 62, 67, & 85)

System / RegimeScopeExact Optimum c*DecimalDual 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 adversary3/13.0000Clamped by (3-a+b)+(3+a-b)=6Below (3.00 < 3.10)
FGHK Potential Tree (Thm 67C)Certified finite case tree259/863.0116Certified rational treePrior benchmark (CITED)
Li–Yang Potential Tree (Thm 67C)Certified finite case tree31/103.1000Certified rational treeCurrent global frontier (CITED)
2-Step XOR-AND Lookahead, Worst-Case QB Stress (Thm 85 Regime C)Concrete local DAG system (G1..G5)16/53.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/43.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 FileSHA-256 Digest
lean/CheckReplay.lean055a9f83a020fa1eb04fd70fc8f99aec4308ce4bbd93c9f0064333f66bf7c977
lean/ODAffineRatchetGateElim.lean388f9cad0bb2fe55b6da16066ffdbbcda083da87204b9014ecf731908fed3773
lean/ODAffineRatchetGateElim_planted_fail.leanc8ae41ec337d3fcedfa49c95cd2f3577337c4277741fc6ddac6997949c6afa00
lean/ODB2AmortizedPotential.lean7c017543dd5c264ffe0c9d51010a78613492e3820d710fd31dfe48ac6fdd59f5
lean/ODB2AmortizedPotential_planted_fail.lean4010ea89275482b7b3c0d5d9d00043e7b2e6a08336ca9f139888bf0e7fd1a3ca
lean/ODBWBP5IrrepRank.leanea044d60234c4aa9ff59b59bfaa678e89d2772f43a57ef5b21610b8f873800ae
lean/ODBWBP5IrrepRank_planted_fail.lean605444f7b98c68e49ff23dab9ac2fad7e47eb1170576b6f37bff8861e88a5b2d
lean/ODRealB2FrontierLP.lean3f1c2a0262b960a1bc33d1535d6a0ee1a7ec122a1cf919f79ed81f7df510d967
lean/ODRealB2FrontierLP_planted_fail.lean8ad2e3b90f26824e3c8b7bbc408b03736e19b512d431aa44526ab7601b91249a
lean/ODSpectralTC02CAPP.lean9602e1fdaf3d68683fad0d405943ec17c96c22d68d0b11ed5c5b0a5bdef2326a
lean/ODSpectralTC02CAPP_planted_fail.leana7f21d5c9402fa91dac2f86949e66ba7f376349ee52ac288696e32aa78669497
lean/ODTC02SlackRatchet.lean0771eaf502b66a02de3e4b8cb17dffd5cebf2b5c7ff0e1301f48ad9c8b6f1b53
lean/ODTC02SlackRatchet_planted_fail.leanae3f1d47a5732ba00a7a438ba2ece5ba4a6582f912c40ae7d7746082d6629946
PAPER19.md723c7ed0ce7bb2676da619d3a666e89374d02542888897430135690b98a006f8
README.md1c80a76612dd9e4f2cafe0dbb228fe4a56593e92caaead8c4b530a8e66817410
scripts/verify_bundle.py52c7f727ee981f8c170c513fae5992d81223ffbfb6eb0b49495272e9ead6a6b3
Provenance

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
  • Replaypython scripts/verify_bundle.py
Cite this

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/}
}