P versus NP: does Boolean satisfiability have a polynomial-time algorithm?
On this page18 sections
The anchor: difficulty, application value and leverage are 100 by definition and no other problem reaches 100 on any scale. It is the central open problem of complexity theory, shielded by three formal barriers (relativization, natural proofs, algebrization); a constructive P = NP would upend deployed cryptography and optimisation, and thousands of results across complexity, cryptography and algorithms are stated conditionally on P ≠ NP or on stronger hypotheses.
The problem
If a solution to a puzzle is easy to check, is it also easy to find? Nobody knows.
- 1Some puzzles are easy to check
- 2Are they also easy to solve?
- 3SAT stands for thousands of puzzles
- 4No proof; known methods blocked
- 5Answer reshapes security and optimisation
Statement. is the class of yes/no problems a deterministic computer solves in time polynomial in the input length. 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 . 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 . 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 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.
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 with a practically fast algorithm, much of modern public-key cryptography would be insecure, and optimisation would be transformed. If , 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.
Go deeper
The full technical text.
Is ? Here is the class of languages decidable by a deterministic Turing machine in time polynomial in the input length, and the class of languages for which there is a polynomial-time verifier and a polynomial such that . Equivalently: can every problem whose solutions are efficiently checkable also be efficiently solved? Since Boolean satisfiability is -complete, it suffices to decide whether it has a polynomial-time algorithm.
Words on this page (12)
- P
- Problems that a computer can solve in time that grows like a fixed power of the input size.
- NP
- Problems where a proposed answer can be checked quickly, even if finding one may be slow.
- NP-complete
- The hardest problems in NP: every other NP problem can be translated into them.
- Boolean satisfiability (SAT)
- Deciding if a logical formula can be made true by choosing true/false values for its variables.
- certificate
- A short piece of evidence, such as a filled-in Sudoku grid, that lets you verify a yes answer quickly.
- reduction
- An efficient method to turn one problem into another with the same answer.
- oracle
- A pretend black box that answers certain questions instantly, used to test whether a proof technique is too general.
- Boolean circuit
- A network of AND, OR and NOT gates computing a yes/no function.
- computational complexity
- The study of how many steps or how much memory problems need.
- pseudorandom generator
- A method that stretches a short random seed into a long sequence that looks random to efficient tests.
- polynomial time
- Running time that grows like a fixed power of the input size, such as n² or n³.
- ACC0
- A restricted kind of circuit: constant depth, with AND, OR, NOT and counting-modulo-m gates; one of the few classes with proved lower bounds.
New to this? Read first (3)
- Complexity Theory's 50-Year Journey to the Limits of Knowledge (Quanta)The best narrative introduction to P versus NP and why it resists proof.
- P versus NP problem (Wikipedia)A clear definition with examples and the consequences either way.
- NP-completeness (Wikipedia)Explains why one problem can stand in for thousands.
Built from
earlier problems → this oneThe earlier problems this one is built from. “Builds on” means it needs their progress or tools. “Generalizes” means they are special cases that come first. “Implies” means they are weaker results on the way. On the right is what builds on this problem.
- Start with
- P versus NP: does Boolean satisfiability have a polynomial-time algorithm?This problem
- Then
- Strong Exponential Time Hypothesis: no (2−ε)ⁿ-time algorithm for k-SAT as k → ∞Complexity Theory · D88
- Exponential Time Hypothesis: does 3-SAT need 2δn time for some δ > 0?Complexity Theory · D90
Path to understanding
foundations → problemThe research entries this problem rests on, in the order to read them. Each links to its explainer.
- Start with
- Step 2
- Computational complexity theoryTheory · host
- Then
- P versus NP: does Boolean satisfiability have a polynomial-time algorithm?The problem
State of the art
No proof in either direction. Most experts believe . Three barriers explain why standard techniques fail: relativization (Baker, Gill, Solovay, 1975), natural proofs (Razborov and Rudich, 1994) and algebrization (Aaronson and Wigderson, 2008). The best unconditional results are far weaker: only linear lower bounds on general Boolean circuit size are known for explicit functions in , and Williams (2011) proved that does not have polynomial-size circuits. Geometric complexity theory (Mulmuley and Sohoni) proposes an algebraic-geometric route to related lower bounds, but no separation has come from it. Related time–space progress, such as Williams's 2025 simulation of time in space , concerns versus -type questions, not P versus NP. P versus NP is not among the claims in the batch of AI-generated manuscripts released by OpenAI on 6 October 2026 (Aaronson: "P≠NP isn't there").
Realistic applications
If were shown with a practical algorithm, most deployed public-key cryptography would fail, and optimisation, verification, scheduling and machine learning would change at scale; this outcome is considered very unlikely, and a proof of with an impractical algorithm (for example with a huge exponent) would have far less effect. A proof of would change no deployed system by itself, since cryptography needs average-case hardness and one-way functions, which does not provide. Its value would be in the techniques (new lower-bound methods) and in settling whether the search for efficient exact algorithms for -complete problems is futile.
What counts as solved
A proof of or in the standard formalisation above, accepted by the complexity-theory community after scrutiny. The Clay Institute requires publication in a qualifying outlet, at least two years to have passed since publication, and general acceptance in the mathematics community.
How it gets verified
To verify: Lean proofA formal proof checked by Lean 4 / Mathlib.
Statement: ComplexityTheory.P_ne_NP : P ≠ NP in Millennium/PvsNP.lean (Formal Conjectures pinned at commit e754a78 (17 October 2026)). The classes are defined in the corpus file Computability/Complexity.lean on top of Mathlib's polynomial-time Turing machines (TM2ComputableInPolyTime) over bit-string encodings, with NP as languages whose witnesses of polynomial length are checked by a polynomial-time relation (Arora–Barak, Definition 2.1). A resolution in either direction is accepted when a Lean proof of P_ne_NP or of its negation compiles against the pinned corpus and passes Comparator with only the three standard axioms; because the machine-level definitions belong to the corpus, a complexity theorist must also confirm that they match the textbook classes. No proof technique is known that avoids relativization, natural proofs and algebrization, so a formal proof is far off, and Clay's own rules (publication and two years of acceptance) still govern the prize.
Claims
No claimed results on this problem.
Where the work is
Resolution needs proof techniques that do not yet exist; all three known barriers are about methods, not computation. Computer search for small circuits says nothing about asymptotics.
Connected problems
- This problem is related to Is Minimum Equivalent Expression Σ₂ᵖ-complete under many-one reductions?Both concern the polynomial hierarchy: if P = NP the hierarchy collapses and MEE would be in P.
- This problem is implied by Strong Exponential Time Hypothesis: no (2−ε)ⁿ-time algorithm for k-SAT as k → ∞SETH implies ETH, which implies P ≠ NP, so a proof of SETH would resolve P vs NP in the expected direction.
- This problem is implied by Exponential Time Hypothesis: does 3-SAT need 2δn time for some δ > 0?ETH implies that 3-SAT has no polynomial-time algorithm, so a proof of ETH would give P ≠ NP.
- This problem is related to Unique Games Conjecture: NP-hardness of (1−ε) versus δ satisfiability for unique games at fixed alphabetUGC-based hardness results are conditional on P ≠ NP in addition to UGC; UGC itself is a stronger hardness statement about one problem.
- This problem is related to Learning With Errors: a polynomial-time quantum algorithm at polynomial modulus-to-noise ratio?LWE security cannot be based on P ≠ NP alone: the worst-case lattice problems in Regev's reduction are in NP ∩ coNP for approximation factors of order √n and above, so they are not NP-hard unless the polynomial hierarchy collapses.
- This problem is related to Super-polynomial ACC⁰ lower bounds for a language in NP: extending Murray–Williams beyond NQPAn ACC⁰ lower bound for NP would be a restricted-circuit separation of the P ≠ NP type; Williams’s method is one of the few techniques that evades relativization, natural proofs and algebrization.
- This problem is related to BQP versus the polynomial hierarchy: evidence beyond oracles that BQP ⊄ PHAn unconditional BQP ⊄ PH would prove P ≠ PSPACE, and any such proof meets the same relativisation barrier that blocks P versus NP.
Progress
- Jun 8, 2011NEXP ⊄ ACC⁰source
Ryan Williams proved that NEXP lacks polynomial-size ACC⁰ circuits by turning faster satisfiability algorithms into lower bounds (CCC 2011; JACM 2014; day approximate).
- May 23, 1994Natural proofs barriersource
Razborov and Rudich showed that 'natural' circuit-lower-bound arguments would break strong pseudorandom generators (STOC 1994; JCSS 1997; day of the STOC presentation approximate).
- Dec 1, 1975Relativization barriersource
Baker, Gill and Solovay gave oracles under which P = NP and others under which P ≠ NP, so relativizing proofs cannot settle the question.
- May 3, 1971The problem is formulatedsource
Cook's STOC 1971 paper introduced NP-completeness and posed the question; Levin obtained equivalent results independently (published 1973).