Re:The 2-Maxsat Problem Can Be Solved in Polynomial Time
by FartyMcFarter on Friday April 28, 2023 @09:27AM
(#35741042)
The RSA challenges are very easy to generate - just generate large random numbers, check if they pass a primality test like Miller-Rabin (this doesn't take long even with a naive implementation). Then multiply two of those that do pass the test, and you're done.
[ Parent
| on HN ]
Re:The 2-Maxsat Problem Can Be Solved in Polynomial Time
by kadoban on Friday April 28, 2023 @12:11PM
(#35743266)
Sure, but presumably they're difficult to solve. I'm saying that if they can _solve_ an unsolved one using this algorithm, that would certainly be compelling.
Re:The 2-Maxsat Problem Can Be Solved in Polynomial Time
by FartyMcFarter on Wednesday May 03, 2023 @06:31AM
(#35800490)
Right - to elaborate, my point was that since:
1- it's easy to generate RSA-like challenges for factoring, a product of two large primes.
2- it's easy to turn these RSA-like challenges into instances of the SAT problem (the canonical NP-complete problem).
3- SAT problems can be reduced to any NP-complete problem.
4- these reductions are known, because the typical proof of NP-completeness is to provide a reduction from another NP-complete problem, which will ultimately end up with SAT if you follow the chain for long enough.
... it follows that it's not too hard to generate hard instances of any NP-complete problem, assuming that factoring itself is a hard problem.