How Long Until AI Proves P vs NP?
Quick answer: No one knows when, or whether, AI will prove P vs NP. In 2026 AI helped refute the Exponential Time Hypothesis and produced a claimed, unverified proof of VP ≠ VNP, both close relatives of P vs NP, but neither settles it. Known barriers like relativization and natural proofs block standard methods, and leading theorists such as Lance Fortnow doubt a proof is near.
How Long Until AI Proves P vs NP? The Honest Answer
In November 2026, a Claude-assisted proof of the Riemann Hypothesis was certified by the Lean community, and the obvious next question went viral: is P vs NP next? The honest answer is that nobody knows, and the experts closest to the problem are much more cautious than the headlines.
Here is where things stand:
- AI is closing in on the neighbors of P vs NP. In the past month, AI systems have been credited with refuting the Exponential Time Hypothesis and with a claimed (not yet human-verified) proof of VP ≠ VNP, often called the algebraic cousin of P vs NP.
- Neither result settles P vs NP. The researchers involved say so directly.
- Leading complexity theorists are skeptical about a quick win. In June 2026, Lance Fortnow wrote that he does not expect a P vs NP proof in his lifetime, “by man or machine.”
So any specific date you see, whether next year or 2050, is a guess. What we can do is look at what AI has actually achieved, why P vs NP resists the methods that worked elsewhere, and how to judge the next big claim when it arrives. If you need a refresher on the problem itself, start with our P vs NP explainer.
P vs NP in Two Minutes
P vs NP asks whether every problem whose answer can be checked quickly can also be solved quickly. It is one of the seven Millennium Prize Problems, with a $1 million reward from the Clay Mathematics Institute.
Sudoku is the classic example. Checking a filled grid is easy: scan each row, column and box. Filling in a giant blank grid seems much harder. Russell Impagliazzo of UC San Diego used this analogy when quoted in the New York Times: if you have “a really fast algorithm for Sudoku solving,” it “could be used to design optimal circuits.”
- P is the class of problems a computer can solve quickly (in polynomial time).
- NP is the class of problems whose proposed solutions can be checked quickly.
- The question: is P equal to NP? Most experts think not. MIT’s Ryan Williams put it this way: “If P and NP follow intuition, then they should definitely not be equal.”
Stephen Cook, who introduced NP-completeness in 1971, wrote the official problem description for the Clay Mathematics Institute. In it, he notes a striking consequence if P did equal NP: computers could find formal proofs of any theorem that has a reasonably short proof, which he said “would transform mathematics.” That is part of why the AI angle feels so dramatic. An AI that settled P vs NP would be answering a question about the limits of computers, including itself.
Watch: Two Videos Worth Your Time
Prefer to watch? These videos add another angle on the topic.
What AI Has Already Done: A 2026 Timeline
To judge whether P vs NP is next, it helps to see the actual sequence of AI-related results this year. Note how carefully each one is labeled.
| When (2026) | Result | Status |
|---|---|---|
| August | Alpöge submits a partial result related to the Riemann Hypothesis, developed with Claude, according to Euronews | Partial progress, not a proof of the Riemann Hypothesis |
| Late October | OpenAI, then Anthropic, announce refutations of the Exponential Time Hypothesis (ETH) | Lean proof released; experts helping verify; Fortnow calls ETH “toast” |
| November 20 to 21 | Levent Alpöge releases a Lean proof of the Riemann Hypothesis, developed with Claude; Lean FRO and Mathlib Initiative certify it | Machine-certified; human understanding of the ideas still developing |
| Around November 23 | Anthropic posts a Claude-authored paper claiming VP ≠ VNP over every field | Lean formalization passes automated checks; not yet verified by human mathematicians |
The Riemann Hypothesis result is the one that changed the conversation. In a joint statement, the Lean FRO and the Mathlib Initiative wrote: “We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct.” Alpöge’s Lean library runs to about 17 million lines of code, and it was checked by Lean’s official kernel plus several independent checkers. According to Euronews, Alpöge worked with Claude for months and said Claude “far outpaced me near the finish line.” Euronews also reported that Oxford’s James Maynard called it “something to be celebrated,” while critics such as Gary Marcus and Yann LeCun stressed that it required months of human guidance and open-source tools built by mathematicians. For background, see our profile of Levent Alpöge.
Notice the pattern: the most solid results came with machine-checkable proofs, and the most recent claim is clearly marked as unverified. That is the right way to read every AI math headline.
Why the ETH and VP vs VNP Results Do Not Settle P vs NP
Two of this season’s results sit right next to P vs NP, so it is easy to assume the big one must be close behind. It is not that simple.
The Exponential Time Hypothesis
ETH, proposed by Impagliazzo and Paturi in 1999, said problems like 3-SAT (a core NP problem about satisfying logical formulas) require exponential time in the number of variables. As reported in the New York Times, OpenAI announced on October 26 that its AI had refuted it, and Anthropic soon said it had done the same. Impagliazzo called it “very shocking news” and said it was also “a shock” that the work “was not done by a human being.”
But complexity theorist Lance Fortnow explained the limits. The new algorithm, which solves k-SAT in time of roughly 2 to the power n log log n divided by the square root of log n, is still far slower than any polynomial. It beats exponential time, but only by a slowly growing factor in the exponent. It applies to k-SAT, not all of NP, and gives nothing new for problems like Subset Sum or the Traveling Salesman Problem. Getting subexponential algorithms for all of NP would require a far bigger leap, and this result is nowhere near it. Fortnow did conclude that “it is safe to assume now that the exponential-time hypothesis is toast.”
VP vs VNP (Valiant’s conjecture)
VP vs VNP, posed by Leslie Valiant in 1979, asks a P vs NP style question for arithmetic circuits, which compute polynomials using addition and multiplication. Anthropic’s paper claims that computing the permanent of a matrix (a cousin of the determinant) needs superpolynomially large arithmetic circuits. As Interesting Engineering reported, the Lean proof passed automated checks, but the repository itself warns that no machine checks that the formal statement fully matches the intended conclusion, and no human mathematician had reviewed it at the time of reporting.
Even if it holds up, the paper says it does not settle P vs NP. Arithmetic circuits must work over every field value, while P vs NP is about Boolean circuits using 0s and 1s. A lower bound in the algebraic world does not automatically transfer to the Boolean one.
Bottom line: these are real advances on hard problems in the same family. They show AI can contribute to complexity theory. They do not show that P vs NP is weeks away.
AI and P vs NP: Myth or Fact?
Tap a card to reveal the answer.
Why P vs NP Is Harder Than It Looks
P vs NP has known barriers: theorems proving that whole families of proof techniques cannot work. This is unusual. Most open problems are hard because nobody has found the right idea. P vs NP is hard partly because mathematicians have proven that many natural ideas will fail.
- Relativization. Cook’s Clay description explains that standard simulation and diagonalization arguments still hold when computers get access to an “oracle”: some oracles make P equal NP and others make them different. So those techniques alone cannot separate the classes. Fortnow puts it bluntly: “We know by relativization that simulation and diagonalization will not work to settle P v NP.”
- Natural proofs. Razborov and Rudich showed that a broad class of “natural” circuit lower bound arguments are doomed to fail, assuming strong pseudorandom generators exist, as Cook’s description summarizes.
- The sheer variety of algorithms. To prove P is not NP, you must rule out every polynomial-time algorithm for an NP-complete problem, including ones nobody has imagined. Fortnow writes: “We simply know of no way to manage general polynomial-time algorithms other than by simulating them.”
This matters for AI. Systems that excel at searching huge spaces of known techniques, checking cases and writing Lean code are perfectly suited to problems where the right tools exist but are hard to combine. P vs NP may instead need a genuinely new kind of argument. In his June post, Fortnow wrote that if someone or something does prove P is not NP, it will need “the right intuitive approach, not a formalistic one.”
Could AI find that new idea? Nobody can rule it out, and the Riemann Hypothesis result shows AI-assisted work can reach problems many thought were decades away. But past success on one problem is not a measurement of difficulty on another.
What Experts Predict About the Timeline
Expert forecasts on P vs NP have always varied wildly, and the AI era has not narrowed them yet.
The best poll we have
Computer scientist William Gasarch has surveyed researchers about P vs NP three times. In his poll of 124 respondents (conducted in 2018 and published in 2019):
- 88% believed P does not equal NP, and 12% believed P equals NP.
- 66% expected the problem to be resolved before 2100, and 34% expected it later than that.
- One respondent, Ryan Krusinga, predicted it would be resolved “sooner than people think due to advancements in artificial intelligence.”
The skeptics
Fortnow, writing in June 2026 before the ETH and Riemann results, said he does not believe we will see a proof “in my lifetime proven by man or machine, separately or working together,” adding that “AI will continue to improve, but there are limits.” After the ETH refutation, he still stressed how far it was from all of NP.
A cautionary tale about forecasts
Forecasts can age badly. According to Euronews, Terence Tao predicted in October 2026 that AI would solve the Riemann Hypothesis by 2050, and a certified proof appeared about a month later. That cuts both ways. It shows experts can underestimate AI, but it does not mean every hard problem will fall on the same schedule.
A fair summary: a resolution in the next few years is possible but would surprise most specialists; a resolution this century is what most surveyed researchers expected even before AI; and nobody has a reliable way to put a date on it.
What Would Happen If AI Did Solve P vs NP
The answer depends on which way it goes.
| Outcome | What it would mean |
|---|---|
| AI proves P is not NP (the expected answer) | A monumental proof, but little immediate change in daily life. It would confirm that some problems are truly hard, a necessary condition for modern cryptography, though not enough on its own to guarantee it. |
| AI proves P equals NP with a practical algorithm | Cook writes that many cryptographic assumptions “are all false” if P equals NP, and many scheduling, routing and optimization problems would become efficiently solvable. |
| AI proves P equals NP with an impractical algorithm | A theoretical shock, but a polynomial with a huge exponent might be useless in practice, so security might not change overnight. |
How would we know a claimed proof is right? The 2026 results point to the answer: a formal proof in Lean, checked by independent kernels, plus confirmation that the formal statement really says what P vs NP says. That second step is not trivial. The VP ≠ VNP repository explicitly warns about exactly this gap. Our guide to formal verification in math explains how this checking works.
Expect many false alarms too. Claimed P vs NP “proofs” appear regularly, and AI will make it easier to produce long, confident-looking ones. The verification culture built around Lean is the best defense.
Headline Check: How Would You Respond?
Pick the most sensible reaction to each headline, then read the feedback.
A viral post says: AI proves P = NP, all passwords are now useless.
A friend says the ETH refutation means P vs NP is basically solved.
A news story says a Lean proof of a famous conjecture compiled with no errors.
Someone claims experts all agree AI will solve P vs NP by 2030.
What This Means for Students and Curious Readers
You do not need to be a complexity theorist to follow this story well. Here is how to make the most of it.
Read AI math headlines like a scientist
- Ask what exactly was proved. A bound, a special case or the full problem?
- Check the verification status. Lean-certified, peer reviewed, or just announced?
- Look for independent experts. Quotes from people outside the company matter most.
- Watch for “cousin” problems. ETH and VP vs VNP are related to P vs NP, not the same thing.
Build the math that makes this readable
- Big-O and exponential growth are the language of P vs NP. Our post on exponential growth is a friendly start.
- Logic and proof skills from algebra and geometry class are exactly what Lean formalizes.
- Practice puzzles like Sudoku and think about why checking is easier than solving. That intuition is the heart of the problem.
Keep perspective
AI is producing real mathematical results, faster than almost anyone predicted. But P vs NP is a question about the limits of computation itself, and its known barriers make it a different kind of challenge. The best prediction anyone can honestly give is this: if it falls to AI, it will be checked by machines, debated by humans, and probably announced long before it is fully understood.
Quick Quiz: AI and P vs NP
Check your understanding of where AI stands on P vs NP.
Answer each question and press Submit to see your result right away.
Answer each question and press Submit to see your result right away.
Frequently Asked Questions
Tap a question to see the answer.
Has P vs NP been solved?
No. As of the latest reports, P vs NP remains open. AI-related results in 2026 refuted the Exponential Time Hypothesis and claimed VP ≠ VNP, but neither settles P vs NP.
Is P vs NP harder than the Riemann Hypothesis?
Nobody can measure this precisely. P vs NP has proven barriers that rule out whole families of techniques, which makes many experts think it needs fundamentally new ideas. The Riemann Hypothesis has now been certified in Lean, while P vs NP has no comparable breakthrough.
What happens to cryptography if P = NP?
Stephen Cook's Clay description notes that many cryptographic assumptions would be false if P equals NP. The real impact would depend on whether the algorithm is practical. A proof that P is not NP would be consistent with those assumptions but would not, by itself, establish the stronger hardness that cryptography needs.
Would an AI get the $1 million Millennium Prize?
It is unclear. Any prize decision would come from the Clay Mathematics Institute, which has not publicly set out how it would treat AI-assisted work. In the Riemann Hypothesis case, the certified proof was released under a human mathematician's name, Levent Alpöge, with Claude credited as a collaborator in news reports.
What is the Exponential Time Hypothesis in simple terms?
ETH was the conjecture that problems like 3-SAT cannot be solved in time much faster than exponential in the number of variables. AI-produced results in late 2026 showed a somewhat faster algorithm, which Lance Fortnow says it is now safe to assume is correct.
What is Valiant's conjecture?
Valiant's conjecture, from 1979, says VP is not equal to VNP, meaning some polynomials like the permanent cannot be computed by small arithmetic circuits. Anthropic posted a Claude-authored paper claiming a proof in November 2026, which still needs human verification.
Can AI write a fake proof that looks real?
Yes. Language models can produce long, confident arguments that contain errors. That is why formal verification in systems like Lean, plus expert review of the formal statement, has become central to judging AI math claims.
Do most computer scientists think P equals NP?
No. In William Gasarch's 2019 poll, 88% of respondents believed P does not equal NP. A minority think P could equal NP, often with algorithms too slow to be practical.
Will AI replace complexity theorists?
Current evidence points to collaboration. The Riemann Hypothesis work involved months of human guidance, and experts such as Impagliazzo, Paturi and Williams worked to verify the ETH result. Humans are still needed to choose problems, vet statements and understand the ideas.
Sources and Further Reading
- Euronews: AI just cracked the biggest maths problem of all time. What does it mean?
- Lean Community Blog: Lean verification of the Riemann Hypothesis
- The Star (New York Times): How AI just blew up a key tenet of computer science
- Computational Complexity blog: The Exponential Time Refutation
- Computational Complexity blog: Respect the P v NP Problem
- Interesting Engineering: Claude claims to prove VP not equal VNP in Valiant's conjecture
- Clay Mathematics Institute: The P versus NP Problem (Stephen Cook)
- SIGACT News: Gasarch's third P vs NP poll
Related to This Article
More math articles
- Free Grade 4 English Worksheets for West Virginia Students
- A wage change creates substitution and income effects in labor supply
- Corrected Calcium Calculator
- Interwar Diplomacy: Washington Treaties to Kellogg-Briand
- The Best Grade 8 Math Book for New Jersey Students
- Pre-Algebra Flashcards
- Shortage and surplus describe plans at a price
- How to Help Your Child with Math Homework (When You Forgot How to Do It)
- Converting Units of Capacity for 4th Grade
- Free Grade 8 English Worksheets for Maine Students















What people say about "Will AI Solve P vs NP? What Experts Actually Say"?
No one replied yet.