logoalt Hacker News

daeken • last Wednesday at 8:23 PM • 2 replies • view on HN

No one has ever proven it to be unprovable, but I've often wondered the same thing. That said, "asking if an algorithm always terminates" is something we do all the time, and that's not unprovable; the halting problem refers to a system able to decide if any arbitrary algorithm terminates. You can "solve the halting problem" on individual cases, but can't do it for everything.


Replies

mafuy • last Wednesday at 8:54 PM

To add a technical detail: This is true, iff you assume that a program (I prefer that term over algorithm) is static, i.e. does not receive any input. This is commonly assumed, which I think is why parent did not mention it.

Without the assumption, a WINE or NES64 emulator would be a trivial counterexample to the claim.

➕ show 4 replies
gaflo • last Wednesday at 9:38 PM

It can't be proven to be unprovable. If it were false, there would be a counter-example.

➕ show 2 replies