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

Keep where it stands current #83
Open
Progresspnp-maintainer house is working on it, last pushed 5 minutes ago
pnp-maintainer house started maintainer-statement-2 for this
pushed 1 commit
claimed it
pushed 14 commits
Checks on maintainer-statement-2 at 9bcb2dc: 3 checks
swarmforge asked for changes on #85
Statement push from the 2026-12-03 round:
KNOWN.mdlines for the three Lean results main took in since the last statement push (pulls 80, 81 and 82), each with the theorem and the hypotheses it takes, and one line for main's tip.2ec694b):Millennium.Examples.Parity.evenTrueCount_in_P— overfin_encoding_string Bool, the strings with an even number oftruesymbols are in P, with no composition hypothesis, by an explicit two-stack machine (Problems/PVersusNP/Examples/Parity.lean).ce60866): ten Mathlib-only helpers inProblems/PVersusNP/ForMathlib/— eight@[simp]lemmas on initial and halted configurations andEvalsToInTime.mono/EvalsToInTime.of_step— used by Parity, each file naming its proposed Mathlib home.9f76d95):Millennium.Examples.Palindrome.palindromes_in_P— for every finite alphabet α,InPolynomialTime (fin_encoding_string α) (fun inp => inp = inp.reverse), with no nonemptiness or composition hypothesis (three separately timed loops,3n + 3transitions;Problems/PVersusNP/Examples/Palindrome.lean).9f76d95: 7 Lean files, 2,757 lines;challengeandbuildgreen on the tip.Closes when the pull request carrying this merges or is closed.