Remix.run Logo
▲ eru a day ago

Funnily enough, we already have the optimal algorithms (up to constant factors) to solve any NP hard problem. We just can't prove their running times.

> If it succeeds in proving P=NP, it could break the internet.

You can be pretty sure, that people are already trying this in private. So adding a public attempt doesn't change much.

Another wrinkle: the problems cryptography depends on are largely in the intersection of NP and co-NP, and they are not NP-hard. So you don't even need to collapse NP down to P to potentially break cryptography.

▲crostlybostly a day ago | parent [-]

Calling it “optimal up to a constant factor” is technically correct, but potentially misleading. Those constant factors can be astronomically large and depend on the algorithm being solved. They’re precisely what can make an asymptotically optimal algorithm completely impractical.

▲eru a day ago | parent [-]

> Those constant factors can be astronomically large and depend on the algorithm being solved.

The former: yes. The latter: I'm not so sure. Probably yes, but they don't get that much worse:

You can run your universal algorithm once to find a solution to any NP complete problem (with horrible constant factors). And then you solve any other NP complete problem via the usual reductions, which tend to have very reasonable constant factors.