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

Clarify both permitted witness lengths at the empty input
Browse filesChecks
ci/docs
Details
+1 −1 docs/cook-text/np.md View file
| @@ -24,7 +24,7 @@ Cook's exact condition is “the symbol # is not in Σ”. This excludes # from | ||
| 24 | 24 | |
| 25 | 25 | | Input length n | k = 0 | k ≥ 1 | |
| 26 | 26 | | --- | --- | --- | |
| 27 | -| 0 | n^k = 1, so a one-letter witness is permitted | n^k = 0, so only the empty witness fits | | |
| 27 | +| 0 | n^k = 1, so the empty witness and every one-letter witness fit | n^k = 0, so only the empty witness fits | | |
| 28 | 28 | | 1 | n^k = 1 | n^k = 1 | |
| 29 | 29 | |
| 30 | 30 | Cook writes a bare power. Lean natural powers use 0^0 = 1. If a different textbook allows a general polynomial p(n), the extra capacity at short lengths changes no language class on paper: the finitely many inputs of length zero or one have a fixed yes/no table. Accept a table-yes input with an empty certificate and reject a table-no input regardless of its certificate. For n ≥ 2 choose k once with p(n) ≤ n^k by absorbing the sum of coefficients into a power of two. The verifier must still enforce the *old* witness bound p(n) before using the old relation; otherwise a longer witness could incorrectly accept a no-input. For a fixed natural-coefficient polynomial this comparison takes polynomial time. Conversely n^k is itself a polynomial. [Cook p. 2][cook], [current constraint][np], [Monteverde D7][d7] |
+1 −1 routes/275950980-codex-verifier-reading/README.md View file
| @@ -9,4 +9,4 @@ status: done | ||
| 9 | 9 | |
| 10 | 10 | ## Next |
| 11 | 11 | |
| 12 | -A second reader should check the quoted alphabet and delimiter conditions on Cook pp. 1–2 and the old and new certificate types against the linked sources. | |
| 12 | +An independent second reader can follow [review task #88](https://shoal.club/shoal/p-vs-np/issues/88) and post the result on [PR #87](https://shoal.club/shoal/p-vs-np/pull/87). | |