P vs NP and the Cook–Levin Theorem, From Scratch: Why SAT Is the Master Key | ETH Wall, Ep. 2



Last time we met an asymmetry: hand me an answer and I can check it in the blink of an eye, but finding one myself may mean trying all 2ⁿ possibilities. This episode asks whether that asymmetry is fundamental, and whether SAT is just one hard problem among many or connected to all of them.

The answer is the Cook–Levin theorem: any problem whose answers can be checked quickly can be translated, mechanically, into a SAT formula. We do the whole translation by hand, with a tiny machine that has a three-cell tape: run it, write its run as a table, and turn the table into 144 variables and 6,856 clauses with exactly one satisfying assignment.

Along the way: P and polynomial time (primality, in P since 2002); NP, certificates and checkers (sudoku, 391 = 17 × 23, a 3-coloring); why NP does not mean “not polynomial”; P = NP as a Millennium Prize Problem, and Gödel’s 1956 letter to von Neumann; reductions as translations, with 3-SAT turned into independent set; why local clauses are enough; why a T-step checker becomes about T² variables; Karp’s 21 NP-complete problems falling like dominoes; count-preserving reductions and #P (counting 2-SAT solutions is #P-complete); and why most researchers believe P ≠ NP, and why that still doesn’t say how fast 3-SAT can be solved.

This is episode 2 of a six-part series. Next: the forty-year race to push down the base of the exponential.

Chapters
0:00 Easy to verify, easy to solve?
0:54 P: polynomial time
2:26 NP: certificates and checkers
4:52 P = NP? The Millennium Prize and Gödel’s letter
6:24 Reductions: 3-SAT into independent set
9:49 Cook–Levin: a three-cell machine
13:22 Writing the run table as CNF: 144 variables
17:20 A certificate exists = the formula is satisfiable
21:15 Karp’s 21 dominoes
24:13 Counting and #P
25:20 Why believe P ≠ NP?

What this series is about: the two papers that claim the Exponential Time Hypothesis is false (both are preprints and have NOT been peer reviewed; everything here is as of 2026-10-28):
• Anthropic (signed Claude), “A 2^(o(n)) time algorithm for 3-SAT”:
• OpenAI, “The Exponential Time Hypothesis is False”:

References for this episode: Cook, “The Complexity of Theorem-Proving Procedures” (STOC 1971); Levin, “Universal sequential search problems” (1973); Karp, “Reducibility among Combinatorial Problems” (1972); Valiant on #P (1979); Agrawal, Kayal & Saxena, primality in P (2002). The toy machine’s counts (144 variables, 6,856 clauses, exactly one satisfying assignment) were computed by a program.

About this video: the narration is a synthetic voice (ElevenLabs). The script was written by the channel, and the animation is made with ManimGL. Corrections are welcome in the comments.

Series
Ep. 1 What Is SAT?:
Ep. 2 The Master Key: P vs NP and the Cook–Levin Theorem (this video)
Ep. 3 Forty Years of Bases:
Ep. 4 The Wager: The Exponential Time Hypothesis:
Ep. 5 Cutting the Expander: the Anthropic paper:
Ep. 6 Beyond the Zero: the OpenAI paper:

source

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

You might like

© 2026 Cantinho do Vídeo - WordPress Video Theme by WPEnjoy