Hacker News new | ask | show | jobs
by davrosthedalek 46 days ago
Yes, doesn't change the fact that you do not have to hit such a state to have a non-halting program. I already gave an example: a program that continuously writes to the tape will not stop, and since the tape is always different, will not trigger your loop detection.
1 comments

It increments its tape position variable. Its never the same state.

State isnt just tape, its all dependent variables.

Exactly, never the same state. And still doesn't halt. That's the point. You cannot detect all non-halting programs by detecting if they go into the same state again. They can, but don't have to.