Proof complexity: The war on proof length
In 1985, Armin Haken proved that a statement every child understands (five pigeons don’t fit in four holes, one per hole) requires exponentially long proofs in the standard reasoning system used by every SAT solver in Chapter 4. There’s a family poetry to it: his father, Wolfgang Haken, had stunned mathematics nine years earlier with the four-color theorem — a proof so enormous it needed a computer to check. The son proved certain proofs must be enormous: no cleverness, no insight, no reordering of steps gets the pigeonhole principle below exponential size in resolution. It was the first unconditional, exponential lower bound against a general-purpose reasoning system — and it is, to this day, one of the few fronts in the whole P vs NP war where the good guys have actually captured territory.
This chapter is about that front:
- The Cook–Reckhow program — how “prove that proofs must be long” became a formal attack on P vs NP, with a ladder of proof systems to climb.
- Resolution, and Haken’s theorem — the one-rule proof system, shown working by refuting Chapter 4’s unsatisfiable dinner-party formula in 14 machine-checked steps; why its lower bound holds; and the direct consequence for Chapter 4: formulas that provably kill every CDCL solver, forever.
- The ladder above — cutting planes, Frege, and the exact rung where the climb has been stuck for forty years, at the same altitude as Chapter 7’s wall.
Cook–Reckhow: lower bounds on arguments
Chapter 3’s loaded gun is still on the table: NP vs coNP asks whether refutations — proofs that a formula has no solution — can always be short; and if NP ≠ coNP, then P ≠ NP, because P is closed under flipping the answer, so P = NP would force NP and coNP to coincide. In 1979, Cook and Reckhow made that attackable by defining what “a proof system” is in full generality: any polynomial-time checkable certificate format for unsatisfiability. (Polynomial checkability is the non-negotiable part — a “proof” you can’t efficiently verify is an oracle, not a proof. This is the same design constraint as Chapter 2’s NP verifier, pointed at “no” instead of “yes.”) Their theorem: some proof system admits polynomial-size refutations of every unsatisfiable formula if and only if NP = coNP.
Read the contrapositive as a battle plan. To prove NP ≠ coNP (and with it P ≠ NP) show that every proof system has unsatisfiable formulas requiring super-polynomial refutations. You can’t fight “every system” at once, but you can climb: take the systems mathematicians and machines actually use, weakest first, and prove exponential lower bounds against each — building techniques as the systems get stronger. Unlike Chapter 7’s assault on P/poly (stalled at gates), this campaign has won real battles on real systems.
Resolution: one rule, and everything Chapter 4 runs on
The ladder’s first serious rung. Resolution has a single inference rule: from and , conclude — if is true the second clause must lean on , if false the first must lean on , so holds either way. A refutation derives, from the formula’s clauses, the empty clause — a clause with no literals left, satisfiable by nothing — certifying unsatisfiability. One rule is all it takes to be complete: every unsatisfiable CNF has a resolution refutation. Here’s a real one — our no-lonely-guests party from Chapter 4, refuted in 14 steps, every step machine-verified:
Watch step 3 of the derivation: resolution concludes (Alice can never attend) which is exactly the clause Chapter 4’s CDCL solver learned from its first conflict — and the identity is literal. Chapter 4’s solver extracts every learned clause by cutting through its implication graph, and that extraction is resolution. Concretely: the conflicting clause says “this combination fails”; resolving it against the clause that forced the most recent assignment eliminates that variable and bakes its reason in; repeat backward to the frontier, and what survives mentions only the frontier’s assignments — the learned clause, derived by nothing but resolution steps. A CDCL run on an unsatisfiable formula, written out, is therefore a resolution refutation (the DRAT log is its receipt) and the correspondence is tight in both directions : CDCL with restarts can match general resolution up to polynomial factors.
The correspondence even grades Chapter 4’s family tree. Plain DPLL (backtracking with no learning) corresponds to tree-shaped resolution, where every lemma must be re-derived from scratch in every branch that needs it; on pigeonhole the tree pays roughly , because the search effectively re-enumerates the orderings of the pigeons (all of them), one full re-derivation per ordering. Clause learning is exactly what upgrades the tree to a DAG, deriving each lemma once and reusing it everywhere — which drops pigeonhole to the range. So the leap from DPLL to CDCL that Chapter 4 narrated as engineering is a provable exponential improvement in proof-theoretic terms — and, by the theorem below, still provably not enough.
One caution on “can match”: the correspondence is existential. Atserias and Müller proved in 2020 that finding a short resolution refutation, even for formulas that have one, is itself NP-hard. Lower bounds say where no solver can win; this says even the winnable games can be hard to win. So Chapter 4’s entire engine room (GRASP, Chaff, MiniSat, Kissat, every heuristic, every restart schedule) operates strictly inside this one-rule proof system. Its running time on UNSAT instances is bounded below by the shortest resolution refutation that exists — so “do short resolution refutations always exist?” is a question about every solver’s running time.
Haken’s theorem: the pigeons that outlive every solver
They don’t. The formula that proves it encodes the pigeonhole principle — : variables for “pigeon sits in hole ,” clauses saying every pigeon lands somewhere and no hole takes two. With more pigeons than holes it’s unsatisfiable, for reasons a child can articulate:
Haken’s 1985 theorem: every resolution refutation of has size . Haken’s own proof is bottleneck counting: follow the “critical” assignments (every hole filled, exactly one pigeon left out) through the refutation, show that somewhere in its middle each of them must be killed by a clause that mentions many pigeons at once, and count how many such clauses it takes to cover them all.
The cleaner modern view (via Ben-Sasson–Wigderson , 2001) runs through an intermediate quantity, width: the length of the longest clause a refutation ever writes down. Two facts pincer a formula. First, short proofs are narrow: a refutation of size can be converted into one of width about , where counts the formula’s variables and is its widest starting clause. Second, some formulas force width: any refutation must, somewhere in its middle, state a fact about a medium-sized chunk of the formula, and when the formula is wired along a well-connected graph, that fact is irreducibly wide, because resolution can’t say “at least of these”; it can only enumerate. If a formula starts narrow and forces width , the two collide in one line of algebra: (read as “at least, up to a constant”), so and .
Pigeonhole itself doesn’t fit that template directly, and the reason is instructive. Its “every pigeon lands somewhere” clauses are already literals wide, and it has about variables, so plugging it straight in yields nothing. Ben-Sasson and Wigderson recover Haken’s bound through a sparse cousin: each pigeon may only use a few holes, chosen along a well-connected bipartite graph. Now the starting clauses are narrow, the width requirement is linear in the variable count, and the algebra above goes through. And setting the forbidden pigeon–hole variables to false turns any refutation of the original into a refutation of the sparse version, no larger, so the original is at least as hard. Exponential size is the only exit.
What this buys:
- Chapter 4’s promised wall, delivered. Pigeonhole formulas are tiny: eleven pigeons and ten holes is 110 variables and 561 clauses (11 “lands somewhere” clauses plus pairwise exclusions), small enough to print on a page. That one instance a modern solver still finishes; the theorem is about growth. Keep adding pigeons and every CDCL solver on earth, present and future, needs time exponential in their number, on formulas whose size grows only as the cube of that number. Not “hasn’t been tuned for it”: provably cannot, by the CDCL-resolution correspondence. When engineers at a verification company watch their million-variable-crushing solver choke on a toy scheduling core, this theorem is usually what’s biting: somewhere inside, the instance asks the solver to count. And the lower bound shapes practice: solvers now ship special inference rules (cardinality reasoning, symmetry breaking) precisely to step outside resolution when pigeons appear. The same move exists for parity: solvers in the CryptoMiniSat line detect XOR substructure hiding in the clauses and run Gaussian elimination on it mid-search, stepping outside resolution exactly where the next bullet’s formulas would otherwise bite. Read practically, each lower bound has served as a shopping-list entry telling engineers which foreign inference rule to bolt on next.
- Chapter 6’s cliff, explained from below. Chvátal and Szemerédi proved that random 3-SAT at clause densities past a constant requires exponential resolution refutations with high probability. So on the UNSAT side, the hardness you measured in the browser was this chapter’s mechanism in miniature. (The theorem is asymptotic and the browser ran , so read it as a preview, not an instance.) The DPLL search, whose closed search tree also transcribes into a resolution refutation, wasn’t being slow; it cannot run shorter than the shortest refutation that exists.
- A second hard family, with strange scenery. Urquhart’s 1987 bound uses Tseitin formulas: put a bit of “charge” on each node of a graph, write clauses forcing every node’s incident edge-variables to XOR to its charge. Odd total charge makes it unsatisfiable: sum every node’s constraint and each edge variable appears exactly twice (once per endpoint) so the sum is unavoidably even, while the total charge says it should be odd. No assignment survives. For these formulas to need exponential refutations, the underlying graph must be special: sparse, but so well-connected that no small cut isolates anything — every partial accounting of charge stays irreducibly wide. Graphs with that property have a name, and the echo from Chapter 5 is exact: the lower bound once again lives in how much information must cross a cut.
Is there a geometric picture of what a refutation is?
A clean one, on Chapter 2’s Hamming cube. Call a subcube (a partial assignment) blocked if every point inside it falsifies one specific clause of the formula. A closed DPLL search tree is exactly a partition of the whole cube into blocked subcubes: each leaf is a region of assignments that all die, together, for one syntactic reason. And the certificate checks arithmetically: disjointness of two subcubes is a syntactic clash on some literal, a subcube fixing variables has size , and if the sizes of disjoint blocked pieces sum to exactly , coverage is forced: unsatisfiability as a partition of unity.
In this picture a short proof is a coarse tiling: one subcube certifying exponentially many doomed assignments at once, because they share a reason. NP = coNP would mean every unsatisfiable formula admits a polynomially coarse tiling — that doomed regions of Boolean space always share reasons in bulk. Haken’s theorem says pigeonhole’s tiling is irreducibly fine in the language of clauses; stronger systems coarsen the available tilings by enriching the language of reasons, and indeed once a system can introduce definitions (extended resolution: “let name the rerouted assignment with one pigeon and one hole fewer”), pigeonhole’s exponential tiling compresses to polynomial.
Doesn’t Haken’s theorem feel like it already proves something huge — “simple truths need exponential proofs”?
Only inside resolution, and the ladder’s next rung shows how much that caveat carries. Cutting planes — a proof system that reasons with integer linear inequalities instead of clauses — proves the pigeonhole principle in polynomial size, trivially. It writes ” for each of pigeons” and ” for each of holes,” adds everything up, and reads off . The whole exponential wall was an artifact of resolution’s inability to count. This is the recurring lesson of proof complexity: a lower bound against a system is a theorem about that system’s blind spot, not about truth being deep. Each rung’s blind spot needs a different exploit — which is exactly why climbing is slow. (Cutting planes fell too, by the way — Pudlák 1997 , by yet another new technique, interpolation, which converts short proofs into small circuits and then invokes Chapter 7’s monotone bounds — a message-passing argument of the communication-complexity school Chapter 10 dissects. Proof complexity and circuit complexity, you’ll have noticed, keep borrowing each other’s weapons.)
The ladder, and where everyone is stuck
Above cutting planes sits Frege — ordinary textbook propositional logic, modus ponens (from and , conclude ) over arbitrary formulas. It proves pigeonhole in polynomial size (Buss 1987 ), handles Tseitin easily, and against it the field has proven… nothing: no super-polynomial lower bound for any formula family, despite forty years of trying. One rung higher, extended Frege — allowed to introduce definitions, the way working mathematicians name things — and the silence is deeper still. This is not coincidence: Frege systems stand in rough correspondence with the circuit class NC¹ (shallow, log-depth circuits), extended Frege with P/poly (general polynomial-size circuits). A proof is a computation that explains itself, and lower-bounding proof length keeps reducing to lower-bounding circuit size one floor up. The two campaigns (against circuits, against proofs) stalled at the same altitude, in the same decade: an arsenal of techniques that worked brilliantly on restricted targets went quiet all at once.
Why do definitions matter so much? Because they are to proofs what subroutines are to programs: logically eliminable (any defined variable can be expanded away), but the macro-expansion can cost an exponential. Pigeonhole’s short human proof is a recursion — reroute whoever sits in the last hole, and you now face pigeons and holes; repeat — and a system with definitions transcribes exactly that, one layer of named reroutings per step, polynomial in total. Plain resolution, unable to name, must inline each layer’s construction into the next until the text grows exponentially: Haken’s theorem says the explosion is a failure not of strategy but of vocabulary. The extended-Frege question, in this language: is any contradiction so tangled that no amount of subroutine-naming can modularize its proof? Nobody has exhibited one; nobody has proven one exists.
Is there a rung made of algebra instead of logic?
A whole branch. In the sum-of-squares (SOS) system, encode each clause as a polynomial equation (plus to keep variables Boolean); a degree- refutation writes as a sum of squared polynomials plus constraint multiples, everything of degree at most . Checking one — even finding one — is a semidefinite program running in time, which makes SOS the rare proof system whose proofs are efficiently discoverable, and the engine behind the strongest approximation algorithms known.
Its duality is the cleanest statement of “lower bound” in this book: for each degree , exactly one of two objects exists. Either the refutation, or a pseudo-expectation — an assignment of values to all monomials of degree that is normalized, respects every constraint, and hands every square a nonnegative value. A pseudo-expectation is a perfect forgery: against every polynomial test of degree it is indistinguishable from a genuine distribution over solutions, even when no solution exists. Proving an SOS lower bound is building the forgery. Grigoriev built one of linear degree for Tseitin formulas (2001), and Schoenebeck did the same for random 3-SAT even at clause densities far above Chapter 6’s cliff (2008): sub-exponential SOS cannot see through either. Hardness as the best fake passes every cheap test is exactly the silhouette of Chapter 12’s barrier, with the forgery played by pseudorandom functions.
Twice now, a lower bound has turned on the same strange requirement: Urquhart’s hard Tseitin formulas need graphs that are sparse but unchokeable (no small cut disconnects much) and Ben-Sasson–Wigderson’s width machinery quantifies hardness through exactly that expansion. Chapter 5’s multiplier bound (multiplication’s decision diagrams explode because carries force information across every cut) was the same argument in a third costume. Sparse graphs where every cut is wide are called expander graphs, and once you know to look for them, they turn up everywhere explicit hardness is manufactured — in hard formulas, in error-correcting codes, in derandomization, and in the PCP theorem, which extends Cook–Levin into something far stranger. They are, in a precise sense, the most random-looking objects humans know how to build deterministically — Chapter 7’s haystack problem, partially solved. They get the next chapter; one more chapter names the blade all these bounds share; and then the barriers.
Further reading
- The Relative Efficiency of Propositional Proof Systems (Cook & Reckhow, 1979) — the program’s founding document; short and readable.
- The Intractability of Resolution (Haken, 1985) — the pigeonhole bound; the bottleneck-counting original.
- Short Proofs Are Narrow — Resolution Made Simple (Ben-Sasson & Wigderson, 2001) — the width method; the cleanest route to every classical resolution bound.
- Proof Complexity (Krajíček, 2019) — the modern monograph, if you want the whole ladder with proofs.
- Many Hard Examples for Resolution (Chvátal & Szemerédi, 1988) — random formulas past the threshold are resolution-hard; Chapter 6’s cliff, from the proof side.