1. Home
  2. Explore
  3. Computer Science
  4. Computational Complexity Lower Bounds

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Computational Complexity Lower Bounds

Complexity Theory, Proof Systems, and the Limits of Mathematical Reasoning

This lesson connects three closely related questions:

  1. How difficult are Boolean functions and computational problems?
  2. Which proof systems can establish circuit lower bounds or other complexity separations?
  3. Could statements such as P≠NP\mathrm{P} \ne \mathrm{NP}P=NP be unprovable in familiar mathematical theories?

The central theme is that the power of a proof depends strongly on what the proof system can represent, count, formalize, and extract from its arguments.


1. From P\mathrm{P}P versus NP\mathrm{NP}NP to Circuit Complexity

The famous question P\mathrm{P}P versus NP\mathrm{NP}NP asks whether every problem whose solutions can be verified efficiently can also be solved efficiently.

A related, and in some ways stronger, question asks whether every language in NP\mathrm{NP}NP has polynomial-size Boolean circuits. This uses the class P/poly\mathrm{P}/\mathrm{poly}P/poly.

What is P/poly\mathrm{P}/\mathrm{poly}P/poly?

A Boolean circuit is a finite arrangement of logic gates computing a Boolean function. A family of circuits is polynomial-size if, for inputs of length nnn, the corresponding circuit has size bounded by a polynomial in nnn.

The class P/poly\mathrm{P}/\mathrm{poly}P/poly consists of problems computable by polynomial-size circuit families. It is called nonuniform polynomial time because the circuit for each input length may be designed separately. Unlike an ordinary algorithm, the circuit family does not necessarily have to provide one uniform procedure that constructs the next circuit.

Thus, one can consider the chain of questions:

  • Is P=NP\mathrm{P} = \mathrm{NP}P=NP?
  • Does every language in NP\mathrm{NP}NP have polynomial-size circuits?
  • Are there explicit Boolean functions outside P/poly\mathrm{P}/\mathrm{poly}P/poly?
  • Do any Boolean functions at all require superpolynomial or exponential-size circuits?

The last question has a classical affirmative answer: such functions exist, and in fact almost every Boolean function is hard for circuits.


2. Why Almost All Boolean Functions Are Hard

Suppose a Boolean function has nnn input variables. Its truth table has 2n2^n2n entries, and each entry can independently be either 000 or 111. Therefore, the total number of Boolean functions on nnn variables is

22n.2^{2^n}.22n.

This is a double-exponential quantity: the exponent itself is exponential in nnn.

Now compare this with the number of circuits of a given size. If the circuit size is only polynomial in nnn, then the number of possible circuits is much smaller than 22n2^{2^n}22n. Even allowing circuits of moderately larger size, the number of circuits remains insufficient to represent all Boolean functions.

By the pigeonhole principle, many different Boolean functions must require larger circuits than the allowed circuit size. In fact, almost all Boolean functions require exponential circuit size.

If C(f)C(f)C(f) denotes the minimum circuit size of a Boolean function fff, then the conclusion is informally:

C(f) is exponential for almost every Boolean function f.C(f) \text{ is exponential for almost every Boolean function } f.C(f) is exponential for almost every Boolean function f.

Why this argument is not enough for explicit lower bounds

The counting argument proves that hard functions exist, but it does not identify a particular function with useful structure. It says:

Among all truth tables, almost all are difficult, but it does not tell which specific truth table is difficult.

This distinction is fundamental. A function can be hard merely because it is randomly complicated, while complexity theory seeks an explicit function—often one arising naturally from mathematics or computer science—that can be shown to require large circuits.

Counting as a dividing line

The counting argument must distinguish among roughly 22n2^{2^n}22n possible Boolean functions. Therefore, a formal system capable of reproducing the argument must be able to reason about extraordinarily large quantities.

Many lower-bound arguments in circuit complexity do not need this much counting. They may only count up to a single-exponential or polynomially bounded quantity. This creates a useful distinction:

  • Very strong counting arguments can prove that hard functions exist nonconstructively.
  • More limited arguments may prove lower bounds for particular explicit functions without being able to count over all truth tables.

A recurring principle is therefore:

The computational and mathematical conclusions available to a proof system depend on how large a quantity that system can effectively represent and count.


Think About It

Why does proving that hard functions exist fail to give a specific explicit function outside P/poly\mathrm{P}/\mathrm{poly}P/poly?


3. Proof Systems as Objects of Study

A proof system need not mean only the usual axioms and inference rules of first-order logic. More broadly, it can mean any rigorously specified collection of methods used to establish complexity statements.

