TMs and their Expressive Power




CS254

Chris Pollett

Feb 1, 2017

Outline

Modeling Computation

An Algorithm

Runtime and Robustness

Turing Machines - making scratch pads precise

A diagram of a k tape turing machine

A Real-Life, One-Tape Turing Machine

A photo an a Turing Machine implemented in real-life

Turing Machines -- Finite set of operations/rules

Formal definition

A TM `M` is described by a tuple `(Gamma, Q,delta)` containing:

Machine Operation

In-class Exercise

Palindromes

The book shows how to implement the above algorithm using the formal definition.

Expressive Power of TMs

The Church-Turing thesis states that any implementable computational model can be simulated by a Turing Machine.

Here is a hand-wavy proof that any program written in a language like C or Java could be simulated with a TM.