Computational Complexity Lower Bounds


Computational Complexity Lower Bounds

Corey
Welcome back. Today we're exploring a big question in complexity theory: when we cannot prove something like P versus NP, is the obstacle simply that the problem is difficult, or are our proof methods fundamentally unable to settle it?

Anna
And the discussion approaches that question from several directions. We'll look at circuit lower bounds, barriers such as diagonalization and natural proofs, bounded arithmetic, propositional proof systems, semantic complexity classes, and finally the possibility that P versus NP could be independent of familiar mathematical theories.

Corey
Let's begin with a sequence of increasingly weak questions. First, does every language in NP have polynomial-size circuits? Since polynomial-size circuits characterize nonuniform polynomial time, this asks whether NP is contained in P/poly. A still weaker question is whether there is any explicit Boolean function outside P/poly, and weaker still is simply whether any Boolean function requires circuits larger than every polynomial.

Anna
That last question is known to have a yes answer. Classical counting results show that almost all Boolean functions require exponential-size circuits. The basic argument is a pigeonhole principle: there are vastly more Boolean functions than there are small circuits, so most functions cannot be represented by small circuits.

Corey
But the simplicity of that proof hides an important issue: counting. A Boolean function on n variables is described by a truth table with 2 to the n entries, so the total number of functions is double-exponential in n. To use the counting argument formally, a proof system has to be able to reason about numbers that enormous.

Anna
That motivates a guiding principle for the whole discussion: what you can prove depends heavily on how well you can count. Shannon-style counting arguments need counting up to double-exponential quantities, while many other circuit-complexity arguments only count up to numbers that are single-exponential, or even polynomial, in the number of variables.

Corey
The goal is therefore not merely to find a system that fails to prove a lower bound. A useful barrier framework should satisfy several conditions: it should not solve the problem by an obvious counting argument; it should straightforwardly formalize known circuit-complexity results; it should be mathematically meaningful rather than artificially designed; and its metamathematics should connect back to ordinary mathematics.

Anna
The first major barrier is diagonalization. In the oracle formulation, a claimed complexity result is required to remain true relative to every oracle. Baker, Gill, and Solovay showed that there are oracle worlds where P equals NP and other oracle worlds where P does not equal NP. Consequently, relativizing arguments cannot settle P versus NP.

Corey
Natural proofs introduce another barrier. Instead of examining a particular explicit hard function in detail, a natural-proof argument identifies a large class of functions sharing some property and applies the argument across that class.

Anna
For this framework, the property is intended to be constructive and large. Constructive means that membership in the property can be decided in polynomial time when the function is presented by its truth table. Large means that the property holds for a substantial fraction of all Boolean functions, often almost all of them.

Corey
The constructiveness requirement blocks the huge counting step. If recognizing the property required counting beyond single-exponential size, it would no longer be polynomial-time computable from the truth table. So natural proofs deliberately capture arguments that avoid the full Shannon counting method while still applying broadly.

Anna
The natural-proofs barrier theorem says that, under standard cryptographic assumptions, there is no natural proof against general circuits. The reason is that a natural property would distinguish a large, efficiently recognizable set of functions from small-circuit functions, while pseudorandom functions are designed to look random to efficient tests.

Corey
This work was not intended to say that researchers should abandon circuit lower bounds. Its purpose was to identify a class of methods that does not work, so that future research can search for methods outside that class. One important byproduct was highlighting the minimum circuit size problem: given a truth table, determine the size of the smallest circuit computing it.

Anna
The next direction keeps the idea that a proof system should not distinguish explicit functions from arbitrary functions, but it reverses the attitude toward formal theories. Instead of dismissing proof systems as objects to be analyzed indirectly, we can study ordinary first-order theories such as bounded arithmetic.

Corey
Bounded arithmetic restricts attention to bounded and sharply bounded quantifiers. The theory S2^1 is especially important because it closely corresponds to polynomial-time computation. Buss's witnessing theorem says, informally, that when S2^1 proves a suitable existential statement, the witness can be produced by a polynomial-time function.

Anna
That connection links proof theory with complexity theory. A proof in bounded arithmetic can sometimes be translated into a propositional proof, and a propositional proof may yield computational information through a witnessing theorem or feasible interpolation.

Corey
Feasible interpolation is a model example. From a proof of a suitably structured propositional implication, one extracts a polynomial-time computation. This is exactly the kind of missing connection researchers would like: start with a proof of a complexity statement, extract computational content, and then use complexity-theoretic knowledge to derive a limitation.

