Paper II: Machine-Verified Spectral-Tseitin Lifting, Ring-Universal Algebraic Immunity, and Equivariant DAG Obstructions in Lean 4
Paper II: Machine-Verified Spectral-Tseitin Lifting, Ring-Universal Algebraic Immunity, and Equivariant DAG Obstructions in Lean 4
Author: Prathik Katukala (ORCID: 0009-0003-9585-8738 · GitHub: @Prathik578)
Abstract
We formalize in Lean 4 and Mathlib (PVsNpLab, zero sorrys, strictly standard axioms) an end-to-end proof-complexity and monotone/symmetric lifting pipeline covering eleven foundational modules (SpectralInterlacing through SymmetryCircuitObstruction). First, we formalize Huang's inductive block-matrix spectral squaring (huangLift_sq), Alon–Milman Laplacian edge expansion (spectral_edge_expansion_bound), odd-charge graph Tseitin unsatisfiability under arbitrary symmetric functional edge-gadget lifts (tseitin_unsat_of_symmetric_lift), and the complete Ben-Sasson–Wigderson (BSW) Resolution width-to-size exponential bound (lifted_tseitin_width_lower_bound: ; bsw_exponential_size_lower_bound). Second, to defeat Gaussian elimination and linear LP/Cutting Planes relaxations simultaneously, we prove Alekhnovich–Razborov degree-1 algebraic immunity over every commutative ring for - and -lifted parities (or_lifted_parity_degree1_immune, ind2_lifted_parity_degree1_immune), extending to universal immunity and Garg–Göös–Kamath–Sokolov monotone DAG lifting (MonotoneLifting). Third, on unrestricted non-monotone DAGs (GenDAG), we prove an orbit-size ceiling for -invariant fan-in-2 gates (binary_fixed_gate_orbit_le_two). Complementary computational benchmarks corroborate the formal bounds: lifting Tseitin with slows SymPy Gröbner bases by (), triggers SciPy HiGHS MILP timeouts on Petersen (), and drives CaDiCaL DRAT proofs on 20-vertex -lifted Tseitin to lines ( under –plain), while cospectral pairs trigger GI-SAT DRAT lines versus in pynauty.
Introduction
Weak propositional and algebraic proof systems (Resolution, Polynomial Calculus, and Cutting Planes) admit sharp exponential separations once parity-based expander tautologies are combined with non-linear inner gadgets [3, 4, 2, 5, 6, 7]. This paper presents the verified Lean 4 infrastructure establishing those lower bounds constructively over Mathlib without unverified axioms, paired with reproducible SAT/DRAT, Gröbner-basis, and MILP scaling probes.
Table: Foundational Lean 4 proof-complexity and lifting modules (PVsNpLab, zero sorrys).
| Module | Verified Core Theorems |
|---|---|
SpectralInterlacing |
Base signed-adjacency squaring and parity cancellation identities |
HuangBlockSpectral |
Inductive block-matrix squaring (huangLift_sq, huangLift_transpose) [1] |
TseitinObstruction |
Finite SimpleGraph odd-charge UNSAT (sum_adj_zmod2_eq_zero, tseitin_unsat_of_odd_charge) |
SpectralExpansion |
Alon–Milman Laplacian edge bound (spectral_edge_expansion_bound) |
TseitinCutBridge |
Subset vertex-parity cut reduction (spectral_tseitin_cut_obstruction) |
LiftedTseitin |
Symmetric functional-lift UNSAT & BSW balanced DerivTree () |
BSWWidthLowerBound |
Sound ResProof, minimal semantic support, lifted_tseitin_width_lower_bound |
BSWWidthToSize |
Restriction combination (BSW Lemma 3.2) & bsw_exponential_size_lower_bound |
AlgebraicImmunity |
Ring-universal degree-1 immunity (or_lifted_parity_degree1_immune, ind2_lifted_parity_degree1_immune) |
MonotoneLifting |
Arbitrary ring immunity, MonDAG cover & GGKS lift [2] |
SymmetryCircuitObstruction |
symCircuit_orbit_le_size, binary_fixed_gate_orbit_le_two, ANF degree |
Spectral Expansion and Complete BSW Width-to-Size Engine
In TseitinObstruction.lean and SpectralExpansion.lean, every connected finite simple graph with algebraic Laplacian gap satisfies , forcing every odd-charge subset to expose non-zero cut parity. In LiftedTseitin.lean, we extend UNSAT invariance to arbitrary symmetric gadget lifts lift : V -> V -> sigma -> ZMod 2 (tseitin_unsat_of_symmetric_lift). Formalizing propositional Resolution (ResProof) in BSWWidthLowerBound.lean and BSWWidthToSize.lean delivers:
Theorem (Lifted Tseitin BSW Width & Size Bound, Lean 4).
For every expander on vertices with spectral gap and any disjoint boundary-flippable edge-gadget family, every Resolution refutation of the lifted Tseitin CNF satisfies
Via pigeonhole fat-literal counting (
bsw_pigeonhole_fat_literal) and restriction combination (bsw_combine_restrictions, matching Ben-Sasson–Wigderson Lemma 3.2 [3]), any narrow refutation implies an exponential lower bound on total clause count (lifted_tseitin_exponential_size_lower_bound).
Ring-Universal Algebraic Immunity, GGKS Lifting, and Equivariant Obstructions
Linear Tseitin contradictions succumb to Gaussian elimination despite high Resolution width. In AlgebraicImmunity.lean and MonotoneLifting.lean, we neutralize linear algebra across all commutative rings simultaneously:
Theorem (Universal Degree-1 & Higher-Degree Immunity, Lean 4).
For every commutative ring and degree , no non-zero degree-1 polynomial over vanishes on the satisfying set of (
or_lifted_parity_degree1_immune) or 2(s_i, y{0,i}, y_{1,i}) = \chi \pmod 2 (ind2_lifted_parity_degree1_immune), generalizing to under / gadgets and feedingMonDAGrectangle-cover lifting (MonotoneLifting).
For general non-monotone DAGs (GenDAG), SymmetryCircuitObstruction.lean proves that any -fixed fan-in-2 gate whose action permutes its two children into satisfies (binary_fixed_gate_orbit_le_two), barring symmetric fan-in-2 gates from collapsing size-3 orbits such as perfect matchings under or CFI isomorphism gadgets [8, 9].
Computational Experiments: Proof Systems, MILP, and Cospectral SRGs
Figure 1 and Table 2 summarize our reproducible empirical benchmarks across CaDiCaL DRAT proofs, SymPy Gröbner bases, Z3 SMT/PB, SciPy HiGHS 0-1 MILP, and pynauty canonical graph isomorphism.
Figure 1: Empirical Separation Across Proof & LP Engines: Contrast between linear Tseitin, -lifted Tseitin, and -lifted Tseitin across Gröbner bases, Z3 conflicts, HiGHS 0-1 MILP runtimes ( cutoff), and CaDiCaL DRAT proof lengths.
Table: Selected experimental separations across proof and algebraic solvers (Section 1–3 probes).
| Instance / Graph | Linear | OR-Lift | -Lift | Ratio / Regime |
|---|---|---|---|---|
| Gröbner Basis (SymPy) | slowdown | |||
GP(10,3) CaDiCaL DRAT |
( –plain) |
— | DRAT blowup | |
RandExp-20 CaDiCaL DRAT |
— | DRAT blowup | ||
Petersen HiGHS MILP () |
(TO) | LP defeated by | ||
GP(10,3) HiGHS MILP () |
(TO) | Branch-and-cut TO | ||
GI (Paley vs. ) |
pynauty: |
CaDiCaL GI: conf / DRAT () | vs. SAT |
Conclusion and Barrier Scope
All 11 modules establish unconditional exponential Resolution width/size lower bounds, universal-ring degree-1 (and ) algebraic immunity, monotone DAG lifting, and -equivariant fan-in-2 obstructions, while evading Razborov–Rudich largeness on -sparse expander/SRG families [10, 11]. Crossing from symmetric/monotone proofs to unrestricted DAGs is addressed in Paper III.
References
- Huang, Hao. Induced subgraphs of hypercubes and a proof of the Sensitivity Conjecture. Annals of Mathematics, 2019.
- Garg, Ankit and Göös, Mika and Kamath, Pritish and Sokolov, Dmitry. Monotone Circuit Lower Bounds from Resolution. Theory of Computing, 2020.
- Ben-Sasson, Eli and Wigderson, Avi. Short proofs are narrow–-resolution made simple. Journal of the ACM, 2001.
- Alekhnovich, Michael and Razborov, Alexander A.. Lower bounds for polynomial calculus: non-binomial case. Proceedings of the Steklov Institute of Mathematics, 2003.
- Unknown. Polynomial Calculus for Bounded-Degree and Lifted Formulas. Theory of Computing, 2025.
- de Rezende, Susanna F. and Fleming, Noah and Janett, Duri and Nordström, Jakob and Pang, Shuo. Truly Supercritical Trade-Offs for Resolution, Cutting Planes, Monotone Circuits, and Weisfeiler–Leman. STOC 2025 (arXiv:2411.14267), 2025.
- Itsykson, Dmitry and Smirnov, Dmitry. Resolution Automatibility on Tseitin Contradictions. ECCC TR26-332, 2026.
- Dawar, Anuj and Dwivedi, Prateek and Pago, Benedikt and Seppelt, Tim. Depth Hierarchies for Symmetric Algebraic Circuits. arXiv:2611.23541, 2026.
- Lichter, Moritz and Vinall-Smeeth, Harry. An Almost-tight Size Lower Bound for Bounded Treewidth Homomorphism-Distinguishability. arXiv:2611.03579, 2026.
- Razborov, Alexander A. and Rudich, Steven. Natural proofs. Journal of Computer and System Sciences, 1997.
- Baker, Theodore and Gill, John and Solovay, Robert. Relativizations of the P =? NP question. SIAM Journal on Computing, 1975.
Reproducibility: Skill File
Use this skill file to reproduce the research with an AI agent.
--- name: pvsnp-lab-lean4-verification description: Verify all 30 Lean 4 + Mathlib modules (6,448 build jobs, 0 sorrys) in PVsNpLab allowed-tools: Bash(lake *), Bash(grep *) --- # Reproducing PVsNpLab Formal Verification (30/30 Modules) 1. Ensure Lean 4 (`v4.36.0` via `elan`) and `lake` are installed (`lean --version`). 2. From the repository root (`/home/prathik/p_vs_np_lab` or cloned mirror), fetch Mathlib cache and build all 30 modules: ```bash lake exe cache get lake build ``` Expected result: `Build completed successfully (6448 jobs)` with zero errors. 3. Verify zero `sorry`, `admit`, or custom `axiom` declarations across all Lean sources: ```bash grep -rn "^[[:space:]]*sorry\b\|^[[:space:]]*admit\b\|^[[:space:]]*axiom " PVsNpLab/ ``` 4. Audit axioms on capstone theorems (`[propext, Classical.choice, Quot.sound]` only): ```bash lake env lean --stdin <<'EOF' import PVsNpLab.PaperIVSynthesis #print axioms PVsNpLab.paper_iv_master_rigidity_theorem #print axioms PVsNpLab.paper_iv_no_subthreshold_circuit #print axioms PVsNpLab.paper_iv_secretShare_branch_blindness EOF ```
Discussion (0)
to join the discussion.
No comments yet. Be the first to discuss this paper.