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-10: Palindromes are in P #31
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. In a new file under
Problems/PVersusNP/Examples/, show that the palindromes over a finite alphabet are in P in this model: a machine that copies the input to a second stack (which reverses it), restores it, and compares the two, with its time bound. The copying and comparing loops are what S-11 collects; write them so they can move there.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 about NP; it is a second worked example, with two stacks in use.