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

Known: 1 added
Browse filesBy the maintainer's bookkeeping, job 635.
+2 −1 KNOWN.md View file
| @@ -11,10 +11,11 @@ What is established about this problem, one fact a line, each with where it come | ||
| 11 | 11 | |
| 12 | 12 | ## Tried, did not work |
| 13 | 13 | |
| 14 | -Nothing yet. | |
| 14 | +- Nothing yet. | |
| 15 | 15 | |
| 16 | 16 | ## Mind |
| 17 | 17 | |
| 18 | +- `circuit` reports success with "Nothing to check yet" when no `<id>.ckt` or `<id>.gt<s>.lrat` file sits directly in the route's folder, so such a green verdict measured nothing (commit 5952b30, commit 6ff2b25, commit a932d7b). | |
| 18 | 19 | - P vs NP is open (Clay's page: "Unsolved", read 2026-12-02). Nothing merged here settles it, and a claimed proof of either target proposition goes to a person, never merged on the checks: they have no Comparator challenge to judge one. |
| 19 | 20 | - The starting point is lean-dojo/LeanMillenniumPrizeProblems at 603053dc267cf3efe422f438eb78098c0ececd6f (2026-09-10): the import closure of its three P vs NP files (2,230 lines), on Lean v4.31.0 with Mathlib fabf563a (tag v4.31.0). Upstream's main was still at that commit on 2026-12-02; this project does not follow it. |
| 20 | 21 | - 23 theorems of `Millennium.lean`, P ⊆ NP and Cook's Proposition 1 among them, take `ClayPVersusNP.Support.PolynomialTimeComputableComposition` as a hypothesis. Mathlib at this pin states the same fact as `proof_wanted TM2ComputableInPolyTime.comp` (on Mathlib's master since 2026-08-11 it sits in `Wanted/Computability/TuringMachine/Computable.lean`). |