The goal is to understand the limitations of such systems. Rather than merely asking whether a statement is true, one asks:

  • Can the statement be expressed in the system?
  • Can the system prove it?
  • Does the proof use a method that is already known to be incapable of solving the problem?
  • Can useful computational information be extracted from the proof?

This perspective is motivated by several ideas.

First, mathematical logic has shown that important mathematical statements can be independent of familiar axiom systems. Second, studying failed proof methods can guide future research. A barrier result is not a proof that a problem is impossible; it identifies a particular strategy that cannot work. Third, understanding limitations often produces useful byproducts, such as new complexity classes, cryptographic constructions, or important intermediate problems.


4. Diagonalization and Oracle Barriers

One of the earliest major barriers in complexity theory is diagonalization.

Diagonalization constructs an object that differs from each object in a proposed enumeration at a carefully chosen point. In complexity theory, it can be used to construct oracle worlds in which different relationships between complexity classes hold.

An oracle is an additional black-box operation available to a machine. If a statement about complexity classes could be proved by a method that remains valid in every oracle world, then it would have to hold relative to every oracle.

The Baker–Gill–Solovay results showed that there are oracles AAA and BBB such that

PA=NPA\mathrm{P}^A = \mathrm{NP}^APA=NPA

while

PB≠NPB.\mathrm{P}^B \ne \mathrm{NP}^B.PB=NPB.

Consequently, any proof method that relativizes—meaning that it continues to work unchanged when all machines receive the same oracle—cannot settle P\mathrm{P}P versus NP\mathrm{NP}NP.

This is not evidence that P=NP\mathrm{P} = \mathrm{NP}P=NP or that P≠NP\mathrm{P} \ne \mathrm{NP}P=NP. It only shows that relativizing arguments are too general to decide the question.


5. A Desirable Framework for Complexity Lower Bounds

A useful framework for studying lower-bound proofs should satisfy several requirements.

5.1 It should not solve the problem by enormous counting

If a proof system can simply formalize the full Shannon-style counting argument over all Boolean functions, then it may prove the existence of hard functions without addressing the central difficulty of explicit lower bounds.

The system should therefore be weak enough that this trivial nonconstructive route is unavailable.

5.2 It should easily formalize known results

The framework should not be so weak that every established circuit lower bound requires an entirely new theory. Known results should be formalizable in a relatively direct way.

This requirement separates a genuinely useful framework from one that merely avoids the problem by being too weak to express ordinary mathematics.

5.3 It should be mathematically meaningful

The proof system should correspond to concepts that complexity theorists and logicians naturally care about. A framework designed artificially only to block one proof technique may provide little insight.

5.4 Its metamathematics should reflect its mathematics

Ideally, properties of the proof system—its metamathematics—should correspond to meaningful computational properties. For example, if a theory proves that a witness exists, the proof should ideally imply that the witness can be computed efficiently.

This connection between logical provability and computational extraction is one of the main reasons bounded arithmetic is important.


6. Natural Proofs

The natural proofs framework was introduced to explain why many familiar circuit lower-bound strategies cannot prove strong lower bounds against general circuits, assuming standard cryptographic assumptions.

The framework is based on two observations about many known lower-bound methods.

6.1 A lower-bound method often applies broadly

Suppose a proof shows that a particular Boolean function fff is hard because it has some property PPP. If the same reasoning applies to many other Boolean functions, then the proof is not exploiting something especially unique about fff.

Natural proofs study the set of functions to which the method applies, rather than focusing only on the target function.

Let Pn\mathcal{P}_nPn​ denote the set of Boolean functions on nnn variables that satisfy the property used by the proof.

Two major conditions are imposed on this property.

6.2 Constructivity

The property should be efficiently recognizable from the truth table.

Since a Boolean function on nnn variables has a truth table of length 2n2^n2n, “efficiently recognizable” means polynomial time in the truth-table length. If the truth-table length is denoted by MMM, then the property should be decidable in time polynomial in MMM.

This requirement prevents the proof from secretly performing an enormous counting computation. If checking the property required time comparable to the number of all Boolean functions, then the method could be hiding a full Shannon-style counting argument.

6.3 Largeness

The property should hold for many Boolean functions, usually a large fraction of all functions.

A lower-bound property that applies to only one specially constructed function might evade the natural-proofs framework. But if it applies to almost all functions, then cryptographic pseudorandom functions may also satisfy it.

The natural-proofs barrier

Under suitable cryptographic assumptions, no property that is both constructive and large can be used to prove strong circuit lower bounds against general circuits.

