Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 104 4 a Solution Created 2026-10-03 Updated 2026-10-06
We give a finite semigroup presentation using the convention that is blank, the tape is unbounded in both directions, and a transition writes and moves in direction . The Turing machine is deterministic, and the halting state has no outgoing transition. A finite configuration is encoded bywith the head scanning the first symbol of ; if is empty, it scans an implicit blank. Unrepresented cells beyond the boundary markers are blank. An additional generator records completed halting and erasure.
The generators of the semigroup are . Its relations have the following finite families. For every right-moving transition, includeFor every left-moving transition and every tape symbol , includeIf stationary moves are part of the chosen machine model, include for each such move. Include the boundary-padding relations, for every state ,They supply a blank immediately to the left of the head when needed, or at the right boundary when the current scanned cell was implicit. Finally includeWriting for this displayed list, the answer is the explicit finite semigroup presentationAll relations are between nonempty words; no group inverses or empty-word generator are used. The transition families are finite because the transition table and alphabet are finite, and the padding and erasure families are visibly finite. The declared head convention determines which side of a tape symbol carries a state letter.