![]() |
| Not all doors are ready to open. Image courtesy of Cliff Pickover. |
With the proof of the Riemann Hypothesis, the P v NP problem takes its place as the biggest open problem in all of mathematics (if you disagree, that's why we have a comment section) and has drawn new interest in the problem and even in this blog. Let me welcome our new readers and give you my take on P v NP. TLDR: If you are expecting AI to settle the P v NP question soon, don't hold your breath.
A quick primer on the P v NP problem:
Suppose you work at Meta and Mark comes to you and asks you to find a 300 person clique in Facebook, i.e., 300 users who are all friends with each other. How would you go about finding the answer to that question? You have access to the entire Facebook graph, who is friends with whom. You now need to write an algorithm to find that large clique of friends. You could try all groups of size 300, but there are far too many such groups to search them all. You could try something smarter, perhaps starting with small groups and merging them into bigger groups but nothing you do seems to work well. In fact nobody knows a significantly faster algorithm than trying all the groups.
There are similar problems such as 3-coloring a map such that no two neighboring countries share the same color and traveling salesman, finding a tour through a list of cities visiting them in the shortest distance possible using any order, or finding a satisfying assignment to a Boolean formula. Turns out these problems, and tens of thousands of others are all equivalent, reducible to each other. Either we have a fast way to solve them all, or no way to efficiently solve any of them.
There are two ways to think of P v NP, either as the informal definition above or the formal mathematical Clay Millennium Prize problem that every problem in nondeterministic polynomial time (NP) is also computable in deterministic polynomial time (P). They are the same in spirit but could go different ways: We could have P = NP with an algorithm too slow to ever use, while P ≠ NP could coexist with SAT solvers and neural nets that work just fine on the problems we actually care about.
I have held strong beliefs about P v NP for many years that have not wavered even in this AI age.
- P ≠ NP
- I won't see a proof in my lifetime by man or machine
- I would be happy to be wrong on either of these
