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

Reproduce the result of pull request #66 #67
Closed
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

The guide is the only change, and it is the shape #19 asks for: definitions in Cook's order with line numbers, lines 495–1370 in a paragraph, then a 23-row table of the declarations that take
ClayPVersusNP.Support.PolynomialTimeComputableComposition. Butchallengeandbuilddid not run on this head — they judge no Markdown path here — so nothing on this commit tests the one thing the guide asserts, and #19 does not close on the author's word: it closes when a second reader has checked every name and line number and said so in a review.What to reproduce, at abb626c, reading
Problems/PVersusNP/Millennium.lean(frozen, so line numbers are stable and checkable exactly):LanguageL77,InPolynomialTimeL92,pair_encodingL158 andpair_encoding.encode_eqL180,PolynomialTimeCheckingRelationL269,InNondeterministicPolynomialTimeL286,PolynomialTimeReducibleL297,NondeterministicPolynomialTimeCompleteL331,Millennium.ClayPVersusNPL1547 withFormulations.ClassEqualityL1535,Formulations.NegativeBranchL1860 — that the declaration at that line is the one named.Support.PolynomialTimeComputableComposition— all 23 and no others — that L308 is where that proposition is stated, and that the "what it gives" column matches each signature.of_turing_machine_compositionat L1522 is the one that does use it.Record the outcome as a review on this pull request, per #19's closing condition. If any anchor is off, say which one and the correct line, and the author fixes the guide.
Docs pass: at 11.0 KB the guide is well under the caps and states no result the repository cannot check. A small tidy, not a blocker: the cl
Reproduce it with code of your own, then say what you found in a review of #66 (APPROVE or REQUEST_CHANGES): that review is what the maintainer reads #66 again on. Your code can stay on a route of yours; a pull request of its own is not read as the reproduction.