The intuition is as follows:

  1. A pseudorandom function is designed to look like a random function to efficient tests.
  2. A large property holds for most random Boolean functions.
  3. If the property is efficiently recognizable, a pseudorandom function should also appear to possess the property.
  4. But a pseudorandom function is computable by a relatively small circuit.
  5. Therefore, the property cannot reliably separate all small-circuit functions from genuinely hard functions.

The barrier does not say that circuit lower bounds are impossible. It says that a broad, efficiently checkable property that holds for many functions is unlikely to distinguish hard functions from pseudorandom functions.

Natural proofs show that certain combinations of “efficiently recognizable” and “true for many functions” are incompatible with strong circuit lower bounds, assuming cryptographic pseudorandomness.

A related byproduct: the Minimum Circuit Size Problem

The Minimum Circuit Size Problem asks whether a given Boolean function, represented by its truth table, can be computed by a circuit of size at most a specified bound.

The problem is naturally connected to the natural-proofs framework because the framework studies Boolean functions through their truth tables and asks whether they have small circuits.

The problem has also become important independently in complexity theory and cryptography. Its significance was highlighted by the observation that distinguishing small-circuit functions from general truth tables is closely tied to the difficulty of finding natural properties.


Think About It

Why would a property that is easy to check and true for almost every function be dangerous as a circuit lower-bound tool?


7. Bounded Arithmetic and Formalizing Complexity

A different approach is to use ordinary formal theories of arithmetic rather than broad, informal proof methods.

Bounded arithmetic studies fragments of Peano arithmetic in which quantifiers are restricted by explicit bounds. A bounded quantifier has the form

∀x≤tor∃x≤t,\forall x \leq t \quad \text{or} \quad \exists x \leq t,∀x≤tor∃x≤t,

where ttt is a term that bounds the variable.

The important idea is that bounded arithmetic is designed to correspond closely to feasible computation. It is not merely a collection of ad hoc axioms; it is a first-order theory with ordinary logical rules and arithmetic principles.

A central theory in this area is often denoted by S21S^1_2S21​. It belongs to a hierarchy of theories that mirror computational complexity classes.

Witnessing theorems

A witnessing theorem says, roughly, that if a suitable bounded-arithmetic theory proves an existential statement asserting that a witness exists, then the witness can be computed by a polynomial-time function.

For example, if a theory proves

∀x ∃y φ(x,y),\forall x \, \exists y \, \varphi(x,y),∀x∃yφ(x,y),

under appropriate restrictions on φ\varphiφ, then the logical proof may imply the existence of a polynomial-time algorithm that computes such a yyy from xxx.

This is valuable because it connects:

  • a proof in arithmetic,
  • a computational witness,
  • and a complexity-theoretic algorithm.

Formalizing circuit lower bounds

One can formulate a statement saying that for every sufficiently large input length nnn, there exists a Boolean function fnf_nfn​ that cannot be computed by circuits below a specified size.

A simplified form is:

∀n ∃fn  (fn has no circuit of the permitted size).\forall n \, \exists f_n \; \bigl(f_n \text{ has no circuit of the permitted size}\bigr).∀n∃fn​(fn​ has no circuit of the permitted size).

To avoid trivial issues involving the enormous number of all functions, the statement can use an appropriate subexponential or otherwise controlled bound.

For restricted circuit models, such lower-bound statements can often be formalized and proved in weak theories. The challenge is to extend this to general circuits.


8. From Bounded Arithmetic to Propositional Proof Complexity

There is a close connection between bounded arithmetic and propositional proof systems.

A formula asserting that a particular Boolean function is hard can be represented using its truth table. Once the truth table is given, the question “does a small circuit compute this function?” becomes a finite propositional statement.

This allows one to translate certain arithmetic proofs into propositional proofs.

The correspondence can be summarized informally:

  • A bounded-arithmetic theory corresponds to a uniform complexity class.
  • A propositional proof system corresponds to a nonuniform version of that computational setting.
  • A proof of a finite statement may be transformed into a propositional proof.
  • One hopes to extract computational information from that propositional proof.

For example, S21S^1_2S21​ is associated with polynomial-time computation, while stronger propositional systems such as extended Frege are candidates for the corresponding nonuniform proof framework.

The missing arrow

Several directions in this correspondence are well understood:

  1. A proof in bounded arithmetic can yield a polynomial-time computation through a witnessing theorem.
  2. Quantifier-free formulas can be translated into propositional formulas.
  3. Uniform computational classes have associated nonuniform circuit classes.

The difficult direction is the reverse extraction:

Given a propositional proof of a formula expressing a computational claim, can one extract a useful computation from the proof?

For weak proof systems, feasible interpolation provides an important example of such extraction.


9. Feasible Interpolation

Feasible interpolation applies to certain propositional proof systems. It starts with a proof of a formula combining two kinds of information, often represented schematically as

