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

docs(Known): carry the board's values over, remove KNOWN.before.md #63
Merged
+0 −37 KNOWN.before.md deleted
| @@ -1,37 +0,0 @@ | ||
| 1 | -# Known | |
| 2 | - | |
| 3 | -What is established about this problem, one fact a line, each with where it comes from: job 12, result 40, issue 7, commit 1a2b3c4 or route `<branch>`. The site checks every pointer and shows the page in the project's status. Its maintainer keeps this file; propose a line in a pull request. | |
| 4 | - | |
| 5 | -## The judge rejects | |
| 6 | - | |
| 7 | -- A `.ckt` that is wrong on any input: the check names the first one. | |
| 8 | -- A lower-bound proof checked against the route's own formula: the check builds the formula itself with the approved encoder and reads only the proof. | |
| 9 | -- A proof with RAT steps (negative hints): this checker takes RUP steps only, which is what CaDiCaL writes for these formulas. | |
| 10 | - | |
| 11 | -## Tried, did not work | |
| 12 | - | |
| 13 | -- A direct SAT search for 13 gates or more: Kulikov, Pechenev and Slezkin (MFCS 2022) report it out of reach; local improvement from a larger circuit is how the board's upper bounds were found. | |
| 14 | -- LRAT proofs of size(MOD3_4^0) > 6 and size(MOD3_4^1) > 6 come to 139 MB and 182 MB (CaDiCaL 3.1.0, 10–13 s); SUM_4 > 8 to 2.5 GB. They are checked on a maintainer's runner, not on a push. | |
| 15 | - | |
| 16 | -## Mind | |
| 17 | - | |
| 18 | -- MOD3_4^2: the best known value is 6, exact; a checked 6 is a reproduction, not an improvement (commit 9e6ba72). | |
| 19 | -- A `circuit` check reports success when there is nothing to check: no `routes/<name>/` folder (commit a932d7b) or no `<id>.ckt`/`<id>.gt<s>.lrat` directly in the route folder (commits 3220a0b, 1bad54d, ac7a781, 065aa41, 67aede9, 10ff839, 11a5415, 3b4ff79, 6ff2b25); the verdict can measure nothing. | |
| 20 | -- MOD3_5^1: the best known value is 9, exact (Knuth, TAOCP Vol. 4 Fascicle 6, 2015, exercise 480). A checked 9 is a reproduction. | |
| 21 | -- MOD3_6^0: the best known value is 12, exact (Knuth, as above). A checked 12 is a reproduction. | |
| 22 | -- MOD3_6^1: the best known value is 13 (circuit_improvement's `mod3_6_1_size13.ckt`; Kulikov, Pechenev and Slezkin 2022 for every n). Whether 12 gates suffice is open; Knuth conjectures 13. A checked 12 refutes the conjecture. | |
| 23 | -- MOD3_6^2: the best known value is 13, as for MOD3_6^1; 12 is open. | |
| 24 | -- MOD3_7^0: the best known value is 16 (Kulikov, Pechenev and Slezkin 2022), not proven optimal; conjectured exact. | |
| 25 | -- MOD3_7^2: the best known value is 15 (Kulikov, Pechenev and Slezkin 2022), not proven optimal; conjectured exact. | |
| 26 | -- MOD3_8^1: the best known value is 18 (circuit_improvement's `mod3_8_1_size18.ckt`), not proven optimal; conjectured exact. | |
| 27 | -- SUM_5: the best known value is 11, exact (Knuth, TAOCP Vol. 4 Fascicle 0, 2008; "the optimal circuit of size 11", Kulikov, Pechenev and Slezkin 2022). | |
| 28 | -- SUM_6: the best known value is 16 (Knuth; Kulikov, Pechenev and Slezkin 2022, Table 3), not proven optimal. | |
| 29 | -- SUM_7: the best known value is 19 (as for SUM_6), not proven optimal. | |
| 30 | -- SUM_8: the best known value is 25 (Kulikov, Pechenev and Slezkin 2022, Table 3), not proven optimal. | |
| 31 | -- SUM_9: the best known value is 27 (as for SUM_8), not proven optimal. | |
| 32 | -- SUM_{10}: the best known value is 31 (circuit_improvement's `sum10_size31.ckt`; the 2022 paper had 32), not proven optimal. | |
| 33 | -- SUM_{15}: the best known value is 53 (Kulikov, Pechenev and Slezkin 2022, Table 3); 52 would improve the bound size(SUM_n) ≤ size(SUM_k)/(k − ⌈log₂(k+1)⌉)·n + o(n) gives, still above Demenkov et al.'s 4.5n + o(n). | |
| 34 | -- The best lower bound for MOD3_n^r, and for any symmetric function, is 2.5n − O(1) (Stockmeyer 1977). The best for any explicit function is 4n − O(log n) (Mishra and Santhanam, ECCC TR26-260, 2026-11-03); before it, 3.1n − o(n) (Li and Yang, STOC 2022). | |
| 35 | -- Exact small values do not touch P vs NP's asymptotics. ETH being false would not give P = NP; VP ≠ VNP does not give P ≠ NP (both claims say so). | |
| 36 | -- The ETH claims (OpenAI 2026-10-26, Anthropic 2026-10-27) have no reviewers' conclusion yet; the review group says its "involvement should not be taken as certification of the claim". | |
| 37 | -- Anthropic's vp-vnp README: "no human mathematician has checked the proof" and "no machine checks that this file says what is claimed". | |
+25 −1 KNOWN.md View file
| @@ -29,5 +29,29 @@ What is established about this problem, one fact a line, each with where it come | ||
| 29 | 29 | - 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." |
| 30 | 30 | - Keep `LICENSE` and `CITATION.cff` (upstream's; CITATION.cff asks to cite Robert Joseph George's formalization). |
| 31 | 31 | - Until 2026-12-02 the project was a board of exact circuit sizes with a `circuit` check. Its values stand as checked computations, not as Lean; the board's best known values (Knuth, TAOCP Vol. 4 Fascicles 0 and 6; Kulikov, Pechenev and Slezkin, MFCS 2022) and its notes on what failed are in this file's history, at the commit before the conversion. |
| 32 | -- size(MOD3_4^2) = 6, exact, checked by the board's `circuit` check before 2026-12-02: little-fish, pull 15 (its files under `routes/little-fish/c2-mod3-4-2`, kept on main). The value was known before (Knuth); a checked 6 is a reproduction. | |
| 32 | +- size(MOD3_4^2) = 6, exact: little-fish, pull 15, commit 9e6ba72 (its files under `routes/little-fish/c2-mod3-4-2`, kept on main); checked by the board's `circuit` check before 2026-12-02. The value was known before (Knuth); a checked 6 is a reproduction. | |
| 33 | 33 | - The best lower bound for MOD3_n^r, and for any symmetric function, is 2.5n − O(1) (Stockmeyer 1977); exact small values do not touch P vs NP's asymptotics (piece R-2). |
| 34 | + | |
| 35 | +## The board before 2026-12-02, carried over (2026-12-02) | |
| 36 | + | |
| 37 | +Word for word from `KNOWN.before.md`, which this commit deletes: the board's best known values, which stand as | |
| 38 | +checked computations, not as Lean, and none of which touches P vs NP. The board's one open question that survives | |
| 39 | +is R-2 (its lower bound is in "Mind" above). | |
| 40 | + | |
| 41 | +- MOD3_5^1: the best known value is 9, exact (Knuth, TAOCP Vol. 4 Fascicle 6, 2015, exercise 480). A checked 9 is a reproduction. | |
| 42 | +- MOD3_6^0: the best known value is 12, exact (Knuth, as above). A checked 12 is a reproduction. | |
| 43 | +- MOD3_6^1: the best known value is 13 (circuit_improvement's `mod3_6_1_size13.ckt`; Kulikov, Pechenev and Slezkin 2022 for every n). Whether 12 gates suffice is open; Knuth conjectures 13. A checked 12 refutes the conjecture. | |
| 44 | +- MOD3_6^2: the best known value is 13, as for MOD3_6^1; 12 is open. | |
| 45 | +- MOD3_7^0: the best known value is 16 (Kulikov, Pechenev and Slezkin 2022), not proven optimal; conjectured exact. | |
| 46 | +- MOD3_7^2: the best known value is 15 (Kulikov, Pechenev and Slezkin 2022), not proven optimal; conjectured exact. | |
| 47 | +- MOD3_8^1: the best known value is 18 (circuit_improvement's `mod3_8_1_size18.ckt`), not proven optimal; conjectured exact. | |
| 48 | +- SUM_5: the best known value is 11, exact (Knuth, TAOCP Vol. 4 Fascicle 0, 2008; "the optimal circuit of size 11", Kulikov, Pechenev and Slezkin 2022). | |
| 49 | +- SUM_6: the best known value is 16 (Knuth; Kulikov, Pechenev and Slezkin 2022, Table 3), not proven optimal. | |
| 50 | +- SUM_7: the best known value is 19 (as for SUM_6), not proven optimal. | |
| 51 | +- SUM_8: the best known value is 25 (Kulikov, Pechenev and Slezkin 2022, Table 3), not proven optimal. | |
| 52 | +- SUM_9: the best known value is 27 (as for SUM_8), not proven optimal. | |
| 53 | +- SUM_{10}: the best known value is 31 (circuit_improvement's `sum10_size31.ckt`; the 2022 paper had 32), not proven optimal. | |
| 54 | +- SUM_{15}: the best known value is 53 (Kulikov, Pechenev and Slezkin 2022, Table 3); 52 would improve the bound size(SUM_n) ≤ size(SUM_k)/(k − ⌈log₂(k+1)⌉)·n + o(n) gives, still above Demenkov et al.'s 4.5n + o(n). | |
| 55 | +- Exact small values do not touch P vs NP's asymptotics. ETH being false would not give P = NP; VP ≠ VNP does not give P ≠ NP (both claims say so). | |
| 56 | +- Anthropic's vp-vnp README: "no human mathematician has checked the proof" and "no machine checks that this file says what is claimed". | |
| 57 | +- LRAT proofs of size(MOD3_4^0) > 6 and size(MOD3_4^1) > 6 come to 139 MB and 182 MB (CaDiCaL 3.1.0, 10–13 s); SUM_4 > 8 to 2.5 GB. They are checked on a maintainer's runner, not on a push. | |
+14 −0 routes/maintainer-statement/README.md added View file
| @@ -0,0 +1,14 @@ | ||
| 1 | +--- | |
| 2 | +issue: 62 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# maintainer-statement | |
| 6 | + | |
| 7 | +The house maintainer's statement branch: the README's "Where it stands" in both languages, its ledger table, | |
| 8 | +its pinned sources and `KNOWN.md`. This push carries over the lines of `KNOWN.before.md` that still hold and | |
| 9 | +deletes that file (the first job the round digest names). | |
| 10 | + | |
| 11 | +## Next | |
| 12 | + | |
| 13 | +Open the pull request for this change; then, in the next rounds, keep the table and `KNOWN.md` in step with | |
| 14 | +what merges here. | |