Attic › Computer science › P versus NP problem
Most computer scientists think P does not equal NP, and modern cryptography relies on this
The Clay Mathematics Institute named the P versus NP problem one of the seven Millennium Prize Problems, offering a $1 million reward for the first correct proof that P = NP or P ≠ NP. Most computer scientists think that P ≠ NP, meaning that some problems are fundamentally harder to solve than they are to check.
Researchers hold this view for two main reasons:
1. After decades of study, no one has been able to find a polynomial-time algorithm for any of more than 3,000 important known NP-complete problems. Despite large financial and scientific incentives, every attempt has failed.
2. Everyday experience suggests that finding something new requires more work than checking it once it exists. It is much harder for a mathematician to discover a new proof of a theorem than for another mathematician to read the proof and verify that each logical step is valid.
Our digital security depends on the assumption that P ≠ NP. Modern cryptography protects banking, private messages, and e-commerce using one-way functions—mathematical operations that are fast to compute in one direction, but practically impossible to reverse without a secret key. Checking whether a candidate password or decryption key works is a fast process, which puts the problem of breaking a cipher into NP. If P = NP, one-way functions cannot exist: a computer could find a secret key from encrypted data almost as easily as it uses the key to unlock the data.
If a researcher proved that P = NP and found a genuinely fast algorithm for an NP-complete problem, the consequences would reach far beyond breaking encryption:
* Logistics and manufacturing: Companies could instantly find the cheapest and fastest routes for global shipping networks, airline schedules, and power grids.
* Biology and medicine: Researchers could calculate the exact shapes of complex molecules, such as in protein structure prediction, to design new medicines much faster.
* Mathematics: Because checking a formal mathematical proof of a given length is an NP problem, computers could automatically find proofs for open mathematical questions just as easily as they verify existing ones.
Proving that P ≠ NP is so difficult because it requires showing what no algorithm—including methods no one has yet imagined—can ever do. Until someone finds such a proof, computer scientists must treat P ≠ NP as a working hypothesis rather than a proved fact.
Fact-checked against P versus NP problem on Wikipedia
Part of the Computer science syllabus: Computational Complexity
See it on the timeline of Computer science