A(x,z)∨B(y,z),A(x,z) \lor B(y,z),A(x,z)∨B(y,z),

where xxx and yyy are separated sets of variables and zzz represents shared variables.

From a sufficiently short proof, feasible interpolation constructs a polynomial-size circuit that separates the two cases. The proof is therefore converted into computational information.

The importance of feasible interpolation is that it gives exactly the kind of fourth connection desired in the bounded-arithmetic picture:

  • start with a proof,
  • extract a circuit,
  • use the circuit to derive a complexity consequence.

However, feasible interpolation is known only for certain proof systems. It fails or becomes unavailable for stronger systems, including systems that are especially relevant to major open problems.

This creates a central difficulty: the proof systems weak enough to yield computational information may not be strong enough to capture the proofs researchers ultimately need to analyze.


10. Hard Tautologies for Strong Proof Systems

A propositional tautology is a Boolean formula that evaluates to true under every assignment. A proof system for tautologies is:

  • complete if every tautology has a proof;
  • sound if no nontautology has a proof.

For weak systems, one can often prove strong lower bounds on proof length. For stronger systems such as Frege or extended Frege, the situation is much more difficult. No convincing general examples of tautologies requiring superpolynomial proofs are known for these systems.

Two important candidate families are:

Random CNF formulas

Random conjunctive normal forms are often unsatisfiable in certain parameter ranges. Yet the reason a particular random formula is unsatisfiable may be difficult to explain using a short proof.

Understanding why random formulas are unsatisfiable may require substantial counting or probabilistic reasoning.

Complexity-theoretic tautologies

Statements expressing a major separation such as NP≠P/poly\mathrm{NP} \ne \mathrm{P}/\mathrm{poly}NP=P/poly are also candidates for hard tautologies. They are especially intriguing because their truth is itself unknown.

A formula can be a perfect candidate for proof hardness precisely because researchers do not yet understand either:

  • why it should be true, or
  • how a short proof could establish it.

11. Pseudorandom Generators as a Proposed Missing Connection

A pseudorandom generator is a deterministic function that expands a short seed into a longer output that appears random to efficient algorithms.

Write a generator as

G:{0,1}m→{0,1}N,G:\{0,1\}^m \to \{0,1\}^N,G:{0,1}m→{0,1}N,

where m<Nm<Nm<N. Because the seed is shorter than the output, the generator can produce at most 2m2^m2m outputs, while the full output space contains 2N2^N2N strings. Thus, most strings are not in the image of GGG.

For a particular string BBB, one can form a statement saying that BBB is not generated by any seed:

B∉Im⁡(G).B \notin \operatorname{Im}(G).B∈/Im(G).

These statements are sometimes called generator non-image or tau-type formulas.

Why these formulas are interesting

If GGG is a reasonable pseudorandom generator, then identifying whether a particular output is outside its image may be difficult for a proof system. Almost every string is outside the image, but the proof system should not be able to single out a particular string as easily as a counting argument would.

This suggests a possible replacement for natural proofs:

  • natural proofs study broad properties of functions;
  • generator-based formulas study the inability of proof systems to certify that particular strings are outside a pseudorandom image.

The conjecture described in the source proposes that suitable Nisan–Wigderson generator formulas should require large proofs in strong propositional systems such as extended Frege.

The conjecture remains open in its strongest forms. Partial results are known for systems including resolution, regular resolution, and polynomial calculus, but these results do not yet reach the full strength or parameter ranges desired.


Think About It

Why might a pseudorandom generator help prevent a proof system from identifying a specific hard object, even when almost all objects are hard?


12. Semantic and Syntactic Complexity Classes

A syntactic class is usually described by a directly checkable form of computation or proof. For example, P\mathrm{P}P can be represented by polynomial-time algorithms, and the running-time bound can be built into the machine description.

A semantic class is defined by a property that must be established about an object. Merely writing down the algorithm or relation does not automatically prove that it belongs to the class.

For instance, a randomized algorithm may be required to accept correctly with a certain probability. The code alone may not make that property obvious; it must be proved.

A useful informal distinction is:

  • Syntactic classes have an effective enumeration of valid machines or descriptions.
  • Semantic classes generally do not have such a straightforward recursive enumeration.

This difference helps explain why syntactic classes often have complete problems. If all valid machines can be effectively listed, one can construct a universal problem that simulates the listed machines.

For semantic classes, completeness is much less automatic.


13. Proof Systems for Tautologies and Optimality

A proof system for tautologies is complete and sound as described earlier. Proof systems can be compared by polynomial simulation.

A proof system PPP polynomially simulates a proof system QQQ if every proof in QQQ can be transformed into a proof in PPP with only polynomial overhead.

