P versus NP
versus is one of the greatest computability and complexity problems of modern mathematics, and one of the Millennium Problems. the class of decision problems (those whose answer is either "yes" or "no," as opposed to other classes such as counting problems) that can be solved by a deterministic algorithm in polynomial time. is the class of decision problems that can be solved by a non-deterministic algorithm in polynomial time. The versus question asks whether these two classes are the same, or whether there are problems in that are not in .
Since all modern computers (with the exception of a few quantum computers) are deterministic, non-deterministic algorithms are of theoretical, rather than practical, interest. However, the class can also be defined without reference to nondeterminism: This article is a stub. Help us out by expanding it.
Overview
The relation between the complexity classes and is one of the most important open problems in theoretical computer science and mathematics. The most common resources are time (how many steps it takes to solve a problem) and space (how much memory it takes to solve a problem). In such analysis, a model of the computer for which time must be analyzed is required. Typically, such models assume that the computer is deterministic - that, given the computer's present state and any inputs, there is only one possible action that the computer might take - and sequential - it performs actions one after the other. These assumptions reflect the behaviour of all practical computers yet devised, even including machines featuring parallel processing.
In this theory, the class consists of all those decision problems that can be solved on a deterministic sequential machine in an amount of time that is polynomial in the size of the input; the class consists of all those decision problems whose positive solutions can be verified in polynomial time given the right information, or equivalently, whose solution can be found in polynomial time on a non-deterministic machine.
Importance
Arguably, the biggest open question in theoretical computer science concerns the relationship between those two classes:
Is equal to ?
In a 2002 poll of 100 researchers, 61 believed the answer is no, 9 believed the answer is yes, 22 were unsure, and 8 believed the question may be independent of the currently accepted axioms, and so impossible to prove or disprove.
The Clay Mathematics Institute has offered a USD $1,000,000 prize for a correct solution, as it has listed it as one of its [[Millenium Problems]].
==Arguments== An important role in this discussion is played by the set of$ (Error compiling LaTeX. Unknown error_msg)NPNPCNPNPNPNPNPPP = NPNPPNPNPC$is as shown in the picture, with the P and NPC classes disjoint.
In essence, the$ (Error compiling LaTeX. Unknown error_msg)P = NPYES/NO\{-2, -3, 8, 15, -10\}0YESYES\{-2, -3, -10, 15\}NP$.
The restriction to$ (Error compiling LaTeX. Unknown error_msg)YES/NOFP = FNP$) is equivalent.