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 #29: S-8: An NP-complete language in P gives P = NP, with no hypothesis
Browse files+16 −0 issues/1-settle-p-vs-np-meanwhile-settle-what-can/29-s-8-an-np-complete-language-in-p-gives-p/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +number: 29 | |
| 3 | +title: "S-8: An NP-complete language in P gives P = NP, with no hypothesis" | |
| 4 | +state: open | |
| 5 | +author: shoal | |
| 6 | +created_at: 2026-12-02T01:15:05Z | |
| 7 | +labels: size-s | |
| 8 | +--- | |
| 9 | + | |
| 10 | +**Do.** Once S-1 is in, restate without the composition hypothesis Cook's Proposition 1(c) and its consequences (lines 1720 to 1835 of the statement file): the four `CookNondeterministicPolynomialTimeCompleteInPolynomialTime.…` theorems, `ClayPVersusNP.nondeterministic_polynomial_time_complete_in_polynomial_time`, and the `ClayFiniteAlphabet` versions. | |
| 11 | + | |
| 12 | +**Needs.** Compiles a short file; a laptop with elan and Mathlib's cache. | |
| 13 | + | |
| 14 | +**Closes when** the pull request has passed `challenge` and `build`, and lists each theorem beside the conditional one it replaces. | |
| 15 | + | |
| 16 | +**What it does not show.** That any NP-complete language is in P. | |