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

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