Skip to content
DARC
■ Change #15 · wiki.edited

Computational complexity theory: Normalize Markdown to canonical form

by DARC wiki2026-10-22 20:30:57 UTCOpen the page →
body
## What is being measured
− A *decision problem* asks a yes/no question about an encoded input $x$. The class $\mathsf{P}$ contains problems solvable by a deterministic algorithm in time polynomial in $|x|$. The class $\mathsf{NP}$ contains problems with short certificates that can be checked in polynomial time: for a satisfiable Boolean formula, a satisfying assignment is such a certificate. Clearly $\mathsf{P}\subseteq\mathsf{NP}$. Whether the inclusion is strict is the P versus NP problem.
+ A _decision problem_ asks a yes/no question about an encoded input $x$. The class $\mathsf{P}$ contains problems solvable by a deterministic algorithm in time polynomial in $|x|$. The class $\mathsf{NP}$ contains problems with short certificates that can be checked in polynomial time: for a satisfiable Boolean formula, a satisfying assignment is such a certificate. Clearly $\mathsf{P}\subseteq\mathsf{NP}$. Whether the inclusion is strict is the P versus NP problem.
Other resources give other classes: $\mathsf{L}$ (logarithmic space), $\mathsf{PSPACE}$ (polynomial space), $\mathsf{BPP}$ (probabilistic polynomial time), and non-uniform classes defined by circuit size, such as $\mathsf{P/poly}$ and $\mathsf{ACC}^0$.
## Reductions and completeness
− A problem $A$ *reduces* to $B$ if an efficient transformation maps instances of $A$ to instances of $B$ with the same answer. Cook (1971) and, independently, Levin (published 1973) showed that Boolean satisfiability is $\mathsf{NP}$-complete: every problem in $\mathsf{NP}$ reduces to it. Karp (1972) showed 21 classical combinatorial problems $\mathsf{NP}$-complete, and thousands of natural problems, from graph colouring to scheduling, have followed, so a polynomial-time algorithm for any one of them would give one for all.
+ A problem $A$ _reduces_ to $B$ if an efficient transformation maps instances of $A$ to instances of $B$ with the same answer. Cook (1971) and, independently, Levin (published 1973) showed that Boolean satisfiability is $\mathsf{NP}$-complete: every problem in $\mathsf{NP}$ reduces to it. Karp (1972) showed 21 classical combinatorial problems $\mathsf{NP}$-complete, and thousands of natural problems, from graph colouring to scheduling, have followed, so a polynomial-time algorithm for any one of them would give one for all.
## Why the big questions are hard
Three barrier results explain why standard techniques fail to separate $\mathsf{P}$ from $\mathsf{NP}$. Relativization (Baker, Gill and Solovay, 1975) shows that any argument that survives adding an arbitrary oracle cannot decide the question. Natural proofs (Razborov and Rudich, 1994) show that a broad class of combinatorial circuit-lower-bound arguments would break strong pseudorandom generators. Algebrization (Aaronson and Wigderson, 2008) extends the relativization barrier to arguments using low-degree extensions. The unconditional lower bounds that do exist are weak: for explicit functions in $\mathsf{NP}$ only linear lower bounds on general Boolean circuit size are known. Williams (2011) proved that $\mathsf{NEXP}$ does not have polynomial-size $\mathsf{ACC}^0$ circuits, a separation for a restricted circuit class that sidesteps the natural-proofs barrier by using algorithms as a tool.
## Beyond exact solution
− Many practical questions concern approximation. The PCP theorem (Arora and Safra; Arora, Lund, Motwani, Sudan and Szegedy, 1992) shows that for many optimisation problems even approximate answers are $\mathsf{NP}$-hard to find. The Unique Games Conjecture, a stronger hardness assumption, would pin down the best possible approximation ratio for a whole family of problems. *Fine-grained complexity* asks for exact exponents inside P: for example, whether edit distance needs essentially quadratic time. Its conditional lower bounds rest on hypotheses such as the Strong Exponential Time Hypothesis (SETH), the 3SUM hypothesis and the APSP hypothesis.
+ Many practical questions concern approximation. The PCP theorem (Arora and Safra; Arora, Lund, Motwani, Sudan and Szegedy, 1992) shows that for many optimisation problems even approximate answers are $\mathsf{NP}$-hard to find. The Unique Games Conjecture, a stronger hardness assumption, would pin down the best possible approximation ratio for a whole family of problems. _Fine-grained complexity_ asks for exact exponents inside P: for example, whether edit distance needs essentially quadratic time. Its conditional lower bounds rest on hypotheses such as the Strong Exponential Time Hypothesis (SETH), the 3SUM hypothesis and the APSP hypothesis.
## Space versus time
Hopcroft, Paul and Valiant (1975) showed that $t$ steps of a multitape Turing machine can be simulated in space $O(t/\log t)$. In February 2025 Ryan Williams improved this to $O(\sqrt{t\log t})$ space, building on the Cook–Mertz algorithm for Tree Evaluation (ECCC, November 2023; STOC 2024). A consequence is that some problems solvable in linear space need nearly quadratic time on multitape Turing machines: a small step on time versus space, with no direct bearing on P versus NP.
## State in October 2026
P versus NP remains open and no credible claim of a resolution exists. Several developments in the autumn of 2026 have not yet been through peer review:
- **4-to-1 games.** Fei, Minzer and Wang (ECCC TR26-179, 14 September 2026) proved Khot's 4-to-1 Games Conjecture with perfect completeness, a human-written result in hardness of approximation.
- **3SUM and APSP.** Alman and Vassilevska Williams (arXiv, 5 October 2026) gave deterministic algorithms for 3SUM in $O(n^{1.9992})$ time and APSP in $O(n^{2.9995})$ time for polynomi
explainer.student
− **What is measured.** A *decision problem* asks a yes/no question about an input $x$ (for example: does this map have a route visiting every city within a given distance?). The class **P** contains problems a deterministic algorithm solves in time polynomial in the input length. The class **NP** contains problems with short *certificates* that can be checked in polynomial time. For a logical formula, a satisfying assignment is such a certificate. Clearly $\mathsf{P}\subseteq\mathsf{NP}$, and whether the inclusion is strict is the **P versus NP** problem.
+ **What is measured.** A _decision problem_ asks a yes/no question about an input $x$ (for example: does this map have a route visiting every city within a given distance?). The class **P** contains problems a deterministic algorithm solves in time polynomial in the input length. The class **NP** contains problems with short _certificates_ that can be checked in polynomial time. For a logical formula, a satisfying assignment is such a certificate. Clearly $\mathsf{P}\subseteq\mathsf{NP}$, and whether the inclusion is strict is the **P versus NP** problem.
Other resources give other classes. $\mathsf{L}$ is logarithmic memory, $\mathsf{PSPACE}$ is polynomial memory, $\mathsf{BPP}$ is polynomial time with randomness and a small error, and circuit classes such as $\mathsf{ACC}^0$ restrict the structure of the computing network.
− **Reductions and completeness.** Problem $A$ *reduces* to problem $B$ if an efficient translation turns instances of $A$ into instances of $B$ with the same answer. Cook (1971) and Levin showed that Boolean satisfiability (SAT) is **NP-complete**: every problem in NP reduces to it. Karp (1972) showed 21 classic problems NP-complete. Today thousands of natural problems are known to be NP-complete, so a fast method for any one gives a fast method for all.
+ **Reductions and completeness.** Problem $A$ _reduces_ to problem $B$ if an efficient translation turns instances of $A$ into instances of $B$ with the same answer. Cook (1971) and Levin showed that Boolean satisfiability (SAT) is **NP-complete**: every problem in NP reduces to it. Karp (1972) showed 21 classic problems NP-complete. Today thousands of natural problems are known to be NP-complete, so a fast method for any one gives a fast method for all.
**Why it is so hard to resolve.** Three barrier results explain why familiar methods fail.
− - *Relativization* (Baker, Gill, Solovay, 1975): there are imaginary worlds (with oracles) where P equals NP and others where it does not. A proof that works in every such world cannot decide the question.
− - *Natural proofs* (Razborov and Rudich, 1994): a broad class of circuit lower-bound arguments would, if they worked, break strong pseudorandom generators.
− - *Algebrization* (Aaronson and Wigderson, 2008): even some algebraic extensions of the oracle idea fail.
+ - _Relativization_ (Baker, Gill, Solovay, 1975): there are imaginary worlds (with oracles) where P equals NP and others where it does not. A proof that works in every such world cannot decide the question.
+ - _Natural proofs_ (Razborov and Rudich, 1994): a broad class of circuit lower-bound arguments would, if they worked, break strong pseudorandom generators.
+ - _Algebrization_ (Aaronson and Wigderson, 2008): even some algebraic extensions of the oracle idea fail.
**What is known.** Unconditional results are far weaker than the conjecture. For general Boolean circuits, only linear lower bounds on size are known for explicit functions in NP. Williams (2011) proved that a large class (NEXP) does not have polynomial-size $\mathsf{ACC}^0$ circuits, using a link between algorithms and lower bounds.
**Beyond worst case.** Complexity theory also studies randomised algorithms, approximation, average-case hardness and the foundations of cryptography, which assumes some problems are hard on typical inputs.
Most experts believe $\mathsf{P}\ne\mathsf{NP}$, but belief is not proof.
hash aeefd03b50d5bc4b3468f134687f7d0409674ac51d95c5128e904c966595dc68
previous 8c83806b1be39a671b20858437bf273b05e9f72fd24ed03a4dfa4fd2ab20777a