Variations of the Turing Machine

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

2 Casa 15m Perspectiva Lateral Izquierda.
Repaso: Unidad 2 Lección 2
1 A B C
Scenario: EOT/EOT-R/COT Resident admitted March 10th Admitted for PT and OT following knee replacement for patient with CHF, COPD, shortness of breath.
Simplifications of Context-Free Grammars
PDAs Accept Context-Free Languages
ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala
AP STUDY SESSION 2.
1
Slide 1Fig 39-CO, p Slide 2Fig 39-1, p.1246.
Select from the most commonly used minutes below.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
By John E. Hopcroft, Rajeev Motwani and Jeffrey D. Ullman
David Burdett May 11, 2004 Package Binding for WS CDL.
CALENDAR.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt BlendsDigraphsShort.
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
Media-Monitoring Final Report April - May 2010 News.
Break Time Remaining 10:00.
Turing Machines.
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
PP Test Review Sections 6-1 to 6-6
Bellwork Do the following problem on a ½ sheet of paper and turn in.
1 The Royal Doulton Company The Royal Doulton Company is an English company producing tableware and collectables, dating to Operating originally.
Operating Systems Operating Systems - Winter 2010 Chapter 3 – Input/Output Vrije Universiteit Amsterdam.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
BEEF & VEAL MARKET SITUATION "Single CMO" Management Committee 22 November 2012.
TESOL International Convention Presentation- ESL Instruction: Developing Your Skills to Become a Master Conductor by Beth Clifton Crumpler by.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
Adding Up In Chunks.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
Artificial Intelligence
Before Between After.
Subtraction: Adding UP
: 3 00.
5 minutes.
1 Non Deterministic Automata. 2 Alphabet = Nondeterministic Finite Accepter (NFA)
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
1 Let’s Recapitulate. 2 Regular Languages DFAs NFAs Regular Expressions Regular Grammars.
Speak Up for Safety Dr. Susan Strauss Harassment & Bullying Consultant November 9, 2012.
1 Titre de la diapositive SDMO Industries – Training Département MICS KERYS 09- MICS KERYS – WEBSITE.
Essential Cell Biology
Converting a Fraction to %
Clock will move after 1 minute
famous photographer Ara Guler famous photographer ARA GULER.
PSSA Preparation.
Physics for Scientists & Engineers, 3rd Edition
Select a time to count down from the clock above
Copyright Tim Morris/St Stephen's School
1.step PMIT start + initial project data input Concept Concept.
1 Dr. Scott Schaefer Least Squares Curves, Rational Representations, Splines and Continuity.
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
1 Non Deterministic Automata. 2 Alphabet = Nondeterministic Finite Accepter (NFA)
Turing’s Thesis Fall 2006 Costas Busch - RPI.
Courtesy Costas Busch - RPI1 Turing’s Thesis. Courtesy Costas Busch - RPI2 Turing’s thesis: Any computation carried out by mechanical means can be performed.
1 Variations of the Turing Machine part2. 2 Standard Machine--Multiple Track Tape track 1 track 2 one symbol.
Fall 2004COMP 3351 Turing’s Thesis. Fall 2004COMP 3352 Turing’s thesis: Any computation carried out by mechanical means can be performed by a Turing Machine.
Costas Busch - LSU1 Turing’s Thesis. Costas Busch - LSU2 Turing’s thesis (1930): Any computation carried out by mechanical means can be performed by a.
Turing’s Thesis.
Turing’s Thesis Costas Busch - LSU.
Turing’s Thesis Costas Busch - RPI.
Variations of the Turing Machine
Presentation transcript:

Variations of the Turing Machine

The Standard Model Infinite Tape Read-Write Head (Left or Right) Control Unit Deterministic

Variations of the Standard Model Turing machines with: Stay-Option Semi-Infinite Tape Off-Line Multitape Multidimensional Nondeterministic

The variations form different Turing Machine Classes We want to prove: Each Class has the same power with the Standard Model

Same Power of two classes means: Both classes of Turing machines accept the same languages

Same Power of two classes means: For any machine of first class there is a machine of second class such that: And vice-versa

Simulation: a technique to prove same power Simulate the machine of one class with a machine of the other class Second Class Simulation Machine First Class Original Machine

Configurations in the Original Machine correspond to configurations in the Simulation Machine Original Machine: Simulation Machine:

