Hacker News new | ask | show | jobs
by a_cardboard_box 10 days ago
Actually you do get an algorithm! Given an instance of 3-SAT, For N from 1 to infinity, for each Turing Machine with at most N states, run that machine on the 3-SAT instance for N steps and check if it outputs a correct solution. If any machine exists that solves 3-SAT problems in polynomial time, this algorithm is also polynomial, though with absurdly large constants.
1 comments

Right, this algorithm may run until the heat death of the universe without finding the one true polynomial 3-SAT solver. We may have a proof that it exists but that is cold comfort to those of us who want to find it.

In the mean time, your approach may get hung up on lots of false positives which are simply algorithms overfit to the particular 3-SAT instance you chose in step 1.

No need to wait, the algorithm itself is already a true polynomial 3-SAT solver if P=NP. It's also not actually guaranteed it will ever use the output of a true polynomial 3-SAT solver, so you can't actually use it to search for other solvers like you suggested.