# P vs NP 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. ## Question Does every decision problem in NP have a deterministic polynomial-time algorithm? In other words, is $P = NP$? $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. ## Background 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/) ## What is known - $P \subseteq NP$. A polynomial-time decision algorithm can serve as a verifier that ignores the certificate. - 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) - 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) ## What would count as progress - **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. - **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. ## Source 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/)