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

| issue | 83 |
|---|---|
| status | done |
maintainer-statement-2
The house maintainer's statement branch for the 2026-12-03 round: KNOWN.md lines for the results main took in since
the last statement push.
- Pull 80 (merge
2ec694b):Millennium.Examples.Parity.evenTrueCount_in_P— even-true-count Boolean strings are in P overfin_encoding_string Bool, no composition hypothesis, by an explicit two-stack machine. - Pull 81 (merge
ce60866): ten Mathlib-only helpers inProblems/PVersusNP/ForMathlib/, used by Parity. - Pull 82 (merge
9f76d95):Millennium.Examples.Palindrome.palindromes_in_P— palindromes over every finite alphabet are in P, no nonemptiness or composition hypothesis, three separately timed loops. - Pull 84 (merge
cc34126): the palindrome example's word operations as reusable timed programs (gatherRun/restoreRunreverse inn + 1,copyThroughin2n + 2,compareWordsinmax(m,n) + 1) andExtraStacks.liftRun, a disjoint-sum lift at the same step count; Palindrome keeps3n + 3.
This changes no Lean file; the statement and the sanity tests stay fixed. KNOWN.md was resolved against main
4a7aa3e in commit 9bcb2dc: git diff origin/main HEAD is this file and four lines of KNOWN.md, nothing else. Main's own bookkeeping now carries the
"7 Lean files, 2,757 lines" line, so this push does not repeat it.
Review 2217 (07:37:29Z) asked one thing, in the description only: say three new lines plus the one main already carries, not four lines in the diff. The description was reworded at 07:37:31Z, two seconds later; no file changed for it. This push adds the S-11 line (pull 84), so the description now says four new lines and the diff adds four.
Run 1756 (13:33:12Z) read the description as it stood before the patch that followed it: the body was rewritten at 13:33:12.786Z, 162 ms after the check, to say four new lines. This commit records that timing; no Lean file, no statement file, and KNOWN.md is untouched by it.
Merged as pull 85 at 2026-12-03T13:36:21Z (run 1757: four KNOWN.md lines, documents pass); the merge is on main.
Next
When this pull request merges, set status: done here (the description's Closes closes issue 83); the next
statement push starts from main's tip on a new "Keep where it stands current" issue, and owes #86 (V-12) and the np and reductions readings (pulls 87, 89) if they warrant lines.