A lot of people are worried about P = NP.
Here’s the simple version.
P is the set of problems a computer can solve quickly. Sorting a list, finding the shortest route on a map, multiplying numbers.
NP is the set of problems where, if someone hands you an answer, you can check it quickly. A filled-in Sudoku is easy to verify, but solving a hard one from scratch can take forever.
If you can check an answer fast, can you also find it fast? P = NP says yes. Almost everyone believes the answer is no, but nobody has proved it either way. It’s a $1M Millennium Prize problem.
Riemann is solved, but it doesn’t change your day. P = NP would change everything very fast.
Almost all modern security rests on the assumption that some problems are brutally hard to solve but easy to check. Factoring huge numbers is the classic one.
If P = NP, that wall could fall. HTTPS, online banking, passwords, digital signatures, crypto wallets, all of it would be at risk.
The same power that breaks encryption would solve the hardest optimization problems we have.
Protein folding and drug discovery would speed up massively. Logistics, flight schedules and supply chains would become near perfect.
Training AI models could get far cheaper. Even finding mathematical proofs could be automated.
It depends on how it’s proved. If the proof is not constructive, or the algorithm runs in something like n^100 time, it's useless in practice. The scary version is a fast, practical algorithm.
Most researchers bet on P ≠ NP, and that is the reason your bank account is safe today.
But if someone ever proves P = NP with a practical algorithm, the world gets rewritten overnight.
Best case, we cure diseases and solve problems we thought were impossible.
Worst case, every lock on the internet opens at once.
Something to worry about indeed.
- P contains problems solvable in polynomial time, while NP contains problems whose proposed solutions can be verified in polynomial time; whether P equals NP remains unresolved.
- A proof of P = NP would not necessarily deliver a practical algorithm; the post explicitly notes that a nonconstructive proof or an n^100 runtime could be practically useless.
- A practical general-purpose algorithm could threaten existing cryptography and advance optimization, but claims of every internet lock opening at once or sweeping scientific acceleration are exaggerated or conditional.
