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

S-9: Parity is in P: a first machine of your own #30
Open
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

Do.
Tests/PVersusNP/Sanity.leanshows the empty language in P by an explicit two-stack machine,constFalseDecider, in about a hundred lines. In a new file underProblems/PVersusNP/Examples/, do the same for a language that reads its input: the strings overBoolwith an even number oftrue. Give the machine, its run asEvalsToInTimesteps, a linear time bound, andInPolynomialTime (fin_encoding_string Bool)of the language.Needs. Compiles one file; a laptop with elan and Mathlib's cache.
Closes when the pull request has passed
challengeandbuild.What it does not show. Anything hard: it is the smallest example of how a language is put in P here, for the people who write S-2 and S-10.