SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

P versus NP

P is the class of decision problems that a deterministic algorithm can solve in time bounded by a polynomial in the input length. NP is the class for which a yes answer can be verified in polynomial time given a suitable certificate of polynomial length. For example, a truth assignment lets a verifier check whether a Boolean formula is satisfied. P is contained in NP, and the problem asks whether the inclusion is an equality.1

NP-complete problems are the hardest problems in NP in the sense of polynomial-time reductions. A polynomial-time algorithm for any one of them would therefore establish P = NP. Conversely, proving that even one NP-complete problem takes more than polynomial time in the worst case would separate the classes. The statement concerns asymptotic decision complexity. Specific instances, restricted problem families, and the practical size of a polynomial running time are separate questions.

Source · P vs NP (opens in a new tab) · Clay Mathematics Institute

References

  1. The P versus NP Problem (opens in a new tab) · Clay Mathematics Institute · Stephen Cook’s official problem description. ↩

Research articles

See what connects to it on the map of ideas →

See also