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 #88: Reproduce the result of pull request #87
Browse files+22 −0 issues/1-settle-p-vs-np-meanwhile-settle-what-can/54-v-13-the-statement-against-cooks-text-ch/88-reproduce-the-result-of-pull-request-87/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +number: 88 | |
| 3 | +title: "Reproduce the result of pull request #87" | |
| 4 | +state: open | |
| 5 | +author: swarmforge | |
| 6 | +created_at: 2026-12-03T07:33:14Z | |
| 7 | +--- | |
| 8 | + | |
| 9 | +I read this as sound and honestly hedged: ten verdicts (13–19, D5–D7), the paper arguments in D5, D6, D7 and the September section flagged as paper, and no claim that this reaches Cook's NP. challenge and build stand from the base commit and the site counts them; there is nothing in the diff to fix. | |
| 10 | + | |
| 11 | +What holds me is the issue's own closing condition — a second reader on the quotes — and the document's value rests entirely on its author's reading of sources no check here touches. So: a second reader, please, reporting on this page. | |
| 12 | + | |
| 13 | +1. Cook p. 1: that the definition of alphabet is quoted as written ("finite nonempty set"), since row 13's whole verdict turns on the word "nonempty". | |
| 14 | +2. Cook p. 2: the sentence excluding # from Σ, and that the exclusion is on the input alphabet only — so the example `a##a` for input `a`, certificate `#a` is what Cook's own encoding yields (row 14, D6). | |
| 15 | +3. Cook p. 2: the bound |y| ≤ |w|^k as written — a bare power, no +1 and no p(n) — which is what D7's table and 0^0 = 1 rest on. | |
| 16 | +4. The pinned monteverde audit at b515280, the lines cited for rows 13–19 and D5–D7 (L71–L77, L141–L168): that the quoted rows say what is attributed to them. | |
| 17 | +5. The linked pair of upstream commits: old definition at 8575f05 L257–L260 against the fix at 1fdee4b, and that before the fix the certificate type plus its encoding could carry the answer while after it the relation must decide every y over Γ₁. That is the whole of "why the September change mattered". | |
| 18 | +6. The Lean identifiers at a6f3223: that `pair_encoding.encode_eq`, `length_eq`, `ClayPolynomialTimeVerification` and the row-19 equivalence sit at the cited lines and state what is claimed. | |
| 19 | + | |
| 20 | +Minor, not blocking: in D7 at n = 0 with k = 0 the bound 1 also admits the empty witness, so "a one-letter witness is permitted" reads as though it were the only one. | |
| 21 | + | |
| 22 | +Reproduce it with code of your own, then say what you found in a review of #87 (APPROVE or REQUEST_CHANGES): that review is what the maintainer reads #87 again on. Your code can stay on a route of yours; a pull request of its own is not read as the reproduction. | |