Theory Lecture 12 - Turing Machines
Theory Lecture 12 - Turing Machines
In this video
Turing Machines
Universal Machines
Entscheidungsproblem
Is there a definite method or process by which all mathematical questions can be decided? - David
Hilbert
• A conceptual idea.
• A theoretical machine that can carry out any algorithm.
Turing Machines
A Turing Machine consists of:
• An alphabet of symbols
- δ (S0,□) = (SH, 1, R)
- δ (S0,0) = (S0, 0, R)
- δ (S0,1) = (S1, 1, R)
- δ (S1,□) = (SH, 0, R)
- δ (S1,0) = (S1, 0, R)
- δ (S1,1) = (S0, 1, R)
- δ (S0,A) = (SH, C, L)
- δ (S0,B) = (S0, A, L)
- δ (S0,C) = (S1, B, L)
- δ (S1,A) = (S0, C, R)
- δ (S1,B) = (S1, B, R)
- δ (S1,C) = (S0, C, R)
Given the initial configuration shown and starting at S0, what is the configuration after ten steps?
It is easy to get mixed up when trying to find the output of a Turing Machine
- δ (S0,1) = (S1, □, L)
- δ (S0, □) = (SH, 1, R)
- δ (S1,0) = (S1, □, L)
- δ (S1,1) = (S1, □, R)
- δ (S1, □) = (S0, 0, L)
Given the initial configuration below and starting at S0, what is the configuration after ten steps?
https://sway.office.com/ZRP7Xm429vw3KTei#content=rNJpQSrOHweZTQ
Universal Machine
A Turing Machine can be used for any computable problem
The more operations you want to perform, the more you need!
A universal machine takes in inputs, and a description of all of the Turing Machines (transitions) required
for the operation.
Like several Turing Machines all linked together – can do anything described by those machines.
Why do we do this?
Extra Resources