My mind struggles to imagine what a world where P=NP would look like. Is there any speculative writing about this? Even if said polynomial time to prove something isn't practical, it would still probably have far-reaching consequences.
Yes! See discussion of Impagliazzo's five worlds:
- https://en.wikipedia.org/wiki/Russell_Impagliazzo#Five_world...
- https://www.quantamagazine.org/which-computational-universe-...
- https://gwern.net/doc/cs/cryptography/1995-impagliazzo.pdf
It depends.
If P=NP with a trivial algorithm? Unplug every internet connected device you own and live like it's the 70s again for at least a year.
If P=NP but the algorithm has constants such that it is worse than brute force on equations where the number of variables has fewer than a million digits? Nothing tangibly changes.
Here's some speculative writing:
If P=NP, then once you know what the desired solution looks like, your solution isn't far away.
"Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you" -- Matthew 7:7
In fact, once you realize the "trouble" with NP problems is that they're discrete and combinatorial, meaning that there's no general way to "get closer" to a solution, unlike more continuous problems where you can simply look at the slopes and find a (local) minima easily -- these days we call this gradient descent.
AI breakthroughs in the past decade were in a large part due to the realization that gradient descent goes a very long way if you get enough data and compute.
If P=NP then perhaps even combinatoric problems would get a similar boost.
> Is there any speculative writing about this?
look up "The golden ticket : P, NP, and the search for the impossible" book
> My mind struggles to imagine what a world where P=NP would look like.
I think a world with an O(n^1000) algorithm for an NP-complete problem would look pretty similar to our own.