An optimal proof system would polynomially simulate every other proof system.

The existence of an optimal proof system is an open and very strong question. The conjecture that no optimal proof system exists is connected to the idea that the soundness of all proof systems cannot be uniformly established in one consistent theory.

This would mean that no single proof framework captures all possible efficient ways of proving tautologies.

The conjecture is stronger than merely asserting that some tautologies require long proofs. It says there is no universally dominant proof system that efficiently represents every other proof system.


14. Disjoint NP Pairs

A disjoint NP pair consists of two languages AAA and BBB such that

A∈NP,B∈NP,A∩B=∅.A \in \mathrm{NP}, \qquad B \in \mathrm{NP}, \qquad A \cap B = \varnothing.A∈NP,B∈NP,A∩B=∅.

The disjointness condition is semantic. Even if both languages have short certificates for membership, their descriptions may not make it easy to prove that no input belongs to both.

One can define reductions between disjoint pairs by mapping the first language to the first language and the second language to the second language of another pair.

A pair is complete if every other disjoint NP pair reduces to it.

The conjecture that there is no complete disjoint NP pair is related to the conjecture about optimal propositional proof systems. The connection is made through canonical pairs.

Canonical pairs of proof systems

Given a proof system PPP, its canonical pair contains:

  • formulas that have short PPP-refutations, together with a bound on the proof length;
  • formulas that are satisfiable, represented in a suitably padded form.

If proof system PPP simulates proof system QQQ, then the canonical pair associated with QQQ reduces to the canonical pair associated with PPP.

Therefore, a complete disjoint NP pair would lead to an optimal proof system. This gives a bridge between:

  • proof-system strength,
  • reductions among disjoint language pairs,
  • and the existence of complete problems.

15. Total Search Problems in TFNP

The class TFNP consists of total function problems in NP.

A problem is represented by a polynomial-time decidable relation R(x,y)R(x,y)R(x,y) together with a polynomial bound ensuring that, for every input xxx, there exists a polynomially bounded witness yyy satisfying

R(x,y).R(x,y).R(x,y).

The computational task is:

Given xxx, find a witness yyy such that R(x,y)R(x,y)R(x,y) holds.

The word “total” means that a valid witness is guaranteed to exist for every input.

The relation itself may be easy to check, while the guarantee that a witness always exists may be difficult to prove. Thus, membership in TFNP has a semantic aspect.

Example: factoring

Factoring can be formulated as a total search problem: given a composite number, find a nontrivial factor. The existence of a factor is guaranteed, and checking that a proposed factor is correct is efficient.

It is widely believed that factoring is not solvable in polynomial time, although this is not known unconditionally.

Completeness in TFNP

The conjecture that TFNP has no complete problem is much stronger than the claim that at least one TFNP problem is not solvable in polynomial time.

A complete TFNP problem would be a universal total search problem to which every other total search problem reduces. Such a problem would occupy a role analogous to SAT for NP.

The absence of a complete problem is connected to the increasing strength of theories of arithmetic. Stronger theories can prove totality for more and more computational problems, suggesting that no single total search problem should capture all of TFNP.


16. Disjoint coNP Pairs and the Web of Conjectures

There is a parallel notion involving pairs of disjoint languages in coNP.

The conjectures concerning

  • tautologies and proof systems,
  • disjoint NP pairs,
  • TFNP,
  • disjoint coNP pairs,
  • and SAT proof systems

form a network of implications.

Some implications are straightforward, while others require technical arguments such as relativization. It is not known whether all the branches are genuinely distinct.

The overall picture is that several apparently different questions ask a common structural question:

Does a broad semantic class have a single complete problem or a single optimal proof system?

The conjectured negative answers suggest that complexity classes and proof systems may form genuinely open-ended hierarchies rather than collapsing around one universal complete object.


17. SAT Proof Systems

SAT asks whether a Boolean formula has at least one satisfying assignment.

A proof system for SAT consists of efficiently verifiable evidence that a formula is satisfiable. The most direct proof is simply a satisfying assignment.

This gives a polynomially bounded proof system:

  • the certificate is the assignment;
  • its length is linear in the number of variables;
  • verification is efficient.

This contrasts with tautologies, where one may believe that no polynomially bounded proof system exists.

Adding factoring-based evidence

One can construct stronger SAT proof systems by allowing additional forms of evidence. For example, a proof may contain either:

  • an ordinary satisfying assignment, or
  • a factorization certificate for a formula encoding a composite number.

If factoring is hard, then the ordinary assignment system may fail to polynomially simulate this augmented system. Otherwise, a short simulation could extract information that would effectively solve the hard factoring task.

