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-5: Cook–Levin: SAT is NP-complete in this model #26
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. Bring a proof of
NondeterministicPolynomialTimeComplete (fin_encoding_string Bool) SATinto this tree. Joshua Tan's is on the same Lean and Mathlib (https://github.com/JoshuaTan42/millennium-cook-levin at 879c4835;PvsNP.cook_levininPkg.lean, overProg,CookLevin,Sit,D3Fam,D3Shift,D3Acc,D3Init,Emb,Asm,Pre: about 11,000 lines besideComp.lean). Port it in steps that each merge on their own, in import order, the first being the SAT definition withsat_in_np; keep its author named in every file. Leave out itsSatInP.leanandSolution.lean, which state SAT ∈ P withsorry:challengefails them, and they are the open problem. Open a route note that lists the steps, and one pull request per step. Needs S-1, and V-7 and V-8 read.Needs. A full build of about 11,000 lines of machine constructions; say in your notes how long it took and on what.
Closes when a pull request stating
NondeterministicPolynomialTimeCompletefor SAT has passedchallengeandbuild; each step closes its own sub-issue.What it does not show. That SAT is or is not in P. With Cook's Proposition 1(c) in the statement file, SAT in P would give P = NP; this piece does not touch that. SAT here is one dense encoding (V-8, S-20).