P vs NP: Is Finding Harder Than Checking?
Checking a sudoku takes seconds; solving one can take an hour. Is that gap real? A plain explanation of P vs NP, what would change if it were solved, and why AI proofs, including a claimed Riemann Hypothesis proof, put it back in the news.
Last month an AI found a proof that a 27-year-old guess in computer science was wrong. Last week an Anthropic mathematician said he and Claude had proved the Riemann Hypothesis.
First, What Exactly Is P vs NP?
P vs NP is one of the biggest unsolved questions in mathematics and computer science.
It asks a deceptively simple question: If a computer can quickly verify an answer, can it also quickly find that answer?
1. What is P?
P stands for Polynomial Time.
These are problems that computers can solve efficiently.
Examples:
- Sorting a list of numbers.
- Finding the shortest route between locations.
- Adding and multiplying numbers.
2. What is NP?
NP stands for Nondeterministic Polynomial Time.
These are problems where, if someone gives you a proposed answer, a computer can verify whether it’s correct efficiently.
Imagine a Sudoku puzzle:
- Finding the correct solution can be difficult.
- Checking whether a completed Sudoku is correct is relatively easy.
That’s the difference between finding an answer and verifying one.
Checking
Is this grid right?
One look at each row and column. Twice as big a grid, about twice the work.
Finding
What goes in the blanks?
Guess, and back up when stuck. Every blank can double the paths.
So what does P = NP actually mean?
It asks whether every problem whose answer can be quickly verified can also be quickly solved.
There are two possible outcomes:
- P = NP: Finding an answer can be just as computationally efficient as checking one, for every problem in NP.
- P ≠ NP: There are problems whose answers can be checked efficiently but cannot be found efficiently by any general polynomial-time algorithm.
After fifty years nobody has proved either one, and there is a million-dollar prize for whoever does.
What Happens If It Is Finally Solved?
What happens if one of computer science’s biggest mysteries is finally solved?
IF P = NP
If every problem whose solution can be quickly verified can also be quickly solved:
- Most online security would break. Banking, messaging, and passwords depend on things that are easy to check but hard to reverse. If finding answers were as easy as checking them, almost all of that protection would disappear.
- Math could be automated. Finding a proof would be as easy as checking one, so computers could discover theorems, not just verify them.
- Logistics could be solved exactly. Delivery routes, flight schedules, and supply chains could be optimized perfectly instead of approximately.
- Scientific research could speed up. Searching huge numbers of molecular or material combinations would get easier. Experiments would still be needed, though, since real drug discovery depends on biology and physics, not just search.
- AI could find better models. Searching for the simplest model that fits the data would become practical.
This only counts if the method is practical. A “fast” method that needs an astronomical number of steps would be useless.
IF P ≠ NP
If some problems really are harder to solve than to check:
- Day to day, nothing changes. This is what most researchers already assume, and the world is built around it.
- Security gets a firmer footing. Not a guarantee: encryption needs puzzles that are hard almost every time, which is a stronger claim than P ≠ NP.
- Hard problems keep getting good-enough answers. Routes, schedules and molecule searches keep relying on clever shortcuts, which is already how AI handles them.
Why It Is in the News
In 1999, two researchers guessed that one classic hard puzzle, called 3-SAT, can never be solved much faster than trying every combination. It is called the Exponential Time Hypothesis, and a lot of research rests on it.
On 26 October 2026, OpenAI and Anthropic each said one of their AI models had proved that guess wrong. The new method is only a tiny bit faster, and experts including Ryan Williams are still checking it. It does not solve P vs NP.
The old guess, 1999
2n
The Exponential Time Hypothesis: no shortcut beats doubling-style search on the classic hard puzzle.
The new claim, 26 Oct 2026
a bit less
AI models at OpenAI and Anthropic each produced a proof of a method that grows slightly slower than any fixed doubling.
What it does not do
P ? NP
Still unanswered. The new method is still far too slow to be “fast” in the P sense.
Williams then posted three ways he thinks it could end. If it is solved in the next few months, he expects P = NP, with “fast” turning out to be too generous a word. If P ≠ NP, he thinks a proof is a long way off. And he sees no good reason to think maths cannot settle it at all.
P = NP
Encryption at risk, in theory
Williams’s pick if it is solved soon. Likely "fast" only on paper.
P ≠ NP
Nothing changes day to day
What most researchers expect. A proof is a long way off.
Unprovable
Nothing changes at all
Maths cannot settle it. Williams’s least likely option.
And the Riemann Hypothesis?
Then, last Friday, came an even bigger claim. On 20 November 2026, Levent Alpöge, a mathematician at Anthropic, posted a four-page note saying that he and Claude had found a proof of the Riemann Hypothesis.
The Riemann Hypothesis is a different puzzle from P vs NP, but just as famous. It is about the hidden pattern in prime numbers, it has been open since 1859, and it is another of the Clay Institute’s million-dollar problems.
Three things to know before celebrating:
- It is a claim, not a result. No outside experts have reviewed it yet, and Anthropic has not made an official announcement.
- Only a machine can read it. Alpöge released the proof in Lean, a language a computer can check line by line. Reports put it at more than 250,000 pages. No human paper is out yet.
- The prize takes years. The Clay Institute only pays after a proof is published, peer reviewed and has survived two years of scrutiny.
Notice the pattern. Finding the proof took a person and an AI working together. Checking it is the part we trust a machine to do. That is P vs NP playing out in real life: checking is the easy side, even when the answer is a quarter of a million pages long.
My Read
I think P ≠ NP, and I do not expect a proof soon, even with AI helping. What October changed for me is the confidence. A guess the field treated as safe turned out to be wrong, and a machine found the hole.
That is also how AI works today. It cannot skip the hard part of finding answers, so it guesses fast and lets something else check the guess. October’s proof was found by a model and checked by a proof checker.
Three quick questions
Tap an answer to check it
Question 1
What does P vs NP ask?
Not quite. Checking a finished sudoku is quick. Solving an empty one can be slow. The question is whether that gap is real for every such problem.
Question 2
What did the AI proofs in October 2026 show?
Not quite. They knocked down a 1999 guess about how hard that puzzle is. Interesting, but the new method is still slow, and P vs NP stays open.
Question 3
If someone proved P = NP tomorrow, why might your bank still be safe?
Not quite. Fast in theory and fast in practice are different things. Ryan Williams expects that we would simply tighten what "fast" means.
If finding were as easy as checking, what is the first problem you would solve?
Sources
- Ryan Williams’s thread, 23 November 2026: intro, option 1, option 2, option 3. Rishabh Karnawat’s explainer.
- The problem: Clay Mathematics Institute, Wikipedia.
- The October 2026 claims: Exponential Time Hypothesis, TechCrunch, Scientific American, The New York Times (via The Star).
- The Riemann Hypothesis claim: Alpöge’s note, AFP via Phys.org, SiliconANGLE, Clay Mathematics Institute.