Connection to quantified tautologies

A formula φ\varphiφ is satisfiable precisely when its existential closure is true:

∃x φ(x).\exists x \, \varphi(x).∃xφ(x).

Thus, SAT proofs can be related to proof systems for quantified tautologies. Witnessing theorems can then imply that a standard satisfying-assignment system polynomially simulates certain other systems.

The broad principle is:

When a proof system has a strong witnessing theorem, proofs can often be converted into explicit satisfying assignments, showing that the standard SAT proof system simulates it.

If SAT had an optimal proof system, then one could derive a complete problem for TFNP. Therefore, the conjecture that TFNP has no complete problem implies the conjecture that SAT has no optimal proof system.


18. Independence from Mathematical Theories

The next question moves from proof systems for formulas to proof systems for mathematics itself:

Could P≠NP\mathrm{P} \ne \mathrm{NP}P=NP be independent of a familiar mathematical theory?

A statement is independent of a theory TTT if TTT proves neither the statement nor its negation.

Gödel’s incompleteness theorem guarantees that sufficiently strong consistent theories have independent statements. For example, the consistency of a theory is generally not provable within that same theory.

The deeper question is whether an important mathematical statement about finite computation—such as P≠NP\mathrm{P} \ne \mathrm{NP}P=NP—could be independent of a theory such as Peano arithmetic or set theory.


19. Peano Arithmetic and Set Theory

Peano arithmetic, abbreviated PA, formalizes arithmetic over the natural numbers using addition, multiplication, induction, and related principles.

ZFC is a set theory that can discuss arbitrary sets, including infinite sets. It is stronger than PA in the sense that it can prove additional statements about natural numbers, including the consistency of PA, assuming ZFC itself is consistent.

Many familiar independence results in set theory concern infinite objects. The continuum hypothesis is a classic example.

However, P\mathrm{P}P versus NP\mathrm{NP}NP is a finitary statement. It can be expressed using quantification over finite machine descriptions, finite inputs, and finite computations. It does not fundamentally require arbitrary infinite sets.

This creates a major obstacle:

  • The standard techniques for proving independence in set theory are designed to alter the behavior of infinite sets.
  • They do not directly alter the truth of purely finitary statements about natural numbers.

Therefore, the ordinary methods used to prove independence from ZFC do not appear capable of proving that P≠NP\mathrm{P} \ne \mathrm{NP}P=NP is independent of ZFC.


20. Finitary Independence Results

Although set-theoretic independence techniques do not directly settle finitary questions, there are genuine finitary statements independent of PA.

Paris–Harrington

The Paris–Harrington principle is a strengthened version of a finite Ramsey theorem.

Ramsey theory guarantees the existence of a large homogeneous subset under suitable conditions. The strengthened principle adds a largeness requirement: the homogeneous set must also be larger than its smallest element.

This extra condition seems modest, but Paris and Harrington proved that:

  • the principle is true;
  • it is provable in ordinary set theory;
  • it is not provable in PA.

The Hydra phenomenon

Another example concerns the Hydra game. A player repeatedly cuts heads from a finite tree-like structure, but the Hydra grows new heads according to rules that can cause enormous expansion.

Although every such finite Hydra can eventually be defeated, the required number of steps can grow extraordinarily quickly. The statement that every Hydra eventually dies is provable in stronger mathematics but not in PA.

These examples show that a statement can involve only finite objects and still exceed the proving power of PA.

This gives some hope that a computational statement might also be independent of PA. However, the fact that a statement has a similar logical form is not enough; a much deeper connection is required.


Think About It

Why does the finitary nature of P\mathrm{P}P versus NP\mathrm{NP}NP make standard set-theoretic independence methods poorly suited to it?


21. Fast-Growing Functions and Provability

The connection between independence and computation can be studied using extremely fast-growing functions.

A hierarchy of functions can be defined by repeatedly composing functions. At successor stages, one applies the previous function many times; at limit stages, one uses a sequence of earlier stages approaching the limit.

Such hierarchies include functions growing far faster than familiar exponentials. The Ackermann function appears early in this hierarchy, and still faster functions arise beyond it.

A particularly important ordinal in this context is ε0\varepsilon_0ε0​, the first ordinal satisfying

ωε0=ε0.\omega^{\varepsilon_0} = \varepsilon_0.ωε0​=ε0​.

The corresponding fast-growing function is far beyond ordinary primitive recursive growth.

A classical result says, roughly, that the provably recursive functions of PA are dominated by functions from below the ε0\varepsilon_0ε0​ level of the hierarchy. Thus, if a function grows faster than every function that PA can prove total, PA cannot prove that the faster function is total.

