GCY's audit of the claimed degree-4 P = NP proof (UACD)
Audit dates: 5 December 2026 (main suite 21:29:12Z; extended n = 36 run 22:38:51Z).
CLAIMED Lean built & kernel-checked Counter-runs reproduced Ziad Ramadan's repository (zizorobotics/pvsnp, commit bd8740e2, Apache-2.0) proposes a proof of P = NP via constant-degree-4 algebraic closure over GF(3) (Unified Algebraic Contraction and Derivation, UACD). GCY rebuilt the standalone Lean 4.31.0 formalization in an isolated sandbox, ran leanchecker on all 25 built modules (exit 0), audited all 2,757 declarations in the closure and Hajós namespaces (0 non-standard axioms, 0 sorry), and ran the repository's unmodified Python solver against exact verifiers. The Lean proofs are valid for what they state, and what they state does not imply P = NP: degree-4 closure is simulated by degree-4 Polynomial Calculus over GF(3), which faces known linear-degree lower bounds and returns UNDECIDED at fixed-point completion on concrete unsatisfiable instances in our reproducible runs.
GCY checked four questions:
- What do the Lean 4 theorems actually prove, and do they establish P = NP?
- What axioms and kernel checks does the Lean 4 code rest on?
- Does UACD's degree-4 closure go beyond degree-4 Polynomial Calculus over GF(3)?
- How does the unmodified Python solver behave on unsatisfiable instances beyond the repository's
n <= 16suite?
For kids
Suppose someone builds a robot that checks puzzles by combining clues up to 4 pieces at a time. On small puzzles (up to 16 pieces), the robot never makes a wrong claim and solves many of them. A computer proof checker even stamped the robot's rulebook as safe and polynomial-time. Wait: does that mean the robot can decide every puzzle? No. The rulebook itself only promises an answer if you let the piece limit grow as large as the puzzle needs, not stuck at 4. When we gave the robot small 16-variable parity puzzles that have no solution, the robot finished its full check cleanly, found nothing wrong, and had to answer "UNDECIDED".
For everyone
- What the repository proves (PROVED / COMPUTED): The standalone Lean 4.31.0 code (zero Mathlib) compiles cleanly on all 25 active modules and passes C++
leanchecker(exit0) using only Lean's standard axioms (propext,Classical.choice,Quot.sound; zerosorry). It proves: (1) on the Lean port,Closure4.buildClosureis total and returns(Mono × DPoly es d)pairs whose dependent fieldproof : Derives d (edgeEqs es) (polyToExpr poly)certifies soundness by type, with output basis length bounded bynumMonos n <= 5 * natPow n 4(=5(n+1)^4) viabuildClosure_length_leandnumMonos_le(whilebuildClosure_cost_leproves a purely arithmetic inequality between expression bounds rather than a runtime bound on Lean execution or on the timed Python solver); (2) every non-3-colourable graph is refuted at some unbounded degree3 + kgiven by its Hajós fold depth (PCHajosThm.refuted_some_degree); and (3) graphs in the restricted classBuiltM 1(at most one costly merge episode fromK4) are refuted at degree 4 (PCHajosBudget.builtM1_refuted). - What it does not prove (REVIEWED / COMPUTED / CITED): No theorem in the repository states P = NP or proves that degree-4 closure decides 3-colourability (or any NP-complete problem) in general; as the README itself notes for
BuiltM 1, graphs needing a second separate degree check are not covered yet. For 3-colouring, reading the Lean and Python code shows that UACD's unconditioned degree-4 GF(3) closure uses no extension variables and is simulated by degree-4 Polynomial Calculus (PC) over GF(3) (REVIEWED); under the linear substitutiony_v = x_{v,1} + 2 x_{v,2}over GF(3), UACD's edge equations match-(x_{u,0}x_{v,0} + x_{u,1}x_{v,1} + x_{u,2}x_{v,2})modulo the standard 0/1-indicator axioms, so by algebraic derivation and a 9-point check any degree-4 UACD refutation maps at degree 4 into the 0/1-indicator PC system (REVIEWED / COMPUTED), where primary literature proves linear-degreeOmega(n)(exponential-size) lower bounds over any field on FPHP-to-colouring gadgets (Lauria & Nordström, CCC 2017) and sparse random regular graphs (Conneryd et al., FOCS 2023) (CITED). For Tseitin mod-2 contradictions, Buss, Grigoriev, Impagliazzo & Pitassi (JCSS 2001 / CCC 1999) prove linear-degree PC lower bounds over fields of characteristic!= 2(CITED), and our reproducibleilp-mode CLI runs and separateEquationClosurechecks below directly establishUNDECIDEDwithout asserting a formal encoding reduction to the BGIP Tseitin encoding. - Our reproducible runs (COMPUTED): Running the unmodified
quartic_bridge_SAT.pyCLI in an isolated sandbox shows it leaves some unsatisfiable instancesUNDECIDED(even with bounded output basis length on the Lean port):- Fixed-point and solver counterexamples (
UNSAT→UNDECIDED): On 16–24 variable 4-regular Tseitin parity contradictions (Tseitin_K44,Tseitin_K55_minus_M,Tseitin_Bip66_4reg— all provablyUNSATby mod-2 summation and exhaustive check at 16 vars), the unmodifiedquartic_bridge_SAT.pyCLI returnsUNDECIDED("greedy prefix cannot be extended; no backtracking", 2–3 probes) in0.977s–4.313s, while a separate audit-scriptEquationClosurecheck confirms fixed-point stabilization without refutation (verify_closed = True). - Solver cost and timeouts on larger instances: In the Lean port,
Closure4.buildClosure_length_leandnumMonos_lebound the output basis length by5(n+1)^4(whilebuildClosure_cost_leproves only an arithmetic inequality, not a runtime bound on Lean execution or on the timed Python solver). Empirically, on non-3-colourable 5-regularK4-free graphs, Python UACD refutes in0.041s–4.533sup ton = 32(79,668multiplications) and takes71.487s(194,506multiplications) whenn = 36is run with a300scap (recorded at22:38:51Z; reproducible viarun_uacd_suite.py --extended-n36, flag added after that run), hitting the20scap atn = 36..48and on anFPHP(4 -> 3)3-colouring gadget graph (n = 99), while exact DSATUR solves all of them in<= 0.007s.
- Fixed-point and solver counterexamples (
- What stays OPEN: Third-party alternative Lean kernels (
nanoda_bin,lean4lean,con-leche,con-ron) have not yet been run by GCY, and the top-levelGuardedPoolingtarget inlakefile.leanhas an import error (outside theClosure4Port/Hajós closure). No peer-reviewed publication of the claim exists.
For experts: pinned hashes, Lean axiom audit, and reproducible solver tablesdetails
Pinned source receipts (COMPUTED, main run 2026-12-05T21:29:12Z; extended n = 36 run 2026-12-05T22:38:51Z).
- Repository:
https://github.com/zizorobotics/pvsnpat commitbd8740e2c2723a465e01706efa9f41aec5ef0aeb(treee1fcf9a68616c721ba1dc8a5a82358b02a14b464, deterministic SHA-256 across 230 non-.gitfiles:d528896ce0b36f317a094cda299a03a7f9b10982613aa656daa04b586db486b9). - Unmodified solver hashes:
experiments/quartic_bridge.py(db164cda29360a58381112a98353a88eaae1f02ec53b05ba94e6452674a7834b) andexperiments/quartic_bridge_SAT.py(1578d59de98e1a333021ae3750e4aeda86f9b4302914d97518244acabfea1e25).
Lean 4.31.0 verification & axiom census (COMPUTED).
| Check | Scope | Result |
|---|---|---|
lake build & lake env leanchecker | All 25 active modules (Closure4Port, PCTight, PC*, Cert, Integrator, Mod3, Hybrid) | All 25 pass (exit 0); top-level GuardedPooling glob fails import check |
Lean.collectAxioms walk | 2,757 declarations in Closure4.*, PCTight.*, PC*, Integrator.*, Cert.* | 0 unsafe; 0 non-standard axioms (only subsets of [propext, Classical.choice, Quot.sound]) |
| Static scan (44 files, 22,914 lines) | Whole lean/ directory | 0 sorry/sorryAx; 0 raw axiom; 0 unsafe; 0 @[implemented_by]; 1 native_decide in GuardedPooling/Unrestricted.lean:478 (out of cone); 5 partial def (out of Closure4Port/PCHajosThm) |
Named declarations checked via #print axioms | buildClosure_cost_le, buildClosure_length_le, PCHajosThm.refuted_some_degree, builtM1_refuted, builtM1_answer, WeakCherry, plus 54 related declarations | All depend only on standard Lean axioms; buildClosure carries DPoly proofs by type and bounds output length by numMonos n <= 5 * natPow n 4; none implies fixed-degree completeness for all graphs |
Polynomial Calculus equivalence (REVIEWED / COMPUTED) & literature (CITED).
- Degree-4 PC simulation (REVIEWED):
Closure4works exclusively in the original vertex/problem variables over GF(3) moduloy_v^3 - y_v = 0(no extension variables). Becausetimes_varonly multiplies basis rows of reduced degree< 4by a single variabley_v, intermediate products have degree<= 4and reductionsy_v^3 -> y_vare simulated by subtractingm'(y_v^3 - y_v)of degree<= 4. UnconditionedUNSATverdicts inquartic_bridge_SAT.pyare thus simulated by degree-4 Polynomial Calculus over GF(3). - Encoding equivalence (REVIEWED / COMPUTED): Setting
y_v = x_{v,1} + 2 x_{v,2}over GF(3) yieldsy_v^3 - y_v = (x_{v,1}^3 - x_{v,1}) + 2(x_{v,2}^3 - x_{v,2})in degree 3 andE(u,v) = -(x_{u,0}x_{v,0} + x_{u,1}x_{v,1} + x_{u,2}x_{v,2})modulo the standard 0/1-indicator axioms in degree 2 (verified pointwise across all 9 colour pairs). Thus any degree-4 UACD refutation maps at degree 4 into the 0/1-indicator PC system over GF(3). - Lauria & Nordström (CCC 2017): Graph Colouring is Hard for Algorithms Based on Hilbert's Nullstellensatz and Gröbner Bases, LIPIcs 79, pp. 2:1–2:20, DOI
10.4230/LIPIcs.CCC.2017.2(arXiv:2306.00125) — linear-degreeOmega(n)PC/Nullstellensatz lower bounds via FPHP-to-colouring reductions. - Conneryd, de Rezende, Nordström, Pang & Risse (FOCS 2023): Graph Colouring Is Hard on Average for Polynomial Calculus and Nullstellensatz, IEEE FOCS 2023 (
arXiv:2503.17022, ECCC TR25-032) — linear-degreeOmega(n)PC/Nullstellensatz lower bounds on sparse random regular and Erdős–Rényi graphs. - Buss, Grigoriev, Impagliazzo & Pitassi (JCSS 2001 / CCC 1999): Linear Gaps Between Degrees for the Polynomial Calculus Modulo Distinct Primes, JCSS 62(2): 267–289 (preliminary version in CCC '99) — linear-degree PC lower bounds for Tseitin mod-2 contradictions over fields of characteristic
!= 2.
Reproducible solver runs on unmodified quartic_bridge_SAT.py & separate audit closure checks (COMPUTED).
| Suite / Instance | Size | Exact verifier | Audit EquationClosure (verify_closed) | quartic_bridge_SAT.py CLI verdict | CLI wall time |
|---|---|---|---|---|---|
Tseitin_K44 (4-reg ILP) | 8 vertices, 16 vars | UNSAT (mod-2 & brute force) | 4,124 / 4,573 (True) | UNDECIDED (2 probes, "greedy prefix cannot be extended; no backtracking") | 0.977s |
Tseitin_K55_minus_M (4-reg ILP) | 10 vertices, 20 vars | UNSAT (mod-2 & brute force) | 8,405 / 10,206 (True) | UNDECIDED (2 probes, "greedy prefix cannot be extended; no backtracking") | 1.179s |
Tseitin_Bip66_4reg (4-reg ILP) | 12 vertices, 24 vars | UNSAT (mod-2) | 14,946 / 19,875 (True) | UNDECIDED (3 probes, "greedy prefix cannot be extended; no backtracking") | 4.313s |
5-regular K4-free graphs (n = 12..32) | 12–32 vertices | UNSAT (DSATUR < 0.001s) | — (CLI run) | UNSAT | 0.041s–4.533s |
5-regular K4-free (n = 36, seed 336002) | 36 vertices, 90 edges | UNSAT (DSATUR 0.0038s) | — (CLI run) | TIMEOUT at 20s cap; UNSAT (194,506 mults) in 300s-cap run (22:38:51Z; reproducible via --extended-n36) | 71.487s (extended) |
5-regular K4-free graphs (n = 40, 44, 48) | 40–48 vertices | UNSAT (DSATUR <= 0.007s) | — (CLI run) | TIMEOUT (20s cap) | 20.000s |
FPHP(3 -> 2) 3-col gadget | 36 vertices, 75 edges | UNSAT (DSATUR 0.0006s) | — (CLI run) | UNSAT | 3.829s |
FPHP(4 -> 3) 3-col gadget | 99 vertices, 217 edges | UNSAT (DSATUR 0.0004s) | — (CLI run) | TIMEOUT (20s cap) | 20.000s |
Method. GCY cloned the repository into quarantine, rebuilt the Lean 4 project in an isolated sandbox, ran leanchecker and an environment-wide axiom scan, and ran the unmodified Python solver CLI on independent unsatisfiable instances.
audit-pvsnp-uacd
Rebuilt this yourself?
validate.py and /api/v1/receipts only accept GCY Zenodo deposit slugs. To submit an independent rebuild or check of this audit (audit-pvsnp-uacd), email hello@gocheckyourself.org (subject External Check: audit/audit-pvsnp-uacd) or open an issue on SonnyChecksIn/GoCheckYourself-Releases/issues.
- Audit ID
audit-pvsnp-uacd- Upstream commit
https://github.com/zizorobotics/pvsnp @ bd8740e2c2723a465e01706efa9f41aec5ef0aeb- Lean toolchain
leanprover/lean4:v4.31.0- Mathlib commit
none (standalone Lean 4.31.0; packages: [] in lake-manifest.json)- Expected axioms
[propext, Quot.sound](Closure4.*,PCTight.Derives.sound) and[propext, Classical.choice, Quot.sound](PCHajosThm.refuted_some_degree,builtM1_refuted)
Exact rebuild commands
git clone https://github.com/zizorobotics/pvsnp.git && cd pvsnp/lean git checkout bd8740e2c2723a465e01706efa9f41aec5ef0aeb lake build Closure4Port PCTight PCHajosBudget PCHajosThm PCCertSize lake env leanchecker Closure4Port
Include in your report: commit hash, full Lean toolchain & Mathlib hashes, exact commands run, OS, exit code, #print axioms output, what was NOT checked, and your attribution choice (name / handle / anonymous).