




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Manoj Prabhakaran Mahesh Viswanathan
University of Illinois, Urbana-Champaign
Fall 2008
Machines so far: DFAs, NFAs, PDAs
Machines so far: DFAs, NFAs, PDAs Limitations on how they can use memory: fixed amount of memory, plus (for PDAs) a stack Limitations on what they can compute/decide: only regular languages or context free languages The complete machine?
Machines so far: DFAs, NFAs, PDAs Limitations on how they can use memory: fixed amount of memory, plus (for PDAs) a stack Limitations on what they can compute/decide: only regular languages or context free languages The complete machine? No limitations on memory usage?
Machines so far: DFAs, NFAs, PDAs Limitations on how they can use memory: fixed amount of memory, plus (for PDAs) a stack Limitations on what they can compute/decide: only regular languages or context free languages The complete machine? No limitations on memory usage? But maybe other ways to use computational resources that we haven’t thought of...
No limitation on what they can compute?
Machines so far: DFAs, NFAs, PDAs Limitations on how they can use memory: fixed amount of memory, plus (for PDAs) a stack Limitations on what they can compute/decide: only regular languages or context free languages The complete machine? No limitations on memory usage? But maybe other ways to use computational resources that we haven’t thought of...
No limitation on what they can compute? No! There are far too many languages over { 0 , 1 } than there are “machines” or programs
Machines so far: DFAs, NFAs, PDAs Limitations on how they can use memory: fixed amount of memory, plus (for PDAs) a stack Limitations on what they can compute/decide: only regular languages or context free languages The complete machine? No limitations on memory usage? But maybe other ways to use computational resources that we haven’t thought of... Come up with a model that describes all “conceivable” computation No limitation on what they can compute? No! There are far too many languages over { 0 , 1 } than there are “machines” or programs (as long as machines can be represented digitally)
Alonzo Church, Emil Post, and Alan Turing (1936)
Alonzo Church Emil Post Alan Turing
Church (λ-calculus), Post (Post’s machine), Turing (Turing machine) independently came up with formal definitions of mechanical computation
Alonzo Church, Emil Post, and Alan Turing (1936)
Alonzo Church Emil Post Alan Turing
Church (λ-calculus), Post (Post’s machine), Turing (Turing machine) independently came up with formal definitions of mechanical computation All equivalent! In this course: Turing Machines
X 1 X 2 · · · Xn t t
finite-state control
tape
head
Unrestricted memory: an infinite tape
X 1 X 2 · · · Xn t t
finite-state control
tape
head
Unrestricted memory: an infinite tape A finite state machine that reads/writes symbols on the tape
X 1 X 2 · · · Xn t t
finite-state control
tape
head
Unrestricted memory: an infinite tape A finite state machine that reads/writes symbols on the tape Can read/write anywhere on the tape Tape is infinite in one direction only (other variants possible)
X 1 X 2 · · · Xn t t
finite-state control
tape
head
Unrestricted memory: an infinite tape A finite state machine that reads/writes symbols on the tape Can read/write anywhere on the tape Tape is infinite in one direction only (other variants possible) Initially, tape has input and the machine is reading (i.e., tape head is on) the leftmost input symbol.