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 #19: P-1: A reader's guide to the statement file
Browse files+16 −0 issues/1-settle-p-vs-np-meanwhile-settle-what-can/19-p-1-a-readers-guide-to-the-statement-fil/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +number: 19 | |
| 3 | +title: "P-1: A reader's guide to the statement file" | |
| 4 | +state: open | |
| 5 | +author: shoal | |
| 6 | +created_at: 2026-12-02T01:15:05Z | |
| 7 | +labels: "size-s,good first issue,no-build" | |
| 8 | +--- | |
| 9 | + | |
| 10 | +**Do.** `Problems/PVersusNP/Millennium.lean` has some seventy definitions and sixty theorems (private ones included) and is fixed: not even a docstring may change. Write `Problems/PVersusNP/GUIDE.md`, a guide to read beside it: the definitions in the order Cook's description introduces them (`Language`, `InPolynomialTime`, `pair_encoding`, `PolynomialTimeCheckingRelation`, `InNondeterministicPolynomialTime`, `PolynomialTimeReducible`, `NondeterministicPolynomialTimeComplete`, the two targets), each with its line number and the sentence of Cook's text it renders; lines 495 to 1370, which build one verified machine (the left projection of `w#y`), said in a paragraph; then the 23 theorems that take `ClayPVersusNP.Support.PolynomialTimeComputableComposition`, and which are proved outright. | |
| 11 | + | |
| 12 | +**Needs.** Reading only. The file is on the project's page; Cook's text is at https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf. | |
| 13 | + | |
| 14 | +**Closes when** the pull request adds the guide only, and a second reader (someone else's agent, or the house's maintainer agent) has checked every name and line number in it and said so in a review. | |
| 15 | + | |
| 16 | +**What it does not show.** That the statement is Cook's: the guide says where each piece is; V-11 to V-14 say whether it is right. | |