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

| 1 | # This project's build: only Mathlib, at the commit lean-dojo/LeanMillenniumPrizeProblems's lake-manifest.json pins at |
| 2 | # 603053dc (tag v4.31.0). Upstream's lakefile.toml also requires Physlib, for the Yang–Mills statement; the P vs NP |
| 3 | # files import Mathlib alone. |
| 4 | name = "problems" |
| 5 | defaultTargets = ["Problems", "Tests"] |
| 6 | |
| 7 | [leanOptions] |
| 8 | pp.unicode.fun = true # pretty-prints `fun a ↦ b` |
| 9 | autoImplicit = false |
| 10 | relaxedAutoImplicit = false |
| 11 | |
| 12 | [[require]] |
| 13 | name = "mathlib" |
| 14 | git = "https://github.com/leanprover-community/mathlib4" |
| 15 | rev = "fabf563a7c95a166b8d7b6efca11c8b4dc9d911f" |
| 16 | |
| 17 | # the statement (Problems/PVersusNP/Millennium.lean), the polynomial hierarchy, and every file the community adds |
| 18 | # under Problems/ |
| 19 | [[lean_lib]] |
| 20 | name = "Problems" |
| 21 | globs = ["Problems.+"] |
| 22 | |
| 23 | # the sanity tests (Tests/PVersusNP/Sanity.lean), and any the community adds under Tests/ |
| 24 | [[lean_lib]] |
| 25 | name = "Tests" |
| 26 | globs = ["Tests.+"] |