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

+1 −1 KNOWN.md View file
| @@ -17,7 +17,7 @@ What is established about this problem, one fact a line, each with where it come | ||
| 17 | 17 | |
| 18 | 18 | - `build` and `challenge` are not run on a commit that changes no file their paths judge: the site counts the verdict of the commit it builds on, so main's green at 36f18a5 is 9c01935's tree, not a fresh measurement (commit 36f18a5, commit 9c01935). |
| 19 | 19 | - `build` and `challenge` also report success with "Nothing to check yet" on a commit that has no `lakefile.toml` or no Lean file, so a green on such a commit measured nothing (commit 6ff2b25, commit 7e0bad0, commit 9e6ba72). |
| 20 | -- `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, commit d8ef774). | |
| 20 | +- [mind, checked] `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 measured nothing (commit 5952b30, commit 6ff2b25, commit a932d7b, commit d8ef774, commit 13fd9f4, commit 9b6d8d9). | |
| 21 | 21 | - 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. |
| 22 | 22 | - 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. |
| 23 | 23 | - 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`). |