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 −1 KNOWN.md View file
| @@ -27,7 +27,7 @@ What is established about this problem, one fact a line, each with where it come | ||
| 27 | 27 | - Until 2026-09-07 (upstream's 1fdee4bc) the statement's NP let the certificate carry the answer, and every language was in NP. No defect in the two targets has been reported since. |
| 28 | 28 | - The left projection of `w#y` is proved polynomial-time outright, by an explicit linear-time machine (`LeftProjection.linear_time_correctness`). |
| 29 | 29 | - `build` runs in the Lean image `shoal-pnp-lean:603053dc` (docker/), with no network. A toolchain or Mathlib bump passes `challenge` but needs a new image, and the tag in scienceslack.json moved with it, before `build` can pass. |
| 30 | -- At the import (2026-12-01) `lake exe cache get && lake build` built 1,213 jobs with no warnings and no `sorry`; `build` now passes on main at 9f76d95 (12-03 07:10) on 7 Lean files of 2,757 lines, up from 3 files of 2,264 at 9c01935 (commit 9c01935, commit 9f76d95). | |
| 30 | +- At the import (2026-12-01) `lake exe cache get && lake build` built 1,213 jobs with no warnings and no `sorry`; `build` and `challenge` now pass on main at cc34126 (12-03 07:21) on 10 Lean files of 3,024 lines, up from 3 files of 2,264 at 9c01935 (commit 9c01935, commit cc34126). | |
| 31 | 31 | - `PolynomialHierarchy.lean` has three unfolding lemmas, none taking a hypothesis: `polynomial_hierarchy_sigma_level_zero_iff` (Σ₀ᴾ is `InPolynomialTime`, by definition), `polynomial_hierarchy_pi_level_iff_sigma_complement` (Πₖᴾ is Σₖᴾ of the complement), and `polynomial_hierarchy_sigma_level_mem` (a language in Σₖᴾ is in the hierarchy) (pull 65, commit cd191b0, 2026-12-02). |
| 32 | 32 | - Two public repositories that claim P = NP in Lean do not prove it: FibonacciAi/pnp-lean (a custom axiom and a `sorry`: github.com/FibonacciAi/pnp-lean/issues/4, 2026-11-26) and TiruArt/Pedigree-Polytopes-Lean4 (its main theorem proves `True`: github.com/TiruArt/Pedigree-Polytopes-Lean4/issues/1, 2026-06-03). |
| 33 | 33 | - ETH refuted and VP ≠ VNP (OpenAI and Anthropic, October and November 2026) are not results about P vs NP, by their own papers' words. The group examining the ETH claim (Impagliazzo, Paturi, Williams) had posted no verdict by 2026-12-02: "Our involvement should not be taken as certification of the claim." |