CSCI 2670 Introduction to Theory of Computing

Slides:



Advertisements
Similar presentations
Measuring Time Complexity
Advertisements

Turing Machines Memory = an infinitely long tape Persistent storage A read/write tape head that can move around the tape Initially, the tape contains only.
Lecture 16 Deterministic Turing Machine (DTM) Finite Control tape head.
Variants of Turing machines
THE CHURCH-TURING T H E S I S “ TURING MACHINES” Pages COMPUTABILITY THEORY.
Foundations of (Theoretical) Computer Science Chapter 3 Lecture Notes (Section 3.2: Variants of Turing Machines) David Martin With.
CSC 3130: Automata theory and formal languages Andrej Bogdanov The Chinese University of Hong Kong Variants.
Measuring Time Complexity Sipser 7.1 (pages )
More Turing Machines Sipser 3.2 (pages ). CS 311 Fall Multitape Turing Machines Formally, we need only change the transition function to.
1 Introduction to Computability Theory Lecture11: Variants of Turing Machines Prof. Amos Israeli.
More Turing Machines Sipser 3.2 (pages ).
Turing’s Thesis Fall 2006 Costas Busch - RPI.
Lecture 5 Turing Machines
CS 310 – Fall 2006 Pacific University CS310 Variants of Turing Machines Section 3.2 November 8, 2006.
Costas Busch - LSU1 Non-Deterministic Finite Automata.
1 Turing Machines. 2 A Turing Machine Tape Read-Write head Control Unit.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
CSCI 2670 Introduction to Theory of Computing September 28, 2005.
REGULAR LANGUAGES.
CSCI 3130: Automata theory and formal languages Andrej Bogdanov The Chinese University of Hong Kong Variants.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
Automata & Formal Languages, Feodor F. Dragan, Kent State University 1 CHAPTER 3 The Church-Turing Thesis Contents Turing Machines definitions, examples,
CSCI 2670 Introduction to Theory of Computing October 12, 2005.
D E C I D A B I L I T Y 1. 2 Objectives To investigate the power of algorithms to solve problems. To explore the limits of algorithmic solvability. To.
CSC 3130: Automata theory and formal languages Andrej Bogdanov The Chinese University of Hong Kong Turing Machines.
1 Turing Machines and Equivalent Models Section 13.1 Turing Machines.
Summary of Previous Class There are languages that are not decidable –(we have not proved this yet) Why not extend Turing machines just as we did with.
The Church-Turing Thesis
CSCI 2670 Introduction to Theory of Computing September 29, 2005.
Theory of Computational Complexity TA : Junichi Teruyama Iwama lab. D3
CSCI 2670 Introduction to Theory of Computing November 15, 2005.
Turing’s Thesis.
Turing’s Thesis Costas Busch - LSU.
CSCI 2670 Introduction to Theory of Computing
CSCI 2670 Introduction to Theory of Computing
More variants of Turing Machines
CSCI 2670 Introduction to Theory of Computing
ماشین های تورینگ، تشخیص پذیری و تصمیم پذیری زبان ها
Non Deterministic Automata
CSCI 2670 Introduction to Theory of Computing
Reductions Costas Busch - LSU.
Turing Machines.
CS21 Decidability and Tractability
CSE 105 theory of computation
OTHER MODELS OF TURING MACHINES
Turing’s Thesis Costas Busch - RPI.
CSE 105 theory of computation
Turing Machines Acceptors; Enumerators
فصل سوم The Church-Turing Thesis
By John E. Hopcroft, Rajeev Motwani and Jeffrey D. Ullman
Intro to Theory of Computation
Non-Deterministic Finite Automata
Non Deterministic Automata
CSCI 2670 Introduction to Theory of Computing
The Off-Line Machine Input File read-only (once) Input string
CS21 Decidability and Tractability
Variations of the Turing Machine
Decidability and Tractability
CSCI 2670 Introduction to Theory of Computing
Variants of Turing Machines
CSE 105 theory of computation
Chapter 1 Regular Language
CSCI 2670 Introduction to Theory of Computing
Variants of Turing machines
CSCI 2670 Introduction to Theory of Computing
Intro to Theory of Computation
CSE 105 theory of computation
Presentation transcript:

CSCI 2670 Introduction to Theory of Computing October 5, 2005

Quiz (6 points) Describe a Turing machine that accepts the following language {anbm | n > 0 and m = n – 1} (4 points) Demonstrate how your Turing machine would calculate the string aaabb October 5, 2005

Variants of Turing machines Robustness of model Varying the model does not change the power Example, making finite automata nondeterministic Simple variant of TM model Add “stay put” direction Other variants More tapes Nondeterministic October 5, 2005

Multitape Turing machines Same as standard Turing machine, but have several tapes TM definition changes only in definition of δ δ : Q × Гk → Q × Гk × {L,R}k October 5, 2005

Equivalence of machines Theorem: Every multitape Turing machine has an equivalent single tape Turing machine Proof method: construction October 5, 2005

Equivalent machines M 0 1 ~ ~ ~ ~ ~ ~ a a a ~ ~ ~ ~ ~ a b ~ ~ ~ ~ ~ ~ 0 1 ~ ~ ~ ~ ~ ~ a a a ~ ~ ~ ~ ~ a b ~ ~ ~ ~ ~ ~ # 0 1 # a a a # a b # ~ ~ S October 5, 2005

Simulating k-tape behavior Single tape start string is #w#~#...#~# Each move proceeds as follows: Start at leftmost slot Scan right to (k+1)st # to find symbol at each virtual tape head Make second pass making updates indicated by k-tape transition function When a virtual head moves onto a #, shift string to right October 5, 2005

Corollary Corollary: A language is Turing-recognizable if and only if some multitape Turing machine recognizes it. October 5, 2005

Example Using 2-tape Turing machine, write a copy machine Copy tape 1 to tape 2 Move tape 1 to beginning Accept October 5, 2005