Final Configuration Original Machine: Simulation Machine: The Simulation Machine and the Original Machine accept the same language

Turing Machines with Stay-Option The head can stay in the same position Left, Right, Stay L,R,S: moves

Example: Time 1 Time 2

Theorem: Stay-Option Machines have the same power with Standard Turing machines

Proof: Part 1: Stay-Option Machines are at least as powerful as Standard machines Proof: a Standard machine is also a Stay-Option machine (that never uses the S move)

Proof: Part 2: Standard Machines are at least as powerful as Stay-Option machines Proof: a standard machine can simulate a Stay-Option machine

Stay-Option Machine Simulation in Standard Machine Similar for Right moves

Stay-Option Machine Simulation in Standard Machine For every symbol

Example Stay-Option Machine: 1 2 Simulation in Standard Machine: 1 2 3

Standard Machine--Multiple Track Tape one symbol

track 1 track 2 track 1 track 2

Semi-Infinite Tape .........

Standard Turing machines simulate Semi-infinite tape machines: Trivial

Semi-infinite tape machines simulate Standard Turing machines: Standard machine ......... ......... Semi-infinite tape machine .........

Standard machine ......... ......... reference point Semi-infinite tape machine with two tracks Right part ......... Left part

Theorem: Semi-infinite tape machines have the same power with Standard Turing machines

The Off-Line Machine Input File read-only Control Unit read-write Tape

Off-line machines simulate Standard Turing Machines: Off-line machine: 1. Copy input file to tape 2. Continue computation as in Standard Turing machine

Standard machine Off-line machine Tape Input File 1. Copy input file to tape

Standard machine Off-line machine Tape Input File 2. Do computations as in Turing machine

Standard Turing machines simulate Off-line machines: Use a Standard machine with four track tape to keep track of the Off-line input file and tape contents

Off-line Machine Tape Input File Four track tape -- Standard Machine Input File head position Tape head position

Theorem: Off-line machines have the same power with Standard machines

Multitape Turing Machines Control unit Tape 1 Tape 2 Input

Tape 1 Time 1 Tape 2 Time 2

Multitape machines simulate Standard Machines: Use just one tape

Standard machines simulate Multitape machines: Standard machine: Use a multi-track tape A tape of the Multiple tape machine corresponds to a pair of tracks

Multitape Machine Tape 1 Tape 2 Standard machine with four track tape Tape 1 head position Tape 2 head position

Reference point Tape 1 head position Tape 2 head position Repeat for each state transition: Return to reference point Find current symbol in Tape 1 Find current symbol in Tape 2 Make transition

Theorem: Multi-tape machines have the same power with Standard Turing Machines

Same power doesn’t imply same speed: Language Acceptance Time Standard machine Two-tape machine

Standard machine: Go back and forth times Two-tape machine: Copy to tape 2 ( steps) ( steps) Leave on tape 1 Compare tape 1 and tape 2 ( steps)

MultiDimensional Turing Machines Two-dimensional tape MOVES: L,R,U,D HEAD U: up D: down Position: +2, -1

Multidimensional machines simulate Standard machines: Use one dimension

Standard machines simulate Multidimensional machines: Standard machine: Use a two track tape Store symbols in track 1 Store coordinates in track 2

Two-dimensional machine Standard Machine symbols coordinates

Standard machine: Repeat for each transition Update current symbol Compute coordinates of next position Go to new position

Theorem: MultiDimensional Machines have the same power with Standard Turing Machines

NonDeterministic Turing Machines Non Deterministic Choice

Time 0 Time 1 Choice 1 Choice 2

Input string is accepted if this a possible computation Initial configuration Final Configuration Final state

NonDeterministic Machines simulate Standard (deterministic) Machines: Every deterministic machine is also a nondeterministic machine

Deterministic machines simulate NonDeterministic machines: Deterministic machine: Keeps track of all possible computations

Non-Deterministic Choices Computation 1

Non-Deterministic Choices Computation 2

Simulation Deterministic machine: Keeps track of all possible computations Stores computations in a two-dimensional tape

NonDeterministic machine Time 0 Deterministic machine Computation 1

NonDeterministic machine Time 1 Choice 1 Choice 2 Deterministic machine Computation 1 Computation 2

Theorem: NonDeterministic Machines have the same power with Deterministic machines

Remark: The simulation in the Deterministic machine takes time exponential time compared to the NonDeterministic machine