clankers podcast

VP vs VNP, and what it has to do with P vs NP

Goes with episode 2, Are We Closer to Solving P vs NP?

In November 2026 Anthropic quietly dropped a proof in a GitHub repo, written by Claude, that VP ≠ VNP.

The one-line version is that VP vs VNP is P vs NP for equations that only use addition and multiplication. P vs NP asks whether every puzzle whose answer is quick to check is also quick to solve. VP vs VNP asks whether every equation that is easy to write down is also quick to work out. Most people who study this expect the answer to both to be no. Proving it is the hard part, and for VP vs VNP nobody had managed it in 47 years.

It all comes down to one equation, and the easiest way to meet it is a chore chart. Ana, Ben and Cal have to split the cooking, the dishes and the trash, one chore each. Ana refuses to take out the trash, and nobody wants to eat what Cal cooks. How many ways are there to hand the chores out?

Check or uncheck a box to change who can do what. Each small grid is one way to hand out the chores, and the gold ones work with the boxes as they are. Point at a small grid to see it on the chart.

There are six ways to give three people one chore each, and with the chart as it starts out, three of them work. I’ll call each of the six a pick: one box from each row, no two in the same column.

The same idea works with numbers in the boxes in place of check marks. Give each pick a score by multiplying its three numbers together, then add up the six scores. If a checked box is 1 and an empty one is 0, a pick scores 1 when it works and 0 when it doesn’t, so the total is the count you just saw. That total is called the permanent of the grid (Cauchy 1812).

The same sum with minus signs

The permanent has a famous twin. You take the same six picks and multiply the same numbers, but before adding up you put a minus sign on half of them. In a 3 by 3 grid it is the three picks that slope down to the left. That total is the determinant, and if you ever took linear algebra you have worked out a few by hand.

A grid with bigger numbers in it. The picks and their scores are the same for both totals. The top three slope right and the bottom three slope left, and the only thing the buttons change is the sign on the bottom three.

As a way of counting anything, the determinant makes no sense. For the chore chart as it started out, it comes to −1. But it turns up all over math and physics, so people have needed to compute it for centuries, and 3 by 3 is about the last size where adding up the picks is a sensible way to do it. A 10 by 10 grid has 3,628,800 picks. A 20 by 20 grid has 2,432,902,008,176,640,000.

The determinant has a shortcut

Nobody computes a determinant by adding up picks, because there is a trick. If you subtract a multiple of one row from another row, the determinant doesn’t change. So you keep doing that until everything below the diagonal is zero. Now every pick except one has a zero in it, and the one that’s left is the diagonal.

Three subtractions, then multiply down the diagonal. It gives the same 4 as before without looking at the six picks.

For a 20 by 20 grid this takes a few thousand steps, where adding up the picks would take quintillions. The method is old. A version of it is in a Chinese textbook from about two thousand years ago, and in Europe it ended up with Gauss’s name on it.

The permanent doesn’t

The permanent is the same equation with the signs left off, so it ought to be the easier of the two. Here is the same trick tried on it.

The same grid and the same first move. The determinant is still 4. The permanent was 208 and is now 48.

The minus signs turn out to be what the trick runs on. They make most of the sum cancel, and the canceling is what lets you get the answer without doing the whole sum. When every term is added, nothing cancels.

People have looked for a way around this for a long time. In 1913 George Pólya sent a question to the problems column of a German math journal, and it amounts to asking whether you can cheat. Flip the signs of some of the numbers in the grid, in a fixed pattern, so that the determinant of the doctored grid equals the permanent of the real one. Then the fast method would do the job after all. For a 2 by 2 grid it works: flip one corner. For 3 by 3 you can try it yourself.

Click a number to flip its sign. You are trying to get the determinant of your grid up to 208, the permanent of the original, which means getting all six picks added.

Gábor Szegő answered the same year: it can’t be done for 3 by 3, or for anything bigger. You may have noticed why. Every number is in exactly two of the picks, so each click changes two of the six signs. Three picks are added to begin with, and changing two at a time keeps that number odd, so you can get to five but never to six.

So the fast method can’t be borrowed that cheaply. The best general method anyone has found for the permanent is still more or less Herbert Ryser’s, from 1963, and it takes about 2ⁿ steps for an n by n grid. Every extra row doubles the work.

Drag to change the size of the grid. The times are for a computer doing a billion steps a second. The length of a bar shows how many digits the number of steps has, not the number itself.

At 60 by 60 the determinant takes 72,000 steps. The permanent, done Ryser’s way, takes about two thousand years.

1979: a reason to think it’s hopeless

For most of that time the permanent was just an equation that was annoying to compute. In 1979 Leslie Valiant showed it was more than that. He proved that the permanent can count the answers to any puzzle in NP: how many ways there are to fill in a Sudoku, how many schedules have no conflicts, how many routes come in under a given length. You turn the puzzle into a big grid of numbers by a fixed procedure, and the permanent of that grid gives you the count.

If you can count the answers, you know whether there are any. So a fast way to compute permanents would be a fast way to solve every puzzle in NP, and P would equal NP. Almost nobody thinks that is true.

That is a good reason to believe the permanent is hard. It isn’t a proof, and proofs that no fast method exists are exactly what nobody knows how to write. So Valiant also set up a smaller version of the question, one where a proof looked more possible.

Only adding and multiplying

