Skip to content
Vibe Math Lab.

Explainer

What is P vs NP? A plain explanation

P vs NP asks whether every problem whose answers are quick to check is also quick to solve. It has been open since 1971, and the Clay Mathematics Institute offers $1 million for a solution. Below it is explained from zero with one small puzzle, followed by how it relates to the AI claims of autumn 2026, none of which settles it.

I'm Tyler Orden, an independent researcher who does mathematics with AI agents. My research record is at Cyborg Mathematics.

P vs NP is the best-known open question in computer science. In plain words: if a computer can check an answer quickly, can it always find an answer quickly too? Most researchers expect the answer is no, but no one has proved it either way. Stephen Cook stated the question precisely in 1971, Leonid Levin found it independently in the Soviet Union, and in 2000 the Clay Mathematics Institute made it one of its seven Millennium Prize Problems, famous open problems with $1 million offered for each; of the seven, only the Poincaré conjecture has been solved.

What "quickly" means

Computer scientists measure speed by how the number of steps grows with the size of the input, n. A method runs in polynomial time if its number of steps grows at most like a fixed power of n, such as n² or n³; that counts as quick. For an input of 100 items, n³ is a million steps, which a laptop does in well under a second. A method that tries every possibility often needs about 2^n steps, which doubles with every extra item: 2^10 is about a thousand, 2^50 about a million billion, and 2^100 more than 10^30. That counts as slow, however fast the computer.

P and NP

P is the class of yes-or-no questions that a computer can answer in polynomial time. Sorting a list, finding the shortest route between two places on a map, and testing whether a number is prime are all in P.

NP is the class of yes-or-no questions where, whenever the answer is yes, there is evidence for it that a computer can check in polynomial time. The N stands for "nondeterministic", after an imagined machine that could guess the evidence and then check it; it does not stand for "not". Every question in P is also in NP, since a computer can check a yes answer by working it out. P vs NP asks whether the two classes are the same.

One worked example: picking numbers that add up to a target

Take the numbers 3, 34, 4, 12, 5 and 2. Can you pick some of them that add up to exactly 9? Checking a proposed answer is easy: if someone says 4 and 5, you add two numbers and see 9. (3, 4 and 2 also works.) Finding an answer is another matter. Six numbers allow 2^6 = 64 different selections, and trying them all is fine. A hundred numbers allow 2^100 selections, more than 10^30, and trying them all is out of reach for any computer. When the numbers themselves are small, a trick that keeps track of which totals can be reached is fast, but for numbers with many digits no method is known that runs in polynomial time on every input.

This puzzle, called subset sum, is in NP because a yes answer comes with evidence that is quick to check: the selection itself. If P = NP, there would be a method that finds such a selection in polynomial time.

NP-complete problems

In 1971 Cook showed that one problem, satisfiability, is as hard as anything in NP: every question in NP can be translated into it in polynomial time. Satisfiability asks whether some setting of true and false values makes a given logical formula true. Its version 3-SAT, in which each condition mentions at most three variables (for example, "x or y or not z"), is just as hard. In 1972 Richard Karp showed the same for a list of 21 problems, and thousands are now known, including subset sum, the yes-or-no version of the traveling salesman problem, and Sudoku on boards of any size. These are the NP-complete problems. They stand or fall together: a polynomial-time method for any one of them would give one for everything in NP, so P would equal NP, and a proof that any one of them has no such method would show that P ≠ NP.

Why it matters

If P = NP with a practical method, many search problems in scheduling, chip design and logistics would become easy, and much of today's cryptography, which relies on problems that are easy to check but hard to solve, would be in danger: a secret key is quick to check once you have it, and a practical method for P = NP would make finding it quick too. If P ≠ NP, as most researchers expect, it would confirm that for thousands of important problems no fast general method exists, and that finding answers is genuinely harder than checking them. Either way, a proof would need new ideas: researchers have shown that several broad families of proof techniques cannot settle the question on their own. Arora and Barak's textbook, listed under Sources, covers these barriers.

How this year's AI claims relate to it

In autumn 2026 Anthropic posted two AI-written papers on problems close to P vs NP, and OpenAI posted a paper on the first of the two problems the same day. None of them settles P vs NP. Anthropic's ETH paper says its result does not bear on P vs NP directly, and its VP vs VNP paper says it does not settle P vs NP.

  • The Exponential Time Hypothesis says that 3-SAT needs time that grows exponentially in the number of variables. It is a stronger statement than P ≠ NP: if it is true, then P ≠ NP. Papers from Anthropic and OpenAI posted on October 26, 2026 claim to refute it, by giving a method whose running time grows more slowly than any exponential, written 2^o(n), though as far as anyone knows still far slower than any polynomial. That would leave P vs NP open, because a method can beat every exponential and still be far too slow to show P = NP, as one taking about 2^√n steps would.
  • VP vs VNP is the algebraic version of P vs NP, for computations that may only add and multiply. Anthropic's paper of November 23, 2026 claims to prove VP ≠ VNP. No implication from that to P ≠ NP is known.

I use Claude, Anthropic's AI model, for my own research. I do not work for Anthropic.

Short answers

What is P vs NP in simple terms?

It asks whether every yes-or-no problem whose yes answers can be checked quickly by a computer can also be solved quickly. "Quickly" means in polynomial time: a number of steps that grows at most like a fixed power of the input size.

Has P vs NP been solved?

No. As of November 2026 no proof either way has been accepted, and the Clay Mathematics Institute lists it as an unsolved Millennium Prize Problem with a $1 million prize.

Did AI solve P vs NP?

No. AI-written papers posted in autumn 2026 claim results on two nearby problems, the Exponential Time Hypothesis and VP vs VNP, and neither paper settles P vs NP, as the papers themselves say.

What would happen if P = NP?

Every problem whose answers are quick to check would also be quick to solve. If the method were practical, many search problems would become easy and much of today's cryptography would be at risk. Most researchers expect that P ≠ NP.

What is an NP-complete problem?

A problem in NP that every other problem in NP can be translated into in polynomial time, such as 3-SAT, subset sum or Sudoku on boards of any size. A fast method for any one of them would give fast methods for all of NP.