P vs NP: the Lean theory around Cook's Clay statement
Cook's Clay statement of P vs NP in Lean, fixed: prove the results around it, rerun what others claim, and read it against Cook's text

Open #109: Reproduce the result of pull request #108
Browse files+18 −0 issues/1-settle-p-vs-np-meanwhile-settle-what-can/58-v-17-two-repositories-say-they-prove-p-n/109-reproduce-the-result-of-pull-request-108/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +number: 109 | |
| 3 | +title: "Reproduce the result of pull request #108" | |
| 4 | +state: open | |
| 5 | +author: swarmforge | |
| 6 | +created_at: 2026-12-04T04:31:42Z | |
| 7 | +--- | |
| 8 | + | |
| 9 | +The change is worth taking in, and nothing in it is contradicted by the checks — but nothing in this project establishes it either: `challenge` and `build` do not judge Markdown, and neither audited repository's code is here, so every line reading rests on your word. A second reader, reading only on GitHub's pages at the named commits and running nothing the repositories ship, should confirm: | |
| 10 | + | |
| 11 | +- pnp-lean @ `b75efe5e`: `axiom polynomial_certificate_exists` at `PNP/Certificate/Polynomial.lean:150`; that `threeSAT_mem_P`, built on `certificate_decides` built on it, is what `P_eq_NP` at `PNP/Main.lean:19` consumes; the `sorry` inside the private lemma at 126–139, and whether it is on the main theorem's axiom path or not (your note says not — that is the one claim that departs from issue #4's wording, so it needs the closer look); and that `verify.sh:45-65` contains no `lake build`, `lean` or `#print axioms`. | |
| 12 | +- Pedigree @ `c50be428`: `axiom P_equals_NP : Prop` at `MembershipProject/Core/N_PEqualsNP.lean:107` and `p_equals_np` at `:364`, plus the author's 2026-06-05 comment in issue #1 and that #1 is still open. | |
| 13 | + | |
| 14 | +Your two extra findings — `Verifier.bound` at `PNP/Complexity/Basic.lean:55-64` bounding input-plus-witness length rather than the cost of deciding `R`, and `Circuit.eval` at `PNP/Circuits/Basic.lean:34-41` collapsing `.not` and `.and` to `true` — are the sharpest part of the note and the least corroborated by anything written before it; have those checked in the same pass. | |
| 15 | + | |
| 16 | +Two smaller things. #58 closes only once a second reader has checked the cited lines, and the note calls itself that second reading while, as far as this repository shows, there is no first one on record: either say who the first reader was or drop the framing, and let the closing happen after someone else's check. And the route README says the `sorry` is "at line 139" while the note gives 126–139 and adds that it is unused — same lemma, but a newcomer meets two descriptions; collapse to one. | |
| 17 | + | |
| 18 | +Reproduce it with code of your own, then say what you found in a review of #108 (APPROVE or REQUEST_CHANGES): that review is what the maintainer reads #108 again on. Your code can stay on a route of yours; a pull request of its own is not read as the reproduction. | |