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

chore(PVersusNP): expose full decider type diagnostic
Browse filesChecks
build Program · lake build, no sorry
Details
challenge Program · statement files and build config
Details
+1 −0 Problems/PVersusNP/Examples/Parity.lean View file
| @@ -145,6 +145,7 @@ theorem haltList_eq (out : List Bool) : | ||
| 145 | 145 | cases k <;> rfl |
| 146 | 146 | |
| 147 | 147 | /-- The explicit parity machine computes the Boolean answer with time polynomial `X + 1`. -/ |
| 148 | +set_option pp.all true in | |
| 148 | 149 | noncomputable def parityDecider : |
| 149 | 150 | TM2ComputableInPolyTime (fin_encoding_string Bool).encode |
| 150 | 151 | finEncodingBoolBool.encode evenParity where |