{
  "schema_version": "gcy-v1",
  "paper_id": "paper-09",
  "paper_number": 9,
  "slug": "2026-11-24-sonny-algorithmic-capp-functional-pit-paper9",
  "title": "Constructive Algorithmic Circuit Lower Bounds, Verified Meet-in-the-Middle `#SAT`, and the Orthogonal-Vectors `TC^0_2` Frontier (Theorems 40–43)",
  "short_title": "Constructive Williams CAPP, Factorized #SAT & Orthogonal-Vectors TC^0_2",
  "author": "Sonny",
  "theorem_range": "Theorems 40–43",
  "track": "track-2",
  "verified_utc": "2026-11-24T08:33:28Z",
  "date_published": "2026-11-24",
  "date_modified": "2026-11-24",
  "toolchain": "Lean (version 4.34.1, x86_64-w64-windows-gnu, commit 5045d0056413266e57c625dcd7c365b10e377c52, Release)",
  "plain_summary": "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": "Static linear-subspace rank measures on the Boolean cube (such as Nisan rank and shifted discrete derivatives) hit both the $2^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-$2^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.\n\nThis 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:\n\n1. **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 \\in \\{10, 12, 14\\}$, a single Depth-1 `LTF` achieves **full Nisan rank** ($32/32, 64/64, 128/128$) over $\\mathbb{F}_{2053}$, yet Meet-in-the-Middle Two-Pointer `#SAT` computes its exact count with $0$ errors in $255$ scan steps ($64.25\\times$ scan speedup; $14.23\\times$ total sort+scan speedup at $n = 14$).\n2. **Factorized Bipartite `#SAT`, Multilinear Expectation `2^{n - |S|}`, & 2D Fenwick Dominance (Theorem 41, `PROVED` + `COMPUTED`):** Over an arbitrary commutative ring `CRing K`, any rank-$R$ bipartite sum factorizes exactly in $O(R \\cdot 2^{n/2})$ evaluations, and every multilinear monomial $\\prod_{i \\in S} x_i$ has exact Boolean-cube sum $2^{n - |S|}$ (enabling $O(M)$ `#SAT` for $M$-sparse surrogates). At $n = 16$ ($65{,}536$ inputs), exact `#SAT` achieves $16\\times$ speedup on Depth-3 $\\Sigma\\Pi\\Sigma$ ($R=8$), $327.68\\times$ on $M=200$ sparse multilinear polynomials, and $9.76\\times$ via 2D Fenwick dominance on Depth-2 `AND_2 o LTF`.\n3. **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|$ steps on any ascending/descending integer lists, and `#SAT` of `AND_k o LTF` reduces identically to $k$-dimensional bipartite dominance. Live empirical testing exposes a sharp **average-case vs worst-case dichotomy**: random `AND_k o LTF` ($n=14$) and uniform symmetric `THR_3 o THR_9` ($n=9$) are easily handled by KD-tree pruning ($226$–$5{,}612$ ops vs $16{,}384$) and degree-3 polynomial `CAPP` ($5/5$ pass).\n4. **Exact `#OV` to `AND_d o LTF` Reduction & Adversarial Sparse-`OV` Wall (Theorem 43, `PROVED` + `COMPUTED`):** Counting Orthogonal Vectors (`#OV`) in dimension $d$ reduces identically to exact `#SAT` of a $d$-gate Depth-2 `AND_d o LTF` circuit (`(-u_r) + (-v_r) >= -1`), pinning exact truly sub-quadratic $O(2^{(1-\\varepsilon)n})$ `#SAT` for `TC^0_2` directly against `OVC` and `SETH`. Empirically at $d = 16$ ($2^{14} = 16{,}384$ pairs), dense `OV` ($p = 0.65$) is Trie-pruned ($2{,}944$ ops, $0.1797\\times$), whereas **sparse `OV`** ($p \\in \\{0.15, 0.25, 0.35\\}$) defeats KD-tree pruning completely ($16{,}518$–$20{,}792$ ops, up to $1.269\\times$ worse than brute force), and linear degree-1 `CAPP` fails on narrow-margin `AND_3 o THR_9` ($|\\text{err}| = 96.748 > 85.33$).\n\n---",
  "lanes": [
    "TC^0_2 / CAPP",
    "Conditional P != NP"
  ],
  "evidence_tags": [
    "PROVED",
    "COMPUTED",
    "CITED",
    "OPEN"
  ],
  "prior_authors": [
    "Williams",
    "Ryan Williams",
    "Chen–Tell",
    "Abboud–Williams",
    "Impagliazzo–Paturi–Zane",
    "Murray–Williams"
  ],
  "open_questions": [
    "Theorems 40–43 narrow the algorithmic `TC^0_2` frontier to a single crisp question: exact truly sub-quadratic $2^{(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 ($2^n / n^{\\omega(1)}$) approximate `CAPP` algorithm** (error $< 1/6$) for arbitrary polynomial-fan-in `THR_s o THR` ($s = n^c$) using anti-concentration and probabilistic/rational polynomials without composite degree exceeding $n/2$."
  ],
  "verify_command": "python python/verify_bundle.py",
  "standing": {
    "standing_tier": "foundation",
    "standing_label": "Working / Foundation",
    "projected_rank_label": "Foundation · Constructive CAPP",
    "baseline_compared": "Williams (2011–2014) & Chen–Tell (2019)"
  },
  "verification": {
    "tier": 4,
    "tier_label": "Tier 4: Kernel Replay (trustLevel=0) + Zero-Axiom Core + Planted Controls",
    "trust_level_zero": true,
    "lean_modules": 4,
    "target_declarations": 12,
    "zero_axiom_declarations": 3,
    "planted_controls_lean": 4,
    "planted_controls_python": 0,
    "planted_controls_breakdown": "4 Lean",
    "planted_controls_total": 4,
    "planted_controls_rejected": 4,
    "sha256_manifest_files": 13,
    "dual_independent_checker": false
  },
  "venues": [
    {
      "name": "Zenodo",
      "status": "unsubmitted",
      "url": "",
      "note": "Target DOI archive"
    },
    {
      "name": "ECCC",
      "status": "unsubmitted",
      "url": "",
      "note": "Target technical report"
    }
  ],
  "declarations": [
    {
      "declaration": "ODAlgorithmicLBBridge.theorem40A_fast_capp_plus_witness_compression_contradicts_hierarchy",
      "short_name": "theorem40A_fast_capp_plus_witness_compression_contradicts_hierarchy",
      "module": "ODAlgorithmicLBBridge.lean",
      "axioms": [],
      "zero_axiom": true,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODAlgorithmicLBBridge.theorem40B_additive_error_approx_preserves_capp",
      "short_name": "theorem40B_additive_error_approx_preserves_capp",
      "module": "ODAlgorithmicLBBridge.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODAlgorithmicLBBridge.theorem40C_nonvacuous_n4_capp_promise_witness",
      "short_name": "theorem40C_nonvacuous_n4_capp_promise_witness",
      "module": "ODAlgorithmicLBBridge.lean",
      "axioms": [
        "propext",
        "Quot.sound",
        "Classical.choice"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFactorizedSharpSAT.theorem41A_factorized_bipartite_sum_identity",
      "short_name": "theorem41A_factorized_bipartite_sum_identity",
      "module": "ODFactorizedSharpSAT.lean",
      "axioms": [
        "propext"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFactorizedSharpSAT.theorem41B_monomial_cube_sum_pow2",
      "short_name": "theorem41B_monomial_cube_sum_pow2",
      "module": "ODFactorizedSharpSAT.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFactorizedSharpSAT.theorem41C_nonvacuous_factorized_and_monomial_witness",
      "short_name": "theorem41C_nonvacuous_factorized_and_monomial_witness",
      "module": "ODFactorizedSharpSAT.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODStaircaseSharpSAT.theorem42A_monotone_staircase_two_pointer_count",
      "short_name": "theorem42A_monotone_staircase_two_pointer_count",
      "module": "ODStaircaseSharpSAT.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODStaircaseSharpSAT.theorem42B_and_k_ltf_to_dominance_reduction",
      "short_name": "theorem42B_and_k_ltf_to_dominance_reduction",
      "module": "ODStaircaseSharpSAT.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODStaircaseSharpSAT.theorem42C_staircase_full_rank_vs_linear_count",
      "short_name": "theorem42C_staircase_full_rank_vs_linear_count",
      "module": "ODStaircaseSharpSAT.lean",
      "axioms": [],
      "zero_axiom": true,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODOVThresholdHardness.theorem43A_ov_reduces_identically_to_and_d_ltf",
      "short_name": "theorem43A_ov_reduces_identically_to_and_d_ltf",
      "module": "ODOVThresholdHardness.lean",
      "axioms": [
        "propext"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODOVThresholdHardness.theorem43B_subquadratic_and_d_ltf_refutes_ov_conjecture",
      "short_name": "theorem43B_subquadratic_and_d_ltf_refutes_ov_conjecture",
      "module": "ODOVThresholdHardness.lean",
      "axioms": [
        "propext"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODOVThresholdHardness.theorem43C_nonvacuous_ov_d4_witness",
      "short_name": "theorem43C_nonvacuous_ov_d4_witness",
      "module": "ODOVThresholdHardness.lean",
      "axioms": [],
      "zero_axiom": true,
      "evidence": "PROVED"
    }
  ],
  "sha256_manifest_count": 13
}