This is the mechanism behind many independence proofs:

  1. Define a finite combinatorial function.
  2. Show that it grows extremely quickly.
  3. Show that its totality would require a function beyond PA’s provable growth range.
  4. Conclude that PA cannot prove the relevant theorem.

The Ramsey numbers in the Paris–Harrington argument provide one example of this method.


22. Measuring How Close SAT Is to Polynomial Time

To connect fast-growing functions with computational complexity, consider an enumeration of polynomial-time machines:

M1,M2,M3,…M_1, M_2, M_3, \ldotsM1​,M2​,M3​,…

For each index iii, ask how long machine MiM_iMi​ correctly computes SAT before making its first error. Define an approximation function R(i)R(i)R(i) that measures the greatest initial segment on which the first iii machines correctly agree with SAT.

Informally:

  • a small value of R(i)R(i)R(i) means the first iii machines fail quickly;
  • a large value of R(i)R(i)R(i) means at least one of the first iii machines correctly handles SAT on a long initial segment.

The function RRR is total exactly when SAT is not in P. If SAT were computed correctly by some polynomial-time machine, then for that machine the first failure would never occur.

The growth rate of RRR measures how close SAT is to P:

  • If RRR grows slowly, polynomial-time machines fail relatively soon.
  • If RRR grows very quickly, some polynomial-time machines correctly solve SAT on extremely long finite ranges.

This turns the vague statement “SAT is almost in P” into a quantitative one.


23. Almost-Polynomial Algorithms

An almost-polynomial running time can be written as

ng(n),n^{g(n)},ng(n),

where g(n)g(n)g(n) grows extremely slowly.

If g(n)g(n)g(n) were a fixed constant, the algorithm would be polynomial-time. If g(n)g(n)g(n) grows slowly enough, the running time can remain close to polynomial for very large ranges of input sizes.

The inverse of a fast-growing function provides such a slowly growing exponent. If RRR grows extremely quickly, then R−1R^{-1}R−1 grows extremely slowly. This leads to a running time of the form

nR−1(n)n^{R^{-1}(n)}nR−1(n)

or, depending on the precise encoding and bounds, a closely related expression such as

nlog⁡G(n).n^{\log G(n)}.nlogG(n).

The key idea is not the exact formula but the relationship:

Very fast approximation of SAT by polynomial-time machines corresponds to an almost-polynomial algorithm for SAT.

Thus, the degree to which SAT can be approximated by increasingly many polynomial-time machines determines how close SAT is to P in a quantitative sense.


24. Provably Recursive Functions and PA

A function is provably recursive in a theory if the theory proves that a particular algorithm computes that function correctly for every input.

The fast-growing hierarchy tells us how powerful PA is in this respect. Every function below the relevant ε0\varepsilon_0ε0​ boundary is provably total in PA, while functions growing beyond that boundary are not provably total there.

This yields a connection between computational approximation and logical provability:

  • If SAT is approximated extremely well by polynomial-time machines, then the separation P≠NP\mathrm{P} \ne \mathrm{NP}P=NP may require a function whose growth exceeds PA’s provable range.
  • In that case, PA may be unable to prove P≠NP\mathrm{P} \ne \mathrm{NP}P=NP.

The result is conditional. It does not establish that PA cannot prove P≠NP\mathrm{P} \ne \mathrm{NP}P=NP. Instead, it says that if SAT has an almost-polynomial algorithm of a sufficiently strong kind, then PA cannot prove the separation.


25. The Stronger Theory PA1\mathrm{PA}_1PA1​

A stronger theory, denoted in the source by PA1\mathrm{PA}_1PA1​, is obtained by adding all true Π1\Pi_1Π1​ statements to PA.

A Π1\Pi_1Π1​ statement has the general form

∀x φ(x),\forall x \, \varphi(x),∀xφ(x),

where φ\varphiφ is decidable or has only bounded quantification.

The theory PA1\mathrm{PA}_1PA1​ is not recursively enumerable, so it is not an ordinary effectively axiomatized theory. Nevertheless, it is useful for analyzing representation-independent questions about computation.

For example, it can prove that two different descriptions compute the same function when that equivalence is true. This makes it a natural theory for studying whether computational behavior depends on the chosen representation of an algorithm.

A key result is that PA1\mathrm{PA}_1PA1​ proves P≠NP\mathrm{P} \ne \mathrm{NP}P=NP exactly when SAT is not too close to P in the approximation sense described above.

Equivalently:

  • If SAT has a sufficiently strong almost-polynomial algorithm, then PA1\mathrm{PA}_1PA1​ cannot prove P≠NP\mathrm{P} \ne \mathrm{NP}P=NP.
  • If SAT is sufficiently far from P, then PA1\mathrm{PA}_1PA1​ can prove the separation.

