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

Barriers, Proof Complexity, and Independence in Computational Complexity

These talks examine why major complexity-theoretic questions—especially PPP versus NPNPNP and circuit lower bounds—are difficult. The central themes are:

  • Counting limitations: Many lower bounds rely on counting enormous collections of Boolean functions.

  • Proof-system limitations: A proof method may be unable to establish a statement even when the statement is true.

  • Semantic versus syntactic classes: Some computational classes have naturally complete problems, while others may not.

  • Independence: A statement may be undecidable within a formal theory such as Peano arithmetic or set theory.

  • Fast-growing functions: The rate at which certain functions grow can measure how close a hard problem is to an easier complexity class and can determine whether a theory can prove relevant statements.


1. Circuit Complexity and the Difficulty of Lower Bounds

1.1 Three increasingly weak lower-bound questions

The usual PPP versus NPNPNP problem asks whether every problem whose solutions can be verified efficiently can also be solved efficiently:

P=NP  ?P = NP\;?P=NP?

A stronger related question asks whether every language in NPNPNP has polynomial-size Boolean circuits:

NP⊆P/poly  ?NP \subseteq P/\mathrm{poly}\;?NP⊆P/poly?

Here, P/polyP/\mathrm{poly}P/poly is the class of languages computed by polynomial-size circuits. It is a nonuniform analogue of polynomial-time computation: the circuit for inputs of length nnn may be chosen separately for each nnn.

One can weaken the question further:

  1. Are there explicit Boolean functions that are not in P/polyP/\mathrm{poly}P/poly?

  2. Are there any Boolean functions that require superpolynomial or exponential-size circuits?

The second question is known to have a positive answer. In fact, almost every Boolean function requires exponential-size circuits.

1.2 Almost all Boolean functions are hard

For a Boolean function fff on nnn variables, let C(f)C(f)C(f) denote the size of the smallest circuit computing fff in a fixed standard basis.

There are 2n2^n2n possible inputs, so the truth table of an nnn-variable Boolean function has length 2n2^n2n. Consequently, the number of possible Boolean functions is

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

The number of circuits of size at most sss is much smaller than this when sss is substantially below 2n2^n2n. A counting argument therefore shows that most functions cannot be computed by such circuits.

The key conclusion is:

Almost every Boolean function on nnn variables requires exponential circuit size.

This result originated with Shannon and was refined quantitatively by Lupanov.

The proof is conceptually simple: if the number of possible circuits is smaller than the number of Boolean functions, then some functions are not computed by any circuit in the chosen size range. However, the proof requires the ability to count extraordinarily large numbers—up to quantities on the order of

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

1.3 Counting as a dividing line

A central principle is:

What a proof system can establish depends strongly on how large a number it can represent and count up to.

There is an important distinction between:

  • Counting up to numbers that are merely exponential in nnn, such as 2poly(n)2^{\mathrm{poly}(n)}2poly(n).

  • Counting up to the total number of Boolean functions, which is doubly exponential in nnn.

Many familiar circuit lower bounds use only the first kind of counting. The general Shannon argument uses the second.

This distinction motivates the search for proof systems that:

  • Can formalize standard circuit-complexity arguments.

  • Cannot simply reproduce the full Shannon counting argument.

  • Are still mathematically natural and strong enough to be relevant.


2. Proof Systems and Barrier Results

2.1 Proof theory in a broad sense

A proof system need not be only a traditional first-order theory consisting of axioms and inference rules. In this context, a proof system can mean any rigorously specified family of methods used to establish complexity statements.

Examples include:

  • Formal theories such as bounded arithmetic.

  • Propositional proof systems such as resolution or Frege.

  • Methodological restrictions such as relativizing proofs.

  • Complexity-theoretic techniques such as natural proofs.

The goal is to understand what a given proof framework can and cannot prove.

2.2 Why study barriers?

There are several motivations for proving limitations of proof methods:

  • Mathematical interest: Independence and incompleteness are central themes in logic.

  • Research guidance: Showing that a technique cannot work may redirect effort toward more promising approaches.

  • Understanding difficulty: If a problem resists many methods, identifying the common limitation explains why.

  • Unexpected applications: Techniques developed to understand barriers may later produce useful mathematics or algorithms.

