Universal Turing Machine
Definition. A universal Turing machine is a Turing machine that takes as input an encoded pair and simulates on , accepting exactly when accepts .
keeps 's tape, state, and head position written on its own tape and repeatedly consults 's transition function to advance them, which is possible because is just a string. One fixed machine therefore runs any machine handed to it as data, which is the idea behind the stored-program computer: Turing described it in 1936, twelve years before the first stored-program computer ran. recognizes but does not decide the acceptance problem : it fails to halt exactly when the machine it simulates fails to halt. Introduced in Lecture 7.