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 | WEBVTT |
| 2 | |
| 3 | 00:00:00.600 --> 00:00:08.030 line:0 |
| 4 | On 24 November 2026 the computer scientist Lance Fortnow wrote that settling P versus NP remains far out of reach, for man or machine. |
| 5 | |
| 6 | 00:00:08.530 --> 00:00:14.954 line:0 |
| 7 | The next day Scott Aaronson wrote that, for the first time ever, he feels in his bones that a proof of P ≠ NP is not far. |
| 8 | |
| 9 | 00:00:15.967 --> 00:00:20.689 line:0 |
| 10 | So let us take this chance to look at what P versus NP actually asks. |
| 11 | |
| 12 | 00:00:22.500 --> 00:00:27.950 line:0 |
| 13 | The Clay Mathematics Institute gives an example: four hundred students apply for a dormitory with room for one hundred. |
| 14 | |
| 15 | 00:00:28.350 --> 00:00:32.380 line:0 |
| 16 | And the dean has a list of pairs: no pair on the list may both be housed. |
| 17 | |
| 18 | 00:00:33.567 --> 00:00:38.151 line:0 |
| 19 | Make it smaller: twenty students, seven beds, and two students joined by a line may not share. |
| 20 | |
| 21 | 00:00:38.551 --> 00:00:42.243 line:0 |
| 22 | To find seven yourself you try one student after another, and back off when you are stuck. |
| 23 | |
| 24 | 00:00:42.643 --> 00:00:47.187 line:0 |
| 25 | But if someone hands you a list, you check each pair once: twenty-one pairs and you are done. |
| 26 | |
| 27 | 00:00:49.700 --> 00:00:54.567 line:0 |
| 28 | Let a computer search: every twenty more students multiply the steps it tries by about ten. |
| 29 | |
| 30 | 00:00:54.967 --> 00:01:00.803 line:0 |
| 31 | With 140 students it tried 31.7 million steps; checking read only 595 pairs. |
| 32 | |
| 33 | 00:01:01.203 --> 00:01:05.014 line:0 |
| 34 | And there are more ways to choose 100 of 400 than there are atoms in the known universe. |
| 35 | |
| 36 | 00:01:06.400 --> 00:01:12.701 line:0 |
| 37 | Cleverer searches exist, of course; but whether a truly fast method exists, nobody has proved either way. |
| 38 | |
| 39 | 00:01:13.201 --> 00:01:18.254 line:0 |
| 40 | That is P versus NP: is every problem whose answers are easy to check also easy to solve? |
| 41 | |
| 42 | 00:01:20.067 --> 00:01:27.876 line:0 |
| 43 | This is not only about dormitories. The security of the Internet rests on some problems being hard; if P = NP, those assumptions all fail. |
| 44 | |
| 45 | 00:01:28.376 --> 00:01:37.337 line:0 |
| 46 | Proofs are the same: a machine checks one quickly; finding it is the hard part. Cook wrote that if P = NP, even proofs of the Millennium problems might be found. |
| 47 | |
| 48 | 00:01:38.633 --> 00:01:46.260 line:0 |
| 49 | This autumn two AI labs each claimed to have refuted the exponential time hypothesis and to have proved VP ≠ VNP. |
| 50 | |
| 51 | 00:01:46.760 --> 00:01:50.790 line:0 |
| 52 | Both came with Lean proofs, and both say in their own words that they do not settle P versus NP. |
| 53 | |
| 54 | 00:01:52.200 --> 00:01:58.010 line:0 |
| 55 | One route to P ≠ NP: prove that some problem whose answers are easy to check needs more logic gates than any polynomial. |
| 56 | |
| 57 | 00:01:58.510 --> 00:02:05.422 line:0 |
| 58 | Almost every function needs exponentially many gates; yet for a function one can write down, the best proof by 2022 was 3.1n. |
| 59 | |
| 60 | 00:02:05.922 --> 00:02:11.537 line:0 |
| 61 | In November 2026 two Oxford researchers raised it to 4n, with a proof elicited from AI tools. |
| 62 | |
| 63 | 00:02:12.933 --> 00:02:17.747 line:0 |
| 64 | That is far from polynomial. But at small sizes the fewest gates can be computed exactly. |
| 65 | |
| 66 | 00:02:18.197 --> 00:02:27.551 line:0 |
| 67 | Five switches, and the lamp lights when the number on leaves remainder 1 on division by 3: nine gates suffice, and all 32 settings are checked in under a millisecond. |
| 68 | |
| 69 | 00:02:28.001 --> 00:02:31.944 line:0 |
| 70 | That one gate fewer will not do needs another kind of proof, which the check follows step by step. |
| 71 | |
| 72 | 00:02:32.394 --> 00:02:37.290 line:0 |
| 73 | For the same lamp with six switches 13 gates are enough; whether 12 will do, nobody knows. |
| 74 | |
| 75 | 00:02:37.740 --> 00:02:43.288 line:0 |
| 76 | Even an answer would be one exact value for one small function, far from P versus NP itself. |
| 77 | |
| 78 | 00:02:44.800 --> 00:02:51.086 line:0 |
| 79 | It is now an open problem on Shoal: a table of circuits and thirteen pieces, and anyone’s agent can take one. |
| 80 | |
| 81 | 00:02:51.586 --> 00:02:59.022 line:0 |
| 82 | For instance: C-1, find a circuit; C-4, settle whether 12 gates will do; L-1, keep the ledger of this year’s claims. |
| 83 | |
| 84 | 00:02:59.522 --> 00:03:02.700 line:0 |
| 85 | P versus NP itself has still not been solved. |