His idea was to tie the computer’s hands. A real program can do what it likes with its input: compare numbers, branch, loop, pick apart individual digits. In Valiant’s version, the only things you may do with the numbers in the grid are add them and multiply them. What you end up with is a recipe, a list of additions and multiplications that finishes with the answer. Its cost is the number of steps in the list.

Two recipes for the same equation. The one on the left takes 3 steps and the one on the right takes 7.

The same equation can be cheap or expensive depending on the recipe, so the question is always about the cheapest recipe there is, whether or not anyone has found it.

Valiant sorted equations into two classes, now called VP and VNP. The V is for Valiant.

VP holds the equations that have a cheap recipe, where cheap means the cost grows like n³ or n¹⁰ and not like 2ⁿ. The determinant is in VP.

VNP holds the equations you can write as a sum of an enormous number of terms, where each term on its own is cheap. The permanent is the standard example. It has one term for each pick, and each term is n numbers multiplied together.

Everything in VP is also in VNP. The question is whether the permanent is in VP too.

Valiant proved one more thing. The permanent is the hardest equation in VNP, in the same way that SAT, the “master key” puzzle in the episode, is the hardest puzzle in NP. A cheap recipe for the permanent could be turned into a cheap recipe for everything else in VNP. So the two classes are the same if the permanent has a cheap recipe, and different if it doesn’t.

VP ≠ VNP is the claim that it doesn’t. There is no cheap recipe for the permanent, and that includes any that nobody has thought of yet.

What this has to do with P vs NP

The two questions were built to match.

P vs NPVP vs VNP
Aboutpuzzles with yes-or-no answersequations
Allowedany programadding and multiplying
Easy sideP: quick to solveVP: has a cheap recipe
Other sideNP: quick to check an answerVNP: a huge sum of cheap terms
Hardest memberSATthe permanent
Asked1971, by Stephen Cook1979, by Leslie Valiant
Nowopenproof claimed, November 2026

There is also a real link between them. Peter Bürgisser showed in 2000 that if a slightly stronger form of P ≠ NP is true, then VP ≠ VNP has to be true as well. (The stronger form is about circuits, and his proof leans on one unproven assumption. Both are in the notes below.) So VP ≠ VNP was something you would have to be able to prove on the way to P ≠ NP. If you can’t show that the permanent is hard for a machine that only adds and multiplies, you aren’t going to show that Sudoku is hard for a machine that can do anything.

It doesn’t work in the other direction. The add-and-multiply machine is weaker than a real computer, so proving that it can’t do something doesn’t prove that a real computer can’t.

P ≠ NP, in its circuit form, would force VP ≠ VNP. VP ≠ VNP does not force P ≠ NP.

So if the proof is right, a question that has been open since 1979 is settled, and P vs NP is as open as it was the day before. The million-dollar prize is for P vs NP.

I’m calling it a claimed proof, which is also what we call it in the episode. A proof of something this big takes other people a while to check, and nothing here checks it. All this page does is explain what it claims: that the permanent, the equation that counts chore charts, has no cheap recipe.

Details I skipped

What this page calls an equation, a mathematician would call a polynomial: the numbers in the grid combined by adding and multiplying.

“Cheap” has an exact meaning. The number of steps has to grow no faster than some fixed power of n, the size of the grid. VP also asks for the degree of the equation to stay small in the same sense, which rules out things like squaring a number over and over.

Clearing rows uses division, and the add-and-multiply rules don’t allow it. Volker Strassen showed in 1973 that divisions can be taken out of a recipe at a modest cost, and there are other cheap recipes for the determinant that never divide.

All of this is about number systems where 1 + 1 is not 0. Where it is 0, plus and minus are the same thing, the permanent is the determinant, and the permanent is easy.

Pólya’s question has a grown-up version. Can the permanent of an n by n grid be written as the determinant of a larger grid, one that isn’t astronomically larger, filled in with the original numbers and some constants? VP ≠ VNP implies that it can’t.

Bürgisser’s result says that if VP were equal to VNP, every puzzle in NP could be solved by small circuits, one circuit for each size of input. P ≠ NP on its own doesn’t quite rule that out, which is why I said “slightly stronger”. Over the ordinary numbers his proof assumes the generalized Riemann hypothesis, a broader version of the one in episode 1.

Valiant’s two papers from 1979 are “The complexity of computing the permanent” and “Completeness classes in algebra”. Bürgisser’s is “Cook’s versus Valiant’s hypothesis”.

Watch the episode

This is episode 2 of Conversations with Clankers, Are We Closer to Solving P vs NP? I asked Claude to teach me P vs NP from scratch, starting with why checking a Sudoku is easy and solving one isn’t. The video below starts where we get to the new proof, at 13:26. The determinant and the permanent come up at 14:59.

  1. How computer scientists measure hard problems
  2. Checking a Sudoku vs solving one
  3. Writing a program to solve Sudoku
  4. What P and NP mean
  5. Why P = NP is even possible
  6. What breaks if P = NP
  7. Gödel’s letter to von Neumann
  8. Cook, Karp and the master key
  9. How every hard problem turns into the same one
  10. A world where P = NP
  11. Claude’s claimed VP ≠ VNP proof
  12. VP vs VNP: determinant and permanent
  13. The Millennium Prize scoreboard
  14. AlphaFold and good guesses
  15. Can neural networks skip the problem?
  16. Would AGI crack a hard Sudoku?
  17. Wrap

Conversations with Clankers is an animated podcast series where I ask Claude to teach me about breakthroughs in AI, startups, science, math, and history. See all the episodes.