A barrier result is not a proof that a problem is impossible. It shows only that a particular style of argument cannot solve the problem.


3. The Diagonalization and Relativization Barrier

3.1 Relativized computation

A relativized complexity statement is one that remains valid when all machines are given access to an arbitrary oracle.

A proof method is said to relativize if the same argument works uniformly relative to every oracle.

The Baker–Gill–Solovay theorem established that there are oracles AAA and BBB such that:

PA=NPAP^A = NP^APA=NPA

while

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

Therefore, any proof technique that relativizes cannot resolve the unrelativized question PPP versus NPNPNP. If such a proof established P≠NPP \ne NPP=NP, it would also establish the corresponding separation relative to every oracle, contradicting the existence of the oracle AAA.

3.2 Relativization as a proof system

Relativization can be viewed as a formally defined proof system:

A complexity result is accepted only if it remains true in every oracle world.

This interpretation broadens the concept of proof system beyond ordinary formal theories. The Baker–Gill–Solovay result was an early example of a barrier theorem: a natural and widely used method is insufficient for resolving a central open problem.


4. Natural Proofs

4.1 The basic idea

A conventional approach to proving circuit lower bounds is:

  1. Study the particular Boolean function of interest.

  2. Identify a property that the function has.

  3. Show that small circuits lack this property.

Natural proofs reverse this emphasis. Instead of focusing narrowly on one explicit function, they identify a large collection of Boolean functions for which the same argument works.

For each input length nnn, let Pn\mathcal{P}_nPn​ be a set of Boolean functions satisfying the proposed property.

A natural proof generally requires three features.

4.2 Constructivity

The property must be efficiently recognizable. Given the truth table of a Boolean function, it should be possible to determine whether the function lies in Pn\mathcal{P}_nPn​ in time polynomial in the truth-table length.

Since the truth table has length 2n2^n2n, “polynomial time” here means time polynomial in 2n2^n2n, not necessarily polynomial in nnn.

This condition prevents the proof from hiding an enormous counting argument inside the definition of the property.

4.3 Largeness

The property must hold for many Boolean functions. Informally, Pn\mathcal{P}_nPn​ must have sufficiently large density among all nnn-variable functions.

Usually, the property applies to nearly all functions, or at least to a substantial fraction of them.

This condition ensures that the argument is not specially tailored to one function.

4.4 Usefulness against circuits

The property must distinguish hard functions from small circuits. In particular:

  • Many functions must have the property.

  • No function computed by sufficiently small circuits may have the property.

If both conditions hold, then any function in Pn\mathcal{P}_nPn​ requires large circuits.

4.5 Why natural proofs cannot establish general circuit lower bounds

Razborov and Rudich showed that, assuming standard cryptographic pseudorandom functions exist, no natural proof can establish strong lower bounds against general circuits.

The intuition is that a natural property is:

  • Efficiently recognizable.

  • Shared by many functions.

  • Able to distinguish small circuits from random functions.

But a secure pseudorandom function is specifically designed to look random to every efficient test. Therefore, an efficient large property that separates small circuits from random functions would distinguish a pseudorandom function from a truly random function, contradicting cryptographic security.

The main conclusion is:

Under standard cryptographic assumptions, natural proofs cannot prove strong circuit lower bounds against general circuits.

This result is a barrier, not a claim that circuit lower bounds are impossible. It indicates that successful lower bounds must avoid at least one of the defining features of natural proofs.

4.6 The minimum circuit size problem

The minimum circuit size problem asks whether a given Boolean function, represented by its truth table, has a circuit of size at most a specified bound.

It can be viewed as the set of truth tables corresponding to functions with small circuits.

Natural proofs can be formulated in terms of this problem: a natural property is an efficiently recognizable, large set of truth tables that avoids all small-circuit functions.

The study of this problem has become important in complexity theory because it connects:

  • Circuit lower bounds.

  • Pseudorandomness.

  • Cryptographic security.

  • The limitations of efficient distinguishers.


5. Bounded Arithmetic as a Formal Framework

5.1 What bounded arithmetic studies

Bounded arithmetic consists of fragments of Peano arithmetic in which quantifiers are restricted by explicit bounds. For example, a bounded existential quantifier has the form

