Ask HN: Are there programs whose halting status is undecidable?

https://news.ycombinator.com/item?id=9067206
by pjungwir • 11 years ago
6 8 11 years ago

Can you write a program for a Turing machine for which no human will ever know whether it will halt or not? A few rules/assumptions:

- I'm not talking about a program too long to read, because that's boring, but something whose halting status is essentially unknowable. After all what if humans solve aging, solve solar catastrophe, etc.?

- I assume Turing machines have no random number generator, so you can't write a program like "if rand() > 0.5 then halt else spin."

- I'm asking about programs that are not just undecided but undecidable. For instance you could write a computer that halts iff it finds a positive even integer that is not a sum of two primes (cf. Goldbach's conjecture), and no one knows yet whether that program will halt. But who's to say someone won't figure it out in a hundred years? Can you write a program whose halting status is demonstrably undecidable?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com