Turing Machine
Definition. A Turing machine is a seven-tuple where is a finite set of states, the input alphabet, the tape alphabet containing a blank , and the transition function.
The machine works on a tape that is unbounded, writable at any position, and traversable in both directions, which is what separates it from the PDA whose stack is readable only at the top and destroyed by reading. On any input it accepts, rejects, or runs forever, and that third outcome is what splits decidable from Turing-recognizable. Defined in Lecture 6; by the Church-Turing thesis it captures the informal notion of an algorithm.