What VP ≠ VNP Means (In 3 Minutes)
86 points by vinhnx 2 days ago | 8 comments

articulatepang 3 hours ago
The article says “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.”

This is implying that if P=NP then there must be a polynomial time algorithm for finding the permanent. But that isn’t known to be true. It would be consistent with all known results if P=NP but computing the permanent is still not possible in polynomial time.

Finding the permanent of a 0/1 matrix in polynomial time is stronger than P=NP; it would let you count the number of solutions to NP problems in polynomial time.

reply
newsy-combi 22 minutes ago
Horizontal overflow is so annoying on mobile and 10x worse when it persists in reader view. There's no reason why your equations shouldn't either have overflow-x: auto; which will give them their own horizontal scrollbar instead of abusing the whole page, or just let them wrap, possibly with an indent in the next line/s.
reply
soon_to_be_sb 32 minutes ago
Can someone say how proving P=NP will automatically allow us to crack RSA? Like if we have a public key, just by using the proof of P=NP, can we easily get the private key from it?
reply
2143 13 minutes ago
I’m not qualified to answer this.

(Well my qualification is this – I took a semester of Theory of Computation class about a decade ago and barely managed to pass without screwing up my scholarship in the foreign country I was studying in. Today I write PHP during my day job..)

One way to try to get the private key is to try all possibilities. For an RSA key with 4096 bits, there are 2^4096 possible keys, which I’m told is greater than the number of atoms in the universe.

So you see, this is a O(2^n) operation. ie., the algorithm is “exponential”.

You’ll never finish checking all those combinations before the universe ends, or at least not before the Sun explodes and the Earth ceases to exist as we know it.

Unless you’re really really lucky and a key you try during your lifetime happens to be the actual private key. But the likelihood of that happening is practically zero because of the sheer number of possibilities.

The point is, you have to exhaustively check all possible keys. Exponential.

P=NP means there exists a polynomial time (O(n^k)) algorithm to find the private key. ie., it can be found relatively quickly.

This is all I know. I skipped a lot of details. Experts can chime in.

reply
_heimdall 25 minutes ago
Proving P=NP is theoretical, for starters. It would be an important finding, but it wouldn't immediately break RSA encryption.
reply
NoMoreNicksLeft 22 minutes ago
One NP problem can be transformed into another... if you can solve an NP problem, you can solve all NP problems. It's generally trivial to prove that a particular problem is NP, and many classes of problems have been proven to be NP. P problems can be solved in non-exponential time. That is, if you're cracking some crypto and the crypto were P instead of NP, it wouldn't take you 10 billion years or a Matrioshka brain to do it. Crypto is NP by design. Because, for now, we think NP != P. And if we were wrong about that...
reply
sealthedeal 39 minutes ago
This rocks
reply
grogenaut 22 minutes ago
while definitely a 3 miniute read it's not a tl;dr or simplification, it still requires plenty of math and other background.
reply