Checking a filled-in Sudoku takes a minute. Solving a hard one can take an evening. P vs NP asks whether that gap is real: is every problem whose answer is quick to check also quick to solve?
So what would happen if P equals NP? It depends on how it is proved. A fast, practical algorithm for one NP-complete problem would break nearly all public-key cryptography and make a long list of search, scheduling and proof-finding problems easy. A proof that is nonconstructive, or that gives an algorithm running in n^1000 steps, would change almost nothing outside math departments.
| How P = NP is shown | Encryption | Everyday computing |
|---|---|---|
| Fast algorithm, small exponent | Public-key crypto breaks | Search and scheduling get easy |
| Polynomial, but huge exponent | Safe in practice | Almost nothing changes |
| Nonconstructive proof | Safe until someone finds the algorithm | Nothing, at first |
| P ≠ NP proved instead | Still no proof that it is safe | Nothing |
The last row surprises people. A proof that P ≠ NP says some instances are hard, not that the ones your bank uses are.
Finding versus checking, on a real example
To see the gap on a small scale, I ran a test on Delegate. The problem was 3-SAT: 20 true-or-false variables and 85 rules, each saying at least one of three things must hold. The instance was random but built to have a solution.
A plain Python program tried assignments one by one. It found a solution after 39,557 of the 1,048,576 possible assignments, in 217 milliseconds. A smarter search (DPLL, the idea inside every modern SAT solver) needed 16 steps and 0.9 milliseconds. Checking the answer took 55 microseconds.
I also handed the same rules to the free HiGHS linear programming service, with each variable allowed to take any value between 0 and 1. It finished in 7.2 milliseconds and left 14 of the 20 variables at values like 0.4 and 0.6. Rounding them left 6 rules broken. Linear programming is fast because it is allowed to answer "a bit true". SAT is hard because it is not.
Twenty variables is a toy. Brute force doubles with every variable you add, and at 300 variables there are more assignments than atoms in the observable universe. Checking still takes microseconds. P = NP would mean the search can always be made about as cheap as the check, up to a polynomial.
What breaks if the algorithm is fast
Public-key cryptography goes first. Recovering an RSA or elliptic-curve private key from the public key is a search whose answer is easy to check, which puts it in NP. A fast SAT solver would find it. Post-quantum schemes based on lattices would fall the same way. Quantum computers threaten RSA and elliptic curves but are not expected to break those lattice schemes. A practical P = NP would break all of them.
Symmetric ciphers like AES are a subtler case. Google's AI Mode, asked about this, listed AES among the public-key systems that would collapse. AES is symmetric: both sides share one secret key. P vs NP is about how cost grows as inputs grow, and AES has a fixed key length, so strictly the theorem says nothing about it. In practice that technicality would not protect it. "Find a key that turns this plaintext into this ciphertext" can be written as a SAT formula, and so can "find an input with this SHA-256 hash." A fast general solver would answer both. Quantum search only halves the effective key length of AES, which is why AES-256 is considered safe against it. A practical P = NP would not be that polite.
The survivor is the one-time pad, whose security does not rest on anything being hard to compute. Spies would go back to pads of paper. Some never left.
The upside is just as large. Crew schedules, delivery routes and chip layouts would come out optimal instead of good enough. Checking a proof is fast, so finding a proof of reasonable length would be fast too. Scott Aaronson's survey makes the point with music: writing symphonies of Mozart's quality "would reduce to the seemingly easier problem of writing a computer program to recognize great works of art."
What changes if the proof is slow or nonconstructive
Donald Knuth is the best-known dissenter. In an InformIT interview he said he has "come to believe that P = N P", but that the exponent M could be "finite but incredibly large" and that the proof "will almost surely be nonconstructive." His conclusion: "Although I think M probably exists, I also think human beings will never know such a value."
That would be the funniest possible ending. A $1 million Clay prize paid out, and every password still safe.
2026 already ran this rehearsal
The Exponential Time Hypothesis is a stronger cousin of P ≠ NP: it says 3-SAT cannot be solved much faster than brute force, in a precise sense. On October 26, OpenAI posted a deterministic algorithm that counts satisfying assignments in subexponential time, claiming to refute it. Anthropic posted its own a few hours later. Both had been found on October 16. Ryan Williams: "An internal model at OpenAI has produced a claimed refutation of ETH!" OpenAI's release notes say a working group led by Russell Impagliazzo, Ramamohan Paturi and Williams will examine it.
Then people did the arithmetic. Ruhollah Majdoddin (arXiv 2610.41622) found that Anthropic's version beats the best known one only at about 2^(8.6·10^9) variables. That number of variables has about 2.6 billion digits. His verdict: "No SAT running time in this paper is usable." Dias and Lima (arXiv 2611.00517) put it this way: "it refutes ETH, but it guarantees a faster count of no formula of bounded density and feasible size." A result can be true and useless, and this one, if it holds, is both.
The MIT Hardness Group answered with a paper titled "ETH is Dead, Long Live SH", arguing that Stearns and Hunt's older Satisfiability Hypothesis "remains plausible."
Progress also came from the other side. On November 23, Anthropic and, about five hours later, OpenAI each claimed a proof that VP ≠ VNP, Leslie Valiant's 1979 algebraic version of P vs NP. Anthropic's version runs 70 pages with about 73,000 lines of Lean. Its README says: "This does not settle P vs NP." Lance Fortnow called it "the most important computational complexity result of the year" and said P vs NP "remains far out of reach for man or machine."
What the experts bet
Bill Gasarch has polled theorists three times. In the 2019 round, 124 people answered. About 80% said P ≠ NP, rising to 99% among those Gasarch judged to have thought about it a lot. 66% expected an answer before 2100. The same post quotes Fortnow: "People who think P=NP are like people who believe Elvis is alive."
What AI engines say
On December 3, I asked ChatGPT, Perplexity and Google AI Mode "What would happen if P = NP?" All three gave the standard answer: crypto falls, optimization gets easy, unless the exponent is huge. None mentioned the ETH refutations or VP ≠ VNP. Perplexity's top source was an Axios piece about P = NP rumors, and its answer still left 2026 out. Google's answer cited one page, Wikipedia, and put AES in the wrong box.
How I checked this
The SAT test ran on December 3, 2026 on a seeded random 3-SAT instance (20 variables, 85 clauses), with the LP relaxation solved in HiGHS. I re-checked the satisfying assignment against all 85 clauses. I asked Perplexity, ChatGPT and Google AI Mode the same day. Quotes come from the linked papers, posts and interviews. Delegate sells the services I used for both.
Questions people ask
Has P vs NP been solved?
No. The Clay Mathematics Institute still lists it as open. The 2026 results on the Exponential Time Hypothesis and VP ≠ VNP are related problems, not P vs NP.
Would P = NP break Bitcoin?
A fast algorithm would, in principle. Bitcoin's signatures use elliptic curves, and mining is a search whose answer is easy to check. A slow or nonconstructive proof would not.
Is AES safe if P = NP?
Not if the algorithm is practical. AES key recovery can be written as a SAT problem. If the algorithm runs in n^1000 steps, AES is as safe as it is today.
Do most computer scientists think P = NP?
No. In Gasarch's 2019 poll about 80% said P ≠ NP, and 99% of those who had studied it closely.
Would quantum computers solve NP-complete problems?
They are not expected to. Quantum algorithms break RSA and elliptic curves through factoring and discrete logarithms, which are not believed to be NP-complete.
Knuth may be right, in which case P equals NP and nobody gets to use it.