∃x<t(y) φ(x,y),\exists x < t(y)\,\varphi(x,y),∃x<t(y)φ(x,y),

where t(y)t(y)t(y) is a term bounding the possible values of xxx.

These theories are designed to formalize computationally feasible reasoning. The hierarchy of bounded arithmetic theories closely reflects the hierarchy of computational complexity classes.

A key theory discussed is S21S^1_2S21​, a fragment associated with polynomial-time reasoning.

5.2 The significance of witnessing theorems

A witnessing theorem states, roughly, that if a theory such as S21S^1_2S21​ proves a suitably existential statement, then the witness can be computed by a polynomial-time function.

This creates a correspondence:

  • Formal proof in bounded arithmetic corresponds to

  • Efficient computational construction of a witness.

For example, if a theory proves that for every input xxx there exists a witness yyy satisfying a simple predicate, then a polynomial-time algorithm may be extracted that computes such a yyy.

This relationship is valuable because it connects:

  • The syntactic structure of proofs.

  • The computational complexity of functions.

  • The metamathematics of bounded arithmetic.

5.3 Formalizing circuit lower bounds

A statement asserting that there exists a hard Boolean function can be formalized inside bounded arithmetic. A typical form is:

∃fn  such that no circuit of the specified size computes fn.\exists f_n\;\text{such that no circuit of the specified size computes }f_n.∃fn​such that no circuit of the specified size computes fn​.

The use of an appropriately bounded circuit-size function avoids trivialities and makes the statement expressible in the chosen theory.

For restricted circuit classes, these lower bounds can often be proved straightforwardly in weak systems. The challenge is to prove analogous statements for general circuits without relying on excessively powerful counting.


6. From Bounded Arithmetic to Propositional Proof Complexity

6.1 The translation

Statements in bounded arithmetic can often be translated into propositional formulas. Quantifier-free or sharply bounded formulas can be represented propositionally, with the Boolean variables encoding computational objects such as:

  • Truth tables.

  • Circuit descriptions.

  • Candidate witnesses.

  • Computation histories.

This creates a chain of correspondences:

  • A proof in bounded arithmetic.

  • A propositional proof of a related formula.

  • A possible computational object extracted from that propositional proof.

For example, S21S^1_2S21​ is closely related to the propositional proof system known as extended Frege.

6.2 The missing fourth arrow

There are several well-understood relationships:

  1. Bounded arithmetic theories correspond to uniform complexity classes.

  2. Their formulas can be translated into propositional formulas.

  3. Propositional proof systems correspond to nonuniform computational models.

The difficult missing connection is:

Given a propositional proof of a statement about computation, can one efficiently extract meaningful computational content from that proof?

Such an extraction would allow researchers to turn a proof into an algorithm, circuit, or other computational object and then apply complexity-theoretic knowledge.

6.3 Feasible interpolation

Feasible interpolation is a successful example of computational content extraction from propositional proofs.

Suppose a proof establishes an implication of the form

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

where xxx and yyy belong to different parts of the formula. Feasible interpolation can produce an efficiently computable function separating the two sides.

For certain proof systems, this gives lower bounds: if an efficient interpolant would solve a computationally hard problem, then short proofs cannot exist.

However, feasible interpolation does not extend to sufficiently strong systems, including systems closely related to extended Frege. This is one reason stronger proof systems remain difficult to analyze.


7. Pseudorandom Generators as Candidates for Hard Propositional Statements

7.1 The generator-based idea

A pseudorandom generator is a function

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

with N>mN>mN>m that stretches a short seed into a longer output that appears random.

Examples include generators based on:

  • One-way functions.

  • General constructions such as those associated with Micali, Goldwasser, and Rackoff.

  • The Nisan–Wigderson construction.

Because the generator has only 2m2^m2m possible outputs but the range has 2N2^N2N strings, most strings are not in the image of GGG.

One may therefore consider formulas asserting:

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

meaning that no seed produces the particular string BBB.

7.2 Why these statements may be hard

For almost every output string BBB, the statement B∉Im⁡(G)B\notin\operatorname{Im}(G)B∈/Im(G) is true. Yet identifying or proving this fact may be difficult for a weak propositional proof system.

