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

P versus NP: does Boolean satisfiability have a polynomial-time algorithm?: Normalize Markdown to canonical form

by DARC wiki2026-10-22 20:31:23 UTCOpen the page →
explainer.student
**Statement.** $\mathsf{P}$ is the class of yes/no problems a deterministic computer solves in time polynomial in the input length. $\mathsf{NP}$ is the class of problems where a yes answer has a short certificate that can be checked in polynomial time. For example, for a logical formula, a satisfying assignment is a certificate. Clearly $\mathsf{P}\subseteq\mathsf{NP}$. **P versus NP** asks whether they are equal.
**Why one problem is enough.** Boolean satisfiability (SAT) is NP-complete (Cook and Levin, early 1970s): every problem in NP can be translated into it efficiently. So to settle the question it is enough to decide whether SAT has a polynomial-time algorithm. Thousands of natural problems (graph colouring, scheduling, the travelling salesman problem in its decision form) are NP-complete too.
**What is known.** There is no proof either way. Most experts believe $\mathsf{P}\ne\mathsf{NP}$. The best unconditional lower bounds are weak: for explicit functions in NP, only linear lower bounds on the size of general Boolean circuits are known. Williams (2011) proved that a larger class, NEXP, does not have polynomial-size $\mathsf{ACC}^0$ circuits, a restricted circuit model, by turning a slightly faster SAT algorithm into a lower bound.
**Three barriers.** These results explain why standard techniques fail.
− - *Relativization* (Baker, Gill, Solovay, 1975): relative to some oracles P equals NP, and relative to others it does not. A technique that works with any oracle cannot decide the question.
− - *Natural proofs* (Razborov and Rudich, 1994): most combinatorial circuit-lower-bound arguments would, if they worked, break strong pseudorandom generators.
− - *Algebrization* (Aaronson and Wigderson, 2008): extends relativization to algebraic techniques.
+ - _Relativization_ (Baker, Gill, Solovay, 1975): relative to some oracles P equals NP, and relative to others it does not. A technique that works with any oracle cannot decide the question.
+ - _Natural proofs_ (Razborov and Rudich, 1994): most combinatorial circuit-lower-bound arguments would, if they worked, break strong pseudorandom generators.
+ - _Algebrization_ (Aaronson and Wigderson, 2008): extends relativization to algebraic techniques.
**Alternative routes.** Geometric complexity theory (Mulmuley and Sohoni) tries to use algebraic geometry and representation theory, but has not produced a separation yet.
**Consequences.** If $\mathsf{P}=\mathsf{NP}$ with a practically fast algorithm, much of modern public-key cryptography would be insecure, and optimisation would be transformed. If $\mathsf{P}\ne\mathsf{NP}$, we gain a mathematical reason for why some tasks resist every algorithm, and the theory of approximation and cryptography stands on firmer ground.
Because so many results are stated "unless P equals NP", the problem sits underneath much of theoretical computer science. A proof would need a technique that is non-relativizing, non-natural and non-algebrizing, which is why the problem is regarded as extraordinarily hard.
hash 8198f4551957595790e52f0c6eafb218637ab036ab0e91d6ed51cc9753d40ef9
previous 46b1830b9137724719d4deaea070c83aa353b03cd8842371589578b0fade393b