Lecture 5 Turing Machines

Slides:



Advertisements
Similar presentations
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.
Advertisements

Lecture 16 Deterministic Turing Machine (DTM) Finite Control tape head.
Variants of Turing machines
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.
CS605 – The Mathematics and Theory of Computer Science Turing Machines.
Applied Computer Science II Chapter 3 : Turing Machines Prof. Dr. Luc De Raedt Institut für Informatik Albert-Ludwigs Universität Freiburg Germany.
1 Introduction to Computability Theory Lecture14: Recap Prof. Amos Israeli.
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 ).
CS5371 Theory of Computation Lecture 11: Computability Theory II (TM Variants, Church-Turing Thesis)
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
CS 310 – Fall 2006 Pacific University CS310 Turing Machines Section 3.1 November 6, 2006.
Computation Theory Introduction to Turing Machine.
CS Master – Introduction to the Theory of Computation Jan Maluszynski - HT Lecture 1 Introduction Jan Maluszynski, IDA, 2007
Turing Machines.
CS Master – Introduction to the Theory of Computation Jan Maluszynski - HT Lecture 6 Decidability Jan Maluszynski, IDA, 2007
CS Master – Introduction to the Theory of Computation Jan Maluszynski - HT Lecture 8+9 Time complexity 1 Jan Maluszynski, IDA, 2007
CS Master – Introduction to the Theory of Computation Jan Maluszynski - HT Lecture NP-Completeness Jan Maluszynski, IDA, 2007
January 28, 2015CS21 Lecture 101 CS21 Decidability and Tractability Lecture 10 January 28, 2015.
Prof. Busch - LSU1 Turing Machines. Prof. Busch - LSU2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
1 Turing Machines. 2 A Turing Machine Tape Read-Write head Control Unit.
AUTOMATA THEORY VIII.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
Turing Machines A more powerful computation model than a PDA ?
Ding-Zhu Du Office: ECSS 3-611, M 3:15-4:30 Lecture: ECSS 2.311, MW 12:30-1:45.
Complexity theory and combinatorial optimization Class #2 – 17 th of March …. where we deal with decision problems, finite automata, Turing machines pink.
Introduction to CS Theory Lecture 15 –Turing Machines Piotr Faliszewski
Turing Machines. Intro to Turing Machines A Turing Machine (TM) has finite-state control (like PDA), and an infinite read-write tape. The tape serves.
The Church-Turing Thesis Chapter 3 Giorgi Japaridze Theory of Computability.
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.
CS Master – Introduction to the Theory of Computation Jan Maluszynski - HT Lecture 7 Undecidability cont. Jan Maluszynski, IDA, 2007
CSC 3130: Automata theory and formal languages Andrej Bogdanov The Chinese University of Hong Kong Turing Machines.
Computability Review homework. Video. Variations. Definitions. Enumerators. Hilbert's Problem. Algorithms. Summary Homework: Give formal definition of.
Lecture 24UofH - COSC Dr. Verma 1 COSC 3340: Introduction to Theory of Computation University of Houston Dr. Verma Lecture 24.
1 Turing Machines - Chap 8 Turing Machines Recursive and Recursively Enumerable Languages.
Automata & Formal Languages, Feodor F. Dragan, Kent State University 1 CHAPTER 3 The Church-Turing Thesis Contents Turing Machines definitions, examples,
1 Introduction to Turing Machines
1 CD5560 FABER Formal Languages, Automata and Models of Computation Lecture 12 Mälardalen University 2007.
Umans Complexity Theory Lectures Lecture 1b: Turing Machines & Halting Problem.
The Church-Turing Thesis
Turing Machines CS 130 Theory of Computation HMU Textbook: Chap 8.
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
FORMAL LANGUAGES, AUTOMATA, AND COMPUTABILITY * Read chapter 4 of the book for next time * Lecture9x.ppt.
Recursively Enumerable Languages
8. Introduction to Turing Machines
ماشین های تورینگ، تشخیص پذیری و تصمیم پذیری زبان ها
Busch Complexity Lectures: Turing Machines
COSC 3340: Introduction to Theory of Computation
CS21 Decidability and Tractability
CSCI 2670 Introduction to Theory of Computing
COSC 3340: Introduction to Theory of Computation
Turing Machines 2nd 2017 Lecture 9.
CSE 105 theory of computation
Turing Machines Acceptors; Enumerators
Chapter 3: The CHURCH-Turing thesis
Intro to Theory of Computation
8. Introduction to Turing Machines
CS21 Decidability and Tractability
CS21 Decidability and Tractability
COSC 3340: Introduction to Theory of Computation
Decidability and Tractability
CSE 105 theory of computation
Variants of Turing machines
Intro to Theory of Computation
CSE 105 theory of computation
Presentation transcript:

Lecture 5 Turing Machines Jan Maluszynski, IDA, 2007 http://www.ida.liu.se/~janma janma @ ida.liu.se Jan Maluszynski - HT 2007

Motivation/Example of TM Formal Definition Multitape Turing Machines Outline Motivation/Example of TM Formal Definition Multitape Turing Machines Nondeterministic Turing Machines Enumerators Turing-computable functions Church-Turing thesis Other models Jan Maluszynski - HT 2007

One head scanning a cell, moving right/left Basic Turing Machine Half-infinite tape One head scanning a cell, moving right/left Content of the scanned cell can be changed while head is moving Finite number of states Moves controlled by the content of the scanned cell and actual state Jan Maluszynski - HT 2007

Example TM Jan Maluszynski - HT 2007

(Q,, , , q0 , qaccept , qreject ) Q set of states Turing Machine (Q,, , , q0 , qaccept , qreject ) Q set of states  input alphabet not containing  (the blank symbol)  tape alphabet including ;  : QQ{L,R} transition function q0 the start state qaccept the accepting state qreject the rejecting state Qaccept  Qreject No transitions out from accept and reject states Jan Maluszynski - HT 2007

Example of a two-tape TM Multitape TM Example of a two-tape TM Jan Maluszynski - HT 2007

Example of a non-deterministic TM Jan Maluszynski - HT 2007

Variants of TMs are equivalent Every multitape TM has an equivalent single-tape TM Every non-deterministic TM has an equivalent deterministic TM Every TM with doubly infinite tape has an equivalent TM with half-infinite tape. A language is Turing-recognizable iff some TM enumerator enumerates it. Jan Maluszynski - HT 2007

L is Turing decidable if L=L(M) for some TM that halts on every input Uses/kinds of TMs Language recognizer: L is Turing recognizable if L=L(M) for some TM: for some strings M may loop Language decider: L is Turing decidable if L=L(M) for some TM that halts on every input Language enumerator : Starts with empty tape enumerates all strings of L Function computing device: Transforms a given input string to an output string Jan Maluszynski - HT 2007

Intuitive notion of algorithm -> TM algorithm Church-Turing thesis A function is effectively computable iff there is a Turing machine that computes it. Intuitive notion of algorithm -> TM algorithm Other formal models of computations: Lambda-calculus Partial recursive functions Random-Access machines ….. have been proved equivalent to the TM model. Jan Maluszynski - HT 2007