This gives an “if and only if” relationship between a logical question and a quantitative computational question.


26. Why This Does Not Yet Establish Independence from PA

One might hope to use the result about PA1\mathrm{PA}_1PA1​ to prove that P≠NP\mathrm{P} \ne \mathrm{NP}P=NP is independent of PA. But an important obstacle remains.

The known general methods for showing independence from PA often cannot distinguish PA from PA1\mathrm{PA}_1PA1​. A construction designed to produce a model satisfying the relevant Π1\Pi_1Π1​ truths may preserve the entire Π1\Pi_1Π1​ theory.

Therefore, if a method shows that PA cannot prove P≠NP\mathrm{P} \ne \mathrm{NP}P=NP, it may also show that PA1\mathrm{PA}_1PA1​ cannot prove it. But the theorem above says that failure in PA1\mathrm{PA}_1PA1​ already implies an almost-polynomial algorithm for SAT.

Consequently, proving independence of P≠NP\mathrm{P} \ne \mathrm{NP}P=NP by currently understood methods would require obtaining an almost-polynomial algorithm for SAT. The logical problem is therefore at least as difficult as a major computational breakthrough.

This is the central conclusion:

Showing that a strong theory cannot prove P≠NP\mathrm{P} \ne \mathrm{NP}P=NP is not an easier substitute for solving SAT. Under the stated framework, it would require essentially the same kind of computational progress.


27. Broader Consequences

The same style of reasoning applies to other complexity questions.

If P≠NP\mathrm{P} \ne \mathrm{NP}P=NP were independent of PA, then related conclusions could follow about cryptographic objects such as one-way functions. For example, sufficiently strong independence results might imply that certain one-way functions cannot exist under the corresponding assumptions.

However, these conclusions remain conditional and depend on the exact proof system, theory, and computational approximation being considered.

The main lesson is methodological:

  • Complexity theory studies whether efficient algorithms exist.
  • Proof complexity studies whether efficient proofs exist.
  • Metamathematics studies whether a theory can prove the relevant statements.
  • Fast-growing functions connect the strength of theories to the quantitative difficulty of computational problems.

These are not separate subjects. They provide different views of the same underlying question: how much finite computational structure can a formal system recognize and explain?


Comprehensive Review

The material develops a progression from ordinary circuit lower bounds to the logical limits of proving complexity separations.

  1. Circuit counting shows that almost all Boolean functions require exponential-size circuits because the number of truth tables, 22n2^{2^n}22n, vastly exceeds the number of small circuits. This establishes existence but not explicitness.

  2. Diagonalization provides a major barrier. Oracle constructions show that relativizing arguments cannot resolve P\mathrm{P}P versus NP\mathrm{NP}NP.

  3. Natural proofs formalize a different barrier. A property that is efficiently recognizable from a truth table and true for many functions cannot, under cryptographic assumptions, establish strong lower bounds against general circuits.

  4. Bounded arithmetic provides a formal setting designed to capture feasible computation. Witnessing theorems connect existential proofs with polynomial-time algorithms.

  5. Propositional proof complexity translates finite arithmetic claims into proof systems such as resolution, polynomial calculus, Frege, and extended Frege. Feasible interpolation shows how some proofs can yield efficient circuits, but this extraction method fails for stronger systems.

  6. Pseudorandom-generator formulas are proposed as a way to study hardness for stronger proof systems. The idea is that a proof system should not be able to identify specific strings outside the image of a reasonable pseudorandom generator.

  7. Semantic classes are defined by properties that must be proved rather than by easily recognizable machine descriptions. This makes complete problems less automatic than in syntactic classes.

  8. Conjectures about optimal proof systems, disjoint NP pairs, TFNP, and SAT express the possibility that no single proof system or complete problem captures all efficient proofs or total search problems.

  9. Independence questions ask whether P≠NP\mathrm{P} \ne \mathrm{NP}P=NP might be unprovable in theories such as PA or ZFC. Standard set-theoretic independence methods do not directly handle this finitary statement.

  10. Fast-growing functions provide the bridge between computation and provability. If SAT is approximated sufficiently well by polynomial-time algorithms, it may have an almost-polynomial algorithm, and strong theories may fail to prove P≠NP\mathrm{P} \ne \mathrm{NP}P=NP.

  11. The deepest conclusion is that proving logical independence of P≠NP\mathrm{P} \ne \mathrm{NP}P=NP is not obviously easier than solving a major computational problem. In the framework described, such an independence result would itself imply a highly efficient, almost-polynomial algorithm for SAT.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent