In computability theory, the mortality problem is a decision problem related to the halting problem. For Turing machines, the halting problem can be stated as follows: Given a Turing machine, and a word, decide whether the machine halts when run on the given word.
In contrast, the mortality problem for Turing machines asks whether all executions of the machine, starting from any configuration, halt.
In the statement above, a configuration specifies both the machine's state (not necessarily its initial state), its tape position and the contents of the tape. While we usually assume that in the starting configuration all but finitely many cells on the tape are blanks, in the mortality problem the tape can have arbitrary content, including infinitely many non-blank symbols written on it.
Philip K. Hooper proved in 1966[1] that the mortality problem is undecidable. This is true both for a machine with a tape infinite in both directions, and for a machine with semi-infinite tape. Note that this result does not directly follow from the well-known total function problem (Does a given machine halt for every input?), since the latter problem concerns only valid computations (starting with an initial configuration).
The variant in which only finite configurations are considered is also undecidable, as proved by Herman,[2] who calls it ''the uniform halting problem''. He shows that the problem is not just undecidable, but -complete.
Additional Models
editThe problem can naturally be rephrased for any computational model in which there are notions of "configuration" and "transition". A member of the model will be mortal if there is no configuration that leads to an infinite chain of transitions. The mortality problem has been proved undecidable for:
- Semi-Thue systems and Markov algorithms.[1]
- Counter machines[3]
- Dynamical systems over or or , for , where the transition function is piecewise linear[4][5] (here, an arbitrary point, e.g., the origin, is selected as a halting state).
References
edit- ^ a b Hooper, P. "The undecidability of the Turing machine immortality problem". Journal of Symbolic Logic. 31 (2): 219–234. doi:10.2307/2269811.
- ^ Herman, Gabor. "A simple solution of the uniform halting problem". Journal of Symbolic Logic. 34 (4): 639–640. doi:10.2307/2270856.
- ^ Kurtz, Stuart A.; Simon, Janos (2007). "The undecidability of the generalized Collatz problem". International Conference on Theory and Applications of Models of Computation, TAMC 2007. doi:10.1007/978-3-540-72504-6_49.
- ^ Blondel, Vincent D.; Bournez, Olivier; Koiran, Pascal; Papadimitriou, Christos H.; Tsitsiklis, John N. (2001-03-28). "Deciding stability and mortality of piecewise affine dynamical systems" (PDF). Theoretical Computer Science. 255 (1): 687–696. doi:10.1016/S0304-3975(00)00399-6. ISSN 0304-3975.
- ^ Ben-Amram, Amir M. (2015-01-01). "Mortality of iterated piecewise affine functions over the integers: Decidability and complexity". Computability. 4 (1): 19–56. doi:10.3233/COM-150032. ISSN 2211-3568.