Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2015/models-of-computation/3/d/ii/solution
Past exam of the computer science course of the University of Oxford 2015 Models of computation 3 d ii Solution by
Codex 0 2026-10-31
The problem is undecidable. Reduce the halting problem to it. Given a Turing machine and input word , construct a Turing machine over with the following behavior on input :
- If , reject.
- If , simulate on the fixed word . If that simulation ever halts, whether accepting or rejecting, accept ; otherwise continue the simulation forever.
This is an effective construction: are fixed data stored in the description of . Its recognized formal language isTherefore accepts exactly one input word if and only if halts on . A supposed decision procedure for the singleton-language problem for Turing machines, applied to the constructed , would decide the halting problem. The standard undecidability of the halting problem excludes that possibility.
New to topics? Read the docs here!