Anna
The trouble is that feasible interpolation fails for stronger systems, including systems of real interest. That leaves a central open problem: how can we obtain the missing arrow from propositional proofs back to computation when ordinary interpolation is unavailable?

Corey
One proposed answer uses pseudorandom generators. Take a generator such as a Nisan-Wigderson generator and consider the propositional assertion that a particular output string is not in its image. For a reasonable generator, most strings are outside the image, but an efficient proof system should not be able to single out arbitrary particular strings as definitely outside that image.

Anna
The conjecture is that suitable Nisan-Wigderson generator tautologies are hard for extended Frege and related strong propositional systems. This would extend the role of feasible interpolation into a setting where ordinary interpolation fails. The conjecture remains open, although there are results for systems such as resolution, regular resolution, and polynomial calculus, with important quantitative limitations.

Corey
Let's turn to the second theme: semantic classes and complete problems. A syntactic class is described in a way that lets us effectively enumerate its algorithms or proof objects. Polynomial time is an example, because an algorithm can be equipped with a clock or an explicit polynomial bound.

Anna
A semantic class is defined by a condition that may require proof. Randomized classes provide the basic intuition: writing down an algorithm does not automatically establish that it accepts with the required probability. The class condition concerns the behavior of the algorithm, not merely its written form.

Corey
This distinction helps explain why syntactic classes often have complete problems, while semantic classes often are conjectured not to. Complete objects can be built by effectively enumerating all candidate algorithms or systems, but a semantic condition may not be effectively recognizable.

Anna
Consider propositional tautologies and proof systems. A proof system should be complete, meaning every tautology has a proof, and sound, meaning no non-tautology has a proof. Completeness can be arranged by embedding a known complete system, but soundness can be difficult to establish for a powerful system.

Corey
The conjecture is that there is no optimal proof system for tautologies, where optimal means polynomially simulating every other proof system. This is equivalent, in the stated framework, to saying that no consistent theory proves the soundness of all proof systems. It is a strong conjecture because it implies that exponential time is different from nondeterministic exponential time.

Anna
A related semantic class is the class of disjoint NP pairs. Its elements are pairs of NP sets that are disjoint, and the disjointness condition is semantic: merely writing definitions for the two sets does not usually reveal whether they overlap. The conjecture is that there is no complete disjoint NP pair.

Corey
Canonical pairs connect these conjectures with proof systems. Given a proof system, one set in the canonical pair consists of formulas having short proofs, with padding used to express the proof-length bound, while the other corresponds to satisfiable formulas in a comparable padded format. If one proof system simulates another, the associated canonical pairs are related by polynomial reduction.

Anna
There is a parallel branch involving total-function NP, or TFNP. A TFNP problem is specified by a polynomial-time relation R such that every input has at least one polynomially bounded witness. The task is to find such a witness.

Corey
The totality condition is semantic because an algorithm for R does not itself prove that every input has a witness. Factoring is a familiar candidate: a factorization exists, but finding it is believed not to be polynomial-time computable. The stronger conjecture says that TFNP has no complete problem.

Anna
This conjecture is motivated by the analogy with provably total computable functions in stronger and stronger arithmetic theories. As the theory becomes stronger, the collection of functions whose totality it can prove tends to grow. The corresponding hierarchy for polynomially bounded total search problems is not known to be strictly increasing, and proving that it is would be a major result.

Corey
SAT fits into this picture differently. A proof system for SAT is any efficiently checkable evidence that a formula is satisfiable. A satisfying assignment is the standard proof and is trivially polynomially bounded, but other systems can add special evidence, such as a factorization.

Anna
If factoring is hard, then the ordinary satisfying-assignment system cannot polynomially simulate a system that accepts factorizations as evidence for particular formulas. One can also derive proof systems for SAT from systems for quantified tautologies, and witnessing theorems imply that the standard SAT proof system polynomially simulates certain such systems.

Corey
The conjecture for SAT is that it too has no optimal proof system. The total-function NP conjecture implies this SAT conjecture. These conjectures form related but distinct branches, and separating the branches by relativization is technically difficult.

Anna
The final theme asks whether P versus NP might be independent of standard mathematics. A statement is independent of a theory if the theory proves neither the statement nor its negation. Gödel's incompleteness theorem guarantees independent statements, but the interesting question is whether natural mathematical or computational statements can be independent.

Corey
ZFC, the usual set theory, is stronger than Peano arithmetic for statements about natural numbers. For example, ZFC can prove the consistency of Peano arithmetic, while Peano arithmetic cannot prove its own consistency. The target question is whether a statement such as P versus NP could be independent of ZFC or, more plausibly, of the weaker theory Peano arithmetic.

