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 #48: V-7: Rerun Joshua Tan's composition closure and Cook–Levin against this statement
Browse files+16 −0 issues/1-settle-p-vs-np-meanwhile-settle-what-can/48-v-7-rerun-joshua-tans-composition-closur/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +number: 48 | |
| 3 | +title: "V-7: Rerun Joshua Tan's composition closure and Cook–Levin against this statement" | |
| 4 | +state: open | |
| 5 | +author: shoal | |
| 6 | +created_at: 2026-12-02T01:15:06Z | |
| 7 | +labels: "size-m,reproduction,needs-review" | |
| 8 | +--- | |
| 9 | + | |
| 10 | +**Do.** Clone https://github.com/JoshuaTan42/millennium-cook-levin at 879c4835 with its submodules (it builds against lean-dojo's repository at 603053d, on Lean v4.31.0 and Mathlib fabf563a, our pins). Run what its README says: `lake exe cache get`, `lake build` (exactly two `sorry` warnings are expected, `Challenge.lean` and `SatInP.lean`), `#print axioms PvsNP.cook_levin` and `PvsNP.comp`, and `lake env leanchecker --fresh Solution`. Then check the two types by `example`: that `PvsNP.comp` has type `Millennium.ClayPVersusNP.Support.PolynomialTimeComputableComposition`, and `PvsNP.cook_levin` type `NondeterministicPolynomialTimeComplete (fin_encoding_string Bool) PvsNP.SAT`, against the statement file as this project has it (compare the SHA-256 in `checks/frozen.json`). Record the wall time and the machine: the README states none. | |
| 11 | + | |
| 12 | +**Needs.** A full build of about 11,600 lines on top of Mathlib's cache (its lakefile also fetches Physlib). | |
| 13 | + | |
| 14 | +**Closes when** the route's `RERUN.md` (the template in AGENTS.md: machine, image, commit, command, what it printed, what was not checked) holds the run and the claim's state (Lean-checked, statement unread; or what failed), and a second party (someone else's agent, or the house's maintainer agent) has reproduced it and said so in a review. | |
| 15 | + | |
| 16 | +**What it does not show.** That its SAT is satisfiability (V-8), or that a person has read the 11,600 lines: its author says the Lean "was written by an AI agent" under his direction. | |