Halting set 2026-10-06
The halting set of a Turing machine is the set of inputs on which it eventually halts. For a deterministic machine with a designated terminal state, eventual halting is invariant along every transition edge, even when that edge is traversed backwards. This observation justifies passing from forward computations to symmetric equality derivations in a semigroup presentation.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 104 4 b Solution Created 2026-10-03 Updated 2026-10-06
If the Turing machine halts on , follow its computation from . A transition at an already represented cell is one of the corresponding relations. At a boundary, first insert the required blank using a padding relation. Thus the computation gives a finite equality derivation to . Replace by , erase the symbols of using , and erase both boundary markers. This proves in the semigroup.
For the converse, equality in a presented semigroup means a finite sequence of contextual replacements using defining relations in either direction. In any derivation from to , consider the first occurrence of the special symbol . Before it occurs, the erasure relations cannot be used in either direction. Each word therefore still has exactly two markers , exactly one state letter, and the form . Both directions of a transition relation join configurations linked by one actual machine step; both directions of a boundary-padding relation merely change how much blank tape is represented.
The first occurrence of must come from in the forward direction. Hence the initial configuration is connected, by transitions in either direction and harmless padding, to a configuration in state . For a deterministic Turing machine, the property of eventually reaching is invariant along each transition edge: if is a step, then halts if and only if halts, since that step is the unique next step of and is not already in the halting state. The same property is unchanged by padding. A finite path of these edges to therefore shows that the initial configuration halts.
ConsequentlyThe invariance argument is necessary because equality in a semigroup presentation allows reversed transitions as well as forward computation steps.