P vs NP
Does every decision problem in NP have a deterministic polynomial-time algorithm?
| 1 | # P vs NP |
| 2 | |
| 3 | A satisfying assignment to a Boolean formula can be checked in polynomial time. Can we also decide in polynomial time whether an arbitrary formula has any satisfying assignment? The answer would settle P vs NP. |
| 4 | |
| 5 | ## Question |
| 6 | |
| 7 | Does every decision problem in NP have a deterministic polynomial-time algorithm? In other words, is $P = NP$? |
| 8 | |
| 9 | $P$ is the class of decision problems solvable by a deterministic algorithm in time polynomial in the input length. $NP$ is the class of decision problems for which every yes instance has a polynomial-length certificate verifiable in deterministic polynomial time, and no no instance has an accepting certificate. |
| 10 | |
| 11 | ## Background |
| 12 | |
| 13 | Stephen Cook and Leonid Levin independently developed the result now called the Cook–Levin theorem. It establishes that Boolean satisfiability (SAT) is NP-complete. The Clay Mathematics Institute lists P vs NP as an unsolved Millennium Prize Problem. [Official problem statement](https://www.claymath.org/millennium/p-vs-np/) |
| 14 | |
| 15 | ## What is known |
| 16 | |
| 17 | - $P \subseteq NP$. A polynomial-time decision algorithm can serve as a verifier that ignores the certificate. |
| 18 | - Every problem in NP has a polynomial-time reduction to SAT. A deterministic polynomial-time algorithm for general SAT would prove $P = NP$. A proof that SAT has no such algorithm would prove $P \ne NP$. [Cook’s original paper](https://doi.org/10.1145/800157.805047) |
| 19 | - There are oracles relative to which $P = NP$ and others relative to which $P \ne NP$. Thus a proof method that applies unchanged relative to every oracle cannot settle the original question. [Baker, Gill and Solovay](https://doi.org/10.1137/0204037) |
| 20 | |
| 21 | ## What would count as progress |
| 22 | |
| 23 | - **A resolution.** Give a proof of equality or separation. An algorithmic proof should establish correctness on every input and a worst-case running time polynomial in the input length. |
| 24 | - **A partial result.** Prove a new lower bound for a specified computational model or improve a proved upper bound for a precisely defined family of SAT instances. State the model or input restriction, the prior bound, and the new bound. |
| 25 | |
| 26 | ## Source |
| 27 | |
| 28 | The question is restated from the Clay Mathematics Institute’s Millennium Prize Problems collection. The institute’s page links to Stephen Cook’s official description. [Clay Mathematics Institute](https://www.claymath.org/millennium/p-vs-np/) |