Hacker News new | ask | show | jobs
by jibalt 11 days ago
Indeed. If proving P=NP somehow allowed us to break cryptography, we could just assume P=NP and break cryptography the same way.

Logical thinking is hard and escapes many people.

2 comments

One way of proving P=NP is to come up with a fast algorithm for solving an NP-hard problem. It is not the only way, but for many people it's how they imagine it would be done, hence the jump to conclusions.
Even solving an NP-complete problem, which is easier in general than an NP-hard problem, would do it!

https://en.wikipedia.org/wiki/NP-hardness

As @whatever1 said, "We still have to discover the algorithms".

> for many people it's how they imagine it would be done

I don't think that's the error being made.

The proof could be an algorithm.
Fallacy of affirmation of the consequent.

As @whatever1 said, "We still have to discover the algorithms". Of course discovering a fast algorithm for an NP-complete problem in NP proves P=NP, but it doesn't generally work the other way.

Your comments make it seem you want to make your discussion partners sound dumber than you.

Obviously there could be a proof without the algorithm. That's the difference between the sentence "The proof could be an algorithm." and "The proof would be an algorithm."

Oh I see so the hope is that during the derivation of the proof we will come up with the magical algorithm. This makes sense! Thank you!