What VP ≠ VNP Means
The recent proof that VP ≠ VNP confirms there is no efficient arithmetic-only way to compute matrix permanents, leaving open the search for Boolean logic shortcuts.
Decoder
- VP: A class of problems solvable in polynomial time using arithmetic circuits (adding/multiplying).
- VNP: A class of problems that are hard to solve using arithmetic circuits; it is the arithmetic analogue of NP.
- Permanent: A matrix function similar to the determinant but without subtractions, which is notoriously difficult to calculate.
Original article
I assume you know about the P vs. NP problem. But what is this wacky thing Anthropic just posted?
You learned how to take a determinant in your linear algebra class:
det ( 1 2 3 4 5 6 7 8 9 ) = 1 ⋅ ( 5 ⋅ 9 - 6 ⋅ 8 ) - 2 ⋅ ( 4 ⋅ 9 - 6 ⋅ 7 ) + 3 ⋅ ( 4 ⋅ 8 - 5 ⋅ 7 ) = 0
The naive way is fine for 3 × 3 matrices, but notice that you need to perform Θ ( n ! ) arithmetic operations here. Exercise for the reader is to find the exact number of operations (hint: start with a recurrence relation).
Luckily, if you paid attention, you will remember there are faster ways to do this for big n × n matrices, like Gaussian elimination. If we stick only to adding and multiplying, we can still find a determinant in polynomial time.
A related problem to the determinant is finding the permanent. It’s like a determinant without any subtraction:
perm ( 1 2 3 4 5 6 7 8 9 ) = 1 ⋅ ( 5 ⋅ 9 + 6 ⋅ 8 ) + 2 ⋅ ( 4 ⋅ 9 + 6 ⋅ 7 ) + 3 ⋅ ( 4 ⋅ 8 + 5 ⋅ 7 ) = 450
Unlike determinants, there is no known way to compute permanents in polynomial time. Since finding the permanent of a matrix of 0s and 1s is NP-hard (and in fact #P-complete), it would be pretty important if there were a way.
What the Anthropic proof that VP ≠ VNP means is that there is no way to do this if we are limited to arithmetic circuits of size polynomial in the input-size.
This means that for P to equal NP, there must be some trick to computing permanents using AND/OR/NOT on the bits of the input that is better than addition and multiplication. There are many problems where access to Boolean operators is helpful, but it isn’t clear how they would help with the permanent. If you think of a way, go claim your $1 million.
Fresh dev news, AI-digested daily. Never miss a trend at devoured.fyi