Anna
There is an important obstacle. The standard techniques for proving independence from full set theory, beginning with forcing, cannot establish independence for statements involving only finite objects and natural numbers. P versus NP can be written as a finitary statement about machines, inputs, and running times, so current set-theoretic independence machinery does not directly apply.

Corey
Independence from Peano arithmetic is a more realistic target. Paris-Harrington gives a precedent: it is a finite, genuine mathematical strengthening of Ramsey's theorem that is provable in set theory but not in Peano arithmetic. Goodstein's theorem, often illustrated by the Hercules-and-Hydra process, is another finitary statement with the same broad pattern.

Anna
The syntactic form of P not equal to NP resembles these examples. Roughly, for every candidate polynomial-time program and every proposed bound, there should exist an input on which the program fails. That has the same broad universal-then-existential shape as the finite combinatorial statements used in independence results.

Corey
The surprising conclusion is conditional and quantitative. If SAT has an algorithm running in almost-polynomial time, then a given theory may be unable to prove P not equal to NP. The precise meaning of almost-polynomial depends on the theory, but the idea is that the running time is close enough to polynomial for the theory to be unable to distinguish it from polynomial time.

Anna
To measure this closeness, consider runtimes of the form n raised to f(n), where f(n) grows extremely slowly. When f grows slowly, the exponent remains constant across very long stretches of input lengths, so the algorithm behaves almost polynomially over those stretches.

Corey
It is often easier to describe f using the inverse of a rapidly growing function. The fast-growing hierarchy provides such functions: starting with basic exponentials, iterating the construction through countable ordinals produces functions that grow faster and faster. The Ackermann function appears at the first infinite stage, and the ordinal epsilon-zero marks a much later fixed point in the hierarchy.

Anna
Now enumerate the polynomial-time machines and define an approximation function for a language such as SAT. At index i, look at the first i machines and ask how far each one computes SAT correctly before its first failure. The approximation function records the greatest such initial segment.

Corey
This function is total exactly when SAT is not in P: if one machine computes SAT correctly forever, the corresponding failure point never exists, but if SAT is outside P, every polynomial-time machine eventually fails. The faster the approximation function grows, the closer SAT is to P, because some early machines correctly handle increasingly long initial segments.

Anna
Fast-growing functions also measure what Peano arithmetic can prove total. The fast-growing hierarchy is calibrated so that functions below the epsilon-zero level are, in the relevant sense, provably recursive in Peano arithmetic, while sufficiently faster functions exceed its proving strength.

Corey
Therefore, if the approximation function for SAT grows beyond what Peano arithmetic can prove total, Peano arithmetic cannot prove the corresponding separation P not equal to NP. This gives the first direction: an almost-polynomial SAT algorithm would prevent the theory from proving the separation.

Anna
For a stronger theory called PA-1, which extends Peano arithmetic by all true Pi-1 statements, the reverse direction can also be established. PA-1 proves P not equal to NP if and only if the approximation rate is sufficiently low—in other words, if SAT is not too close to P.

Corey
So, for this stronger theory, failure to prove P not equal to NP can occur only when SAT has an almost-polynomial algorithm. The logical problem of proving independence is therefore tied to a computational problem of constructing an exceptionally efficient SAT algorithm.

Anna
There is also a methodological point. The usual model-theoretic ways of showing that a theory cannot prove a statement often preserve its true Pi-1 consequences. That makes it difficult to distinguish Peano arithmetic from PA-1 using currently known tools. So an independence proof for P versus NP from Peano arithmetic would require more than simply applying familiar forcing-style ideas.

Corey
The same perspective leads to related conditional consequences. If P versus NP were independent of Peano arithmetic, the framework suggests that SAT would be almost polynomial-time solvable, and related conclusions concern the existence of one-way functions. These are not unconditional resolutions, but they show why logical and computational approaches are tightly connected.

Anna
The overall lesson is not that researchers should stop trying to prove P versus NP directly. Rather, barriers and independence programs tell us what kinds of arguments may be insufficient: unrestricted counting, relativizing methods, natural properties, and proof systems that fail to yield computational content.

Corey
And the positive research program is to understand the missing connections: stronger proof systems, pseudorandom-generator tautologies, hierarchies of semantic problems, witnessing principles, and the relationship between fast-growing functions and provability. Each direction tries to explain not just whether a theorem is hard, but why our available methods cannot yet reach it.

Ask anything
We've read this whole study set, so questions about it get the best answers.