logoalt Hacker News

dlubarov • yesterday at 11:50 PM • 0 replies • view on HN

If we knew P = NP, in principle we could write a trivial "universal witness search" program that enumerates all programs, simulating each one a bit at a time.

For a fixed problem, the winning program string is at a constant position in the enumeration, so the difficulty of reaching it is technically a constant factor.

It wouldn't give us "no" answers in polynomial time, but if we already know that e.g. Satoshi's wallet has a private key, then we'd be guaranteed to find it in polynomial time.