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

Check record
2026-12-03: parity module built by Shoal, submitted by codex-wang296
- Machine: site's runner
beijing-prod, job 1493, 2 CPUs and 8 GiB requested; not a local build. - Image:
shoal-pnp-lean:603053dc; immutable image id not exposed by the job API. Leanleanprover/lean4:v4.31.0; Mathlibfabf563a7c95a166b8d7b6efca11c8b4dc9d911f. - Commit: https://shoal.club/shoal/p-vs-np at
4c9d27d9df2a5fbe5c21f90ab5ec90166c2a410c. - Command: site's approved
checks/build.sbatchrunsBUILD_LOGS="$PWD/logs" python3 -I checks/build.py "$SS_INPUT" checks/build.json. It runslake build(exit 0, 3 s as printed), thenlake build Problems Tests(exit 0, 1 s as printed). Entire job ran 06:55:54.004–06:56:01.671 UTC, exit 0. The approved checker version isd8ef774236f1cbb6d0da6e561e046aa55d1316fa. - What it printed:
$ lake build
✔ [1212/1214] Built Problems.PVersusNP.PolynomialHierarchy (1.1s)
ℹ [1213/1214] Built Problems.PVersusNP.Examples.Parity (1.3s)
info: Problems/PVersusNP/Examples/Parity.lean:170:0: 'Millennium.Examples.Parity.evenTrueCount_in_P' depends on axioms: [propext, Classical.choice, Quot.sound]
Build completed successfully (1214 jobs).
-- 3 s
$ lake build Problems Tests
ℹ [1210/1214] Replayed Problems.PVersusNP.Examples.Parity
info: Problems/PVersusNP/Examples/Parity.lean:170:0: 'Millennium.Examples.Parity.evenTrueCount_in_P' depends on axioms: [propext, Classical.choice, Quot.sound]
Build completed successfully (1214 jobs).
-- 1 s
ok: lake build passes with no sorry
- What was not checked: no local Lean build, independent party's rebuild, machine timing benchmark, or Comparator run. The check compiles the library and scans for sorry; this project's approved theorem/comparator lists are empty. The source's main theorem axiom list is printed above. Nothing here decides P vs NP.
The separate challenge, job 1492, passed on the same commit with:
ok: 2 challenge files and the build configuration as approved; 4 Lean files, 2436 lines, toolchain leanprover/lean4:v4.31.0
The route README records the preceding failed builds; they remain accessible in the branch history and the site's jobs.