The proposed intuition is:

  • A proof system should not be able to efficiently identify particular strings outside the generator’s image.

  • If it could do so broadly, it might distinguish pseudorandom outputs from truly random strings.

  • Therefore, pseudorandomness may provide hard tautologies or hard propositional statements.

This approach attempts to provide the missing computational-content arrow: propositional proof hardness would be connected to pseudorandomness and circuit complexity.

7.3 The main conjecture

A central conjecture is that Nisan–Wigderson generator non-image statements are hard for strong propositional systems, especially extended Frege.

Informally:

For a suitable Nisan–Wigderson generator, formulas asserting that specific strings are not in its image should require long proofs in extended Frege.

This conjecture has remained open for many years.

7.4 Known partial results

Related hardness results are known for weaker systems, including:

  • Resolution.

  • Regular resolution.

  • Polynomial calculus.

  • Certain restricted proof systems.

However, the known results do not yet reach the parameter ranges needed for the strongest general conjectures. Iterating the generator can improve some bounds, and work associated with Krajíček provides stronger results for certain systems, but a general resolution of the extended-Frege conjecture remains unavailable.

Other major open cases include:

  • Cutting planes.

  • Sum-of-squares systems.

  • Bounded-depth Frege.


8. Semantic and Syntactic Complexity Classes

8.1 Syntactic classes

A syntactic class is one whose membership can be recognized directly from the description of a machine, algorithm, proof, or computation.

For example, polynomial time can be treated syntactically by requiring an algorithm to contain an explicit clock that forces it to halt within a specified polynomial bound.

The machines in such a class can generally be effectively enumerated. This enumeration often supports diagonalization and the construction of complete problems.

8.2 Semantic classes

A semantic class is defined by a property that must be proved about the object, rather than read directly from its description.

Examples include:

  • A randomized algorithm that succeeds with a specified probability.

  • A pair of sets that must be shown to be disjoint.

  • A relation that must be proved total.

  • A proof system that must be proved sound.

The difficulty is that the defining property may not be decidable from the machine description. There may be no recursive enumeration of all machines satisfying the semantic condition.

Consequently, semantic classes often lack complete problems, although proving the nonexistence of complete problems is itself difficult.


9. Proof Systems for Tautologies

9.1 Completeness and soundness

A propositional proof system for tautologies must satisfy two conditions:

  • Completeness: Every tautology has a proof.

  • Soundness: Every formula with a proof is actually a tautology.

Completeness can often be obtained by embedding a known complete proof system, such as resolution. Soundness is more difficult because it requires proving that the system never proves a false statement.

9.2 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 increase in length.

A proof system is optimal if it polynomially simulates every other proof system.

The conjecture is:

There is no optimal propositional proof system for tautologies.

This is a strong conjecture. In particular, it implies that certain exponential-time and nondeterministic exponential-time classes differ, making it substantially stronger than the ordinary conjecture P≠NPP\ne NPP=NP.

9.3 Logical formulation

The nonexistence of an optimal proof system can be expressed metamathematically:

There is no single consistent formal theory that proves the soundness of every propositional proof system.

The exact formulation must account for how proof systems are encoded, but the conceptual connection is that a universal proof system would provide a uniform way to verify the soundness of all systems.


10. Disjoint NP Pairs

10.1 Definition

A disjoint NP pair is a pair (A,B)(A,B)(A,B) of languages such that:

  • A∈NPA\in NPA∈NP.

  • B∈NPB\in NPB∈NP.

  • A∩B=∅A\cap B=\varnothingA∩B=∅.

The disjointness condition is semantic. Merely describing two NP machines does not generally reveal whether their accepted languages are disjoint.

Some pairs are trivially disjoint—for example, if every string in AAA begins with 000 and every string in BBB begins with 111. In general, however, proving disjointness may be difficult.

10.2 Complete disjoint NP pairs

Polynomial reductions can be defined between disjoint NP pairs. A pair (A,B)(A,B)(A,B) reduces to (C,D)(C,D)(C,D) if the reduction maps:

  • AAA into CCC.

  • BBB into DDD.

The conjecture is:

There is no complete disjoint NP pair.

This is equivalent in spirit to the claim that no consistent theory proves the disjointness of every disjoint NP pair, provided the encodings and formalizations are handled appropriately.


11. Canonical Pairs of Proof Systems

Given a propositional proof system PPP, one can associate a canonical pair consisting roughly of:

  • Formulas having short refutations in PPP.

  • Satisfiable formulas, with suitable padding to make the definitions fit the complexity framework.

The pair captures the strength of PPP.

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

This yields an important implication:

If a complete disjoint NP pair does not exist, then there is no optimal propositional proof system.

Canonical pairs therefore connect:

  • Proof-system simulation.

  • Disjoint NP pairs.

  • The existence or nonexistence of complete problems in semantic classes.


12. Total Search Problems in TFNP

12.1 Definition of TFNP

A problem belongs to TFNP—total function NP—if it is specified by a polynomial-time decidable relation R(x,y)R(x,y)R(x,y) satisfying:

  1. For every input xxx, there exists at least one witness yyy such that R(x,y)R(x,y)R(x,y) holds.

  2. The witness length is bounded by a polynomial in the input length.

The associated search problem is:

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

The defining totality condition is semantic. Given an algorithm for RRR, one cannot necessarily determine whether every input has a valid witness.

12.2 Reductions in TFNP

A many-one reduction from a total search problem RRR to another problem R′R'R′ uses polynomial-time functions FFF and GGG such that:

  1. The original instance xxx is transformed into F(x)F(x)F(x).

  2. A solution y′y'y′ to F(x)F(x)F(x) under R′R'R′ is transformed into a solution G(x,y′)G(x,y')G(x,y′) for xxx under RRR.

Turing reductions are also possible, using an oracle for the second search problem.

12.3 Factoring as an example

Integer factoring is a natural TFNP problem:

  • The input is an integer NNN.

  • A witness is a nontrivial factorization of NNN.

  • The witness can be verified efficiently.

  • A factorization exists for every composite input.

If factoring is computationally hard, then TFNP contains problems not solvable in polynomial time.

However, the stronger conjecture is:

TFNP has no complete problem.

This is much stronger than merely asserting that some TFNP problem is hard.

12.4 Why the conjecture is plausible

The conjecture resembles the behavior of provably total computable functions in formal theories.

As theories become stronger:

  • They prove totality for increasingly complex functions.

  • No single weak theory necessarily captures all total functions.

  • The collection of provably total functions can form a genuine hierarchy.

TFNP has a similar structure: increasingly strong methods may establish totality for increasingly broad families of search problems, without there being one complete problem for all of TFNP.


13. Disjoint coNP Pairs and the Conjecture Structure

The analogous class involving coNP is the class of disjoint coNP pairs.

The conjecture that there is no complete disjoint coNP pair is connected to the TFNP conjecture in much the same way that disjoint NP pairs are connected to propositional proof systems.

The resulting picture contains several related but distinct branches:

  • Tautologies and disjoint NP pairs.

  • TFNP and disjoint coNP pairs.

  • SAT and proof systems for satisfiability.

These branches are related by reductions and logical interpretations, but it is not known whether all of the corresponding conjectures are equivalent. Relativization results show that some distinctions persist in oracle worlds, although the relationships can be technically complicated.


14. Proof Systems for SAT

14.1 Why SAT differs from tautology proving

A proof system for a tautology certifies that a formula is unsatisfiable. A proof system for SAT instead provides evidence that a formula is satisfiable.

The most direct proof system for SAT is:

A satisfying assignment itself is a proof.

This system is polynomially bounded because a satisfying assignment has length polynomial in the formula size and can be checked efficiently.

This contrasts with tautologies, where no analogous universally short certificate is known.

14.2 Stronger SAT proof systems

A SAT proof system can augment satisfying assignments with additional forms of evidence. For example, if a formula encodes the assertion that an integer NNN is composite, then a factor of NNN may serve as an alternative proof.

This creates a proof system that accepts:

  • A satisfying assignment, or

  • An appropriate factorization witness.

If factoring is hard, the ordinary satisfying-assignment proof system cannot polynomially simulate this augmented system. Otherwise, the simulation could convert the additional factoring-based proof into an efficiently recoverable satisfying assignment, contradicting the assumed hardness of factoring.

14.3 The quantified-tautology connection

A formula φ\varphiφ is satisfiable precisely when the existentially quantified statement

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

is true.

Thus, proof systems for quantified tautologies can induce proof systems for SAT. The witnessing theorem of Cook implies that, in settings where proofs yield efficient witnesses, the standard satisfying-assignment system can simulate the corresponding SAT proof system.

This gives the conjecture:

SAT has no optimal proof system.

If SAT had an optimal proof system, 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.


15. Independence from Formal Theories

15.1 What independence means

A statement SSS is independent of a theory TTT if neither SSS nor its negation can be proved in TTT.

Gödel’s incompleteness theorem shows that every sufficiently strong consistent formal theory has independent statements. The consistency statement for the theory itself is a standard example.

The more interesting question is whether natural mathematical or computational statements can be independent of theories such as:

  • Peano arithmetic.

  • Zermelo–Fraenkel set theory with the axiom of choice, usually denoted ZFC.

15.2 Strength of mathematical theories

There is a hierarchy of formal theories, including:

  • Bounded arithmetic.

  • Fragments of Peano arithmetic such as IΣ1I\Sigma_1IΣ1​.

  • Full Peano arithmetic.

  • Second-order arithmetic.

  • ZFC.

  • Stronger set theories with large-cardinal axioms.

Stronger theories prove more statements, at least assuming they are sound. In particular, ZFC can prove the consistency of Peano arithmetic, while Peano arithmetic cannot prove its own consistency.

The major question is whether stronger theories prove genuinely new statements about computational complexity, not merely new consistency statements.


16. Independence and Computational Complexity

16.1 Earlier independence results

There are independence results for oracle versions of complexity questions. Hopcroft and Hartmanis showed, using diagonalization, that for any sufficiently strong theory one can construct a Turing machine or oracle relative to which a complexity question is undecidable in that theory.

However, such results concern specially constructed oracle worlds rather than ordinary, unrelativized complexity.

Other limitations have been obtained for:

  • Weak fragments of arithmetic.

  • Relativizing proofs.

  • Natural proofs.

  • Algebraic proof methods.

The major unresolved question is whether an ordinary statement such as

P≠NPP\ne NPP=NP

could be independent of full set theory.

16.2 Why standard forcing does not settle PPP versus NPNPNP

Most known independence proofs for set theory use forcing or techniques modeled on forcing.

These methods are fundamentally suited to statements involving infinite sets, such as:

  • The continuum hypothesis.

  • Infinite combinatorics.

  • Cardinal arithmetic.

  • Topology and functional analysis.

By contrast, PPP versus NPNPNP is a finitary statement. It can be expressed entirely in terms of natural numbers, finite strings, and finite computations.

For example, P≠NPP\ne NPP=NP can be expressed as a statement quantifying over machine descriptions and finite inputs. The standard methods for independence from ZFC cannot establish independence for statements of this purely finite kind.

Therefore, the most plausible intermediate target is independence from Peano arithmetic rather than independence from full set theory.


17. Paris–Harrington, Hydra Games, and Finitary Independence

17.1 Paris–Harrington

The Paris–Harrington theorem strengthens Ramsey’s theorem by requiring the homogeneous set to satisfy an additional largeness condition. Roughly, the homogeneous set must be larger than its least element.

The strengthened theorem is:

  • True.

  • Provable in stronger theories such as ZFC.

  • Not provable in Peano arithmetic.

This is significant because it is a natural mathematical statement about finite objects that is independent of Peano arithmetic.

17.2 Hydra games

In the hydra game, Hercules repeatedly cuts heads from a finite tree. Each cut can cause the tree to grow in a more complicated way. Nevertheless, every finite hydra is eventually defeated.

The statement that every hydra battle eventually terminates is:

  • Finitary.

  • Provable in stronger theories.

  • Not provable in Peano arithmetic.

The reason is that the number of steps required can grow faster than any function whose totality Peano arithmetic can prove.

17.3 Syntactic similarity to P≠NPP\ne NPP=NP

The structure of these independence statements resembles the form of P≠NPP\ne NPP=NP.

A typical finite combinatorial statement has the form:

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

where φ\varphiφ contains only bounded or finitary conditions.

Likewise, a separation statement can be expressed roughly as:

∀M ∃x  (M(x) gives the wrong answer),\forall M\,\exists x\;\bigl(M(x)\text{ gives the wrong answer}\bigr),∀M∃x(M(x) gives the wrong answer),

where MMM ranges over polynomial-time machines and xxx is a finite counterexample.

This similarity suggests that methods used for Paris–Harrington or hydra termination might inspire independence results for complexity theory. The difficulty is that no such method is currently known for PPP versus NPNPNP.


18. Fast-Growing Functions and “Almost Polynomial” Time

18.1 Measuring closeness to polynomial time

Suppose SAT is not in polynomial time but can be solved in time

nf(n),n^{f(n)},nf(n),

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

Such an algorithm is not polynomial-time if f(n)f(n)f(n) is unbounded, but it may be viewed as almost polynomial-time because the exponent remains nearly constant over very long ranges of input lengths.

The slower f(n)f(n)f(n) grows, the closer the algorithm is to polynomial time.

18.2 Fast-growing hierarchies

Instead of describing very slowly growing functions directly, it is often easier to study their inverses.

A fast-growing hierarchy defines functions such as Fα(n)F_\alpha(n)Fα​(n) indexed by ordinals. The hierarchy begins with rapidly growing finite levels and continues through:

  • The Ackermann function, often associated with FωF_\omegaFω​.

  • Much faster functions indexed by larger ordinals.

  • The function indexed by ε0\varepsilon_0ε0​, a major ordinal satisfying

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

The precise hierarchy depends on the chosen formal definition, but the essential idea is that the functions grow extraordinarily quickly.

Their inverses therefore grow extraordinarily slowly and can serve as exponents in almost-polynomial running times.


19. Approximation Rates and the Distance of SAT from PPP

19.1 Defining an approximation function

Fix an enumeration of polynomial-time machines:

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

For a language LLL, define an approximation-rate function RL(i)R_L(i)RL​(i) by examining the first iii machines and asking how long each machine correctly computes LLL before making its first error.

Informally,

RL(i)R_L(i)RL​(i)

measures the longest initial segment on which one of the first iii machines correctly agrees with LLL.

The exact definition may take the maximum over the first iii machines of their first failure points.

19.2 Totality and nonmembership

The function RLR_LRL​ is total precisely when LLL is not in the enumerated class.

If LLL is computed correctly by some machine MjM_jMj​, then beyond the first failure point there is no failure for that machine. Consequently, the corresponding approximation measure does not remain finite in the same way.

Thus:

The totality of the approximation function characterizes nonmembership in the class.

19.3 Growth rate and computational closeness

The faster RLR_LRL​ grows, the closer LLL is to the class.

For SAT and polynomial-time machines:

  • A rapidly growing approximation function means that some polynomial-time machines correctly solve SAT on very long initial segments.

  • Its inverse grows slowly.

  • This yields a SAT algorithm with running time close to polynomial.

A typical relationship has the form:

SAT∈DTIME ⁣(nlog⁡G(n)),\mathrm{SAT}\in \mathrm{DTIME}\!\left(n^{\log G(n)}\right),SAT∈DTIME(nlogG(n)),

where GGG is a function dominating a suitable inverse or approximation bound. If GGG grows slowly, then log⁡G(n)\log G(n)logG(n) is nearly constant.

This gives a quantitative measure of how far SAT is from PPP.


20. Provably Recursive Functions and Peano Arithmetic

20.1 Provable totality

A function is provably recursive in a theory TTT if:

  1. There is an algorithm computing the function.

  2. The theory TTT proves that the algorithm halts and computes the correct output for every input.

Not every total computable function is provably total in a weak theory.

20.2 The fast-growing hierarchy and PA

A classical result associated with the fast-growing hierarchy states that Peano arithmetic proves the totality of functions below a certain growth threshold, roughly those indexed by ordinals below ε0\varepsilon_0ε0​.

Conversely, if a function grows faster than every function in this range, then Peano arithmetic cannot prove that it is total.

This explains the independence of the Paris–Harrington theorem and hydra termination: the associated combinatorial functions grow too quickly for Peano arithmetic to prove their totality.


21. The Independence Theorem for PPP Versus NPNPNP

21.1 One direction

If SAT can be solved in an almost-polynomial time determined by a sufficiently slowly growing function, then a given formal theory may be unable to prove that P≠NPP\ne NPP=NP.

The intuition is:

  1. The approximation rate of SAT by polynomial-time machines grows very rapidly.

  2. Its inverse therefore grows very slowly.

  3. SAT has an algorithm with running time whose exponent changes extremely slowly.

  4. The theory cannot prove the totality or growth properties needed to establish a strict separation between polynomial time and SAT.

Thus, an almost-polynomial SAT algorithm can imply nonprovability of P≠NPP\ne NPP=NP in the theory.

21.2 The converse for a stronger theory

For a stronger theory, obtained by adding all true Π1\Pi_1Π1​ statements to Peano arithmetic—often denoted PA1\mathrm{PA}_1PA1​ or PA+true Π1\mathrm{PA}+\mathrm{true}\ \Pi_1PA+true Π1​—the converse can also be shown.

Roughly:

If the stronger theory cannot prove P≠NPP\ne NPP=NP, then SAT must have an almost-polynomial-time algorithm.

Therefore, for this stronger theory, failure to prove the separation is equivalent to SAT being extremely close to polynomial time in the quantitative sense described above.

The result can be summarized as:

Theory cannot prove P≠NP⟺SAT has an almost-polynomial algorithm,\text{Theory cannot prove }P\ne NP \quad\Longleftrightarrow\quad \text{SAT has an almost-polynomial algorithm},Theory cannot prove P=NP⟺SAT has an almost-polynomial algorithm,

with the precise meaning of “almost polynomial” depending on the theory.

21.3 Why this matters

This result changes the perspective on independence research. Attempting to prove that P≠NPP\ne NPP=NP is independent of a sufficiently strong theory may be essentially as difficult as finding an almost-polynomial algorithm for SAT.

In other words:

Establishing logical independence may not be an easier alternative to solving the computational problem. It may require nearly comparable computational insight.


22. Peano Arithmetic Versus Its Π1\Pi_1Π1​ Closure

The theory PA1\mathrm{PA}_1PA1​ extends Peano arithmetic with all true Π1\Pi_1Π1​ statements. A Π1\Pi_1Π1​ statement has the form

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

where φ\varphiφ is bounded or decidable.

This theory is not recursively axiomatizable, but it has a useful conceptual role:

  • It can prove that two machines computing the same function really agree.

  • It provides a representation-independent framework for discussing machine computations.

  • If P=NPP=NPP=NP, it can prove this equality because a polynomial-time SAT algorithm exists and its correctness can be verified.

The difficulty is that known independence techniques often cannot distinguish PA from this stronger Π1\Pi_1Π1​-closed theory. A method that establishes independence from PA may also establish independence from PA1\mathrm{PA}_1PA1​.

Therefore, if P≠NPP\ne NPP=NP were independent by currently understood methods, the theorem would imply an almost-polynomial SAT algorithm.


23. Broader Consequences and Open Problems

The talks identify several major open directions:

  • Prove or refute that P≠NPP\ne NPP=NP is independent of Peano arithmetic.

  • Determine whether SAT has an optimal proof system.

  • Determine whether TFNP has a complete problem.

  • Determine whether disjoint NP or coNP pairs have complete problems.

  • Prove hardness of pseudorandom-generator non-image formulas for extended Frege.

  • Extend generator-based hardness results to stronger systems such as cutting planes and sum-of-squares.

  • Find the missing computational-content connection from strong propositional proofs to algorithms.

  • Understand whether stronger set theories prove new computationally meaningful statements.

  • Determine whether hierarchies of provably total polynomial-time search problems are genuinely increasing.

  • Investigate whether the methods apply to weaker theories such as IΣ1I\Sigma_1IΣ1​ and how their associated growth bounds relate to the Ackermann function.

The common difficulty is that the relevant statements are finite and computational, while the strongest available independence techniques are designed for infinite mathematical structures. Progress therefore requires new methods that connect formal provability, proof complexity, pseudorandomness, and the quantitative distance between hard problems and efficient computation.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent