Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are infinitely many Turing machines.


But there are only countably many Turing machines, and you only have to evaluate countably many steps of each, so all you need is a counting of NxN.


When do you accept? When do you reject? This is bogus, and can't even solve problems in P in polynomial time.


You accept when you find a Turing machine that outputs something which turns out to be the polynomial-time verifiable certificate for the NP problem.

You never reject, because the requirement was only to accept in polynomial time. (If you prefer, you could reject in exponential time by exhaustive search, of course.)

For another description see here:

http://en.wikipedia.org/wiki/P%3DNP#Polynomial-time_algorith...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: