1 IDT Open Seminar ALAN TURING AND HIS LEGACY 100 Years Turing celebration Gordana Dodig Crnkovic, Computer Science and Network Department Mälardalen University.

Slides:



Advertisements
Similar presentations
ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala
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.
Courtesy Costas Busch - RPI1 A Universal Turing Machine.
Turing Machines New capabilities: –infinite tape –can read OR write to tape –read/write head can move left and right q0q0 input tape.
1 Linear Bounded Automata LBAs. 2 Linear Bounded Automata are like Turing Machines with a restriction: The working space of the tape is the space of the.
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
Fall 2004COMP 3351 Turing Machines. Fall 2004COMP 3352 The Language Hierarchy Regular Languages Context-Free Languages ? ?
CS 310 – Fall 2006 Pacific University CS310 Turing Machines Section 3.1 November 6, 2006.
Courtesy Costas Busch - RPI1 Turing Machines. Courtesy Costas Busch - RPI2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
Turing Machines.
1 Computing Functions with Turing Machines. 2 A function Domain: Result Region: has:
1 Foundations of Software Design Fall 2002 Marti Hearst Lecture 29: Computability, Turing Machines, Can Computers Think?
Computability and Complexity 3-1 Turing Machine Computability and Complexity Andrei Bulatov.
Costas Busch - RPI1 Turing Machines. Costas Busch - RPI2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
Fall 2004COMP 3351 A Universal Turing Machine. Fall 2004COMP 3352 Turing Machines are “hardwired” they execute only one program A limitation of Turing.
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
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.
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.
Turing Machines A more powerful computation model than a PDA ?
Turing Machines Chapter Plan Turing Machines(TMs) – Alan Turing Church-Turing Thesis – Definitions Computation Configuration Recognizable vs. Decidable.
1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 12 Mälardalen University 2011.
1 Language Recognition (11.4) and Turing Machines (11.5) Longin Jan Latecki Temple University Based on slides by Costas Busch from the courseCostas Busch.
CSE202: Introduction to Formal Languages and Automata Theory Chapter 9 The Turing Machine These class notes are based on material from our textbook, An.
CSCI 2670 Introduction to Theory of Computing September 28, 2005.
Introduction to CS Theory Lecture 15 –Turing Machines Piotr Faliszewski
1 1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 15-1 Mälardalen University 2012.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI 230 Models of Computation - Turing Machines Dale Roberts, Lecturer.
A Universal Turing Machine
THE CHURCH-TURING T H E S I S “ TURING MACHINES” Part 1 – Pages COMPUTABILITY THEORY.
Turing Machines (13.5) Based on slides by Costas Busch from the course
1 Linear Bounded Automata LBAs. 2 Linear Bounded Automata (LBAs) are the same as Turing Machines with one difference: The input string tape space is the.
1 Turing’s Thesis. 2 Turing’s thesis: Any computation carried out by mechanical means can be performed by a Turing Machine (1930)
1 CD5560 FABER Formal Languages, Automata and Models of Computation Lecture 12 Mälardalen University 2005.
Theory of computing, part 4. 1Introduction 2Theoretical background Biochemistry/molecular biology 3Theoretical background computer science 4History of.
Recursively Enumerable and Recursive Languages
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free 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.
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
Turing Machines Sections 17.6 – The Universal Turing Machine Problem: All our machines so far are hardwired. ENIAC
CS 154 Formal Languages and Computability April 12 Class Meeting Department of Computer Science San Jose State University Spring 2016 Instructor: Ron Mak.
1 Computing Functions with Turing Machines. 2 A function Domain Result Region has:
Chapter 9 Turing Machines What would happen if we change the stack in Pushdown Automata into some other storage device? Truing Machines, which maintains.
Turing Machines CS 130 Theory of Computation HMU Textbook: Chap 8.
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
CS 154 Formal Languages and Computability April 7 Class Meeting Department of Computer Science San Jose State University Spring 2016 Instructor: Ron Mak.
1 A Universal Turing Machine. 2 Turing Machines are “hardwired” they execute only one program A limitation of Turing Machines: Real Computers are re-programmable.
Turing’s Thesis.
Turing’s Thesis Costas Busch - LSU.
A Universal Turing Machine
Busch Complexity Lectures: Turing Machines
COSC 3340: Introduction to Theory of Computation
Pumping Lemma Revisited
Pushdown Automata PDAs
COSC 3340: Introduction to Theory of Computation
Turing’s Thesis Costas Busch - RPI.
Turing Machines 2nd 2017 Lecture 9.
Chapter 9 TURING MACHINES.
Chapter 3: The CHURCH-Turing thesis
فصل سوم The Church-Turing Thesis
Computing Functions with Turing Machines
Theory of computing, part 4
CS21 Decidability and Tractability
COSC 3340: Introduction to Theory of Computation
Formal Languages, Automata and Models of Computation
Recall last lecture and Nondeterministic TMs
Formal Definitions for Turing Machines
Presentation transcript:

1 IDT Open Seminar ALAN TURING AND HIS LEGACY 100 Years Turing celebration Gordana Dodig Crnkovic, Computer Science and Network Department Mälardalen University March 8 th

2 Finite Automata Push-down Automata Turing Machines Chomsky Language Hyerarchy

TURING MACHINES “Turing’s "Machines". These machines are humans who calculate.” (Wittgenstein) “A man provided with paper, pencil, and rubber, and subject to strict discipline, is in effect a universal machine.” (Turing) 3

Tape Read-Write head Control Unit Turing Machine

Read-Write head No boundaries -- infinite length The head moves Left or Right The Tape

Read-Write head 1. Reads a symbol 2. Writes a symbol 3. Moves Left or Right The head at each time step:

7 Head starts at the leftmost position of the input string Blank symbol head Input string The Input String

8 Determinism Allowed Not Allowed No lambda transitions allowed in TM! Turing Machines are deterministic

9 Determinism Note the difference between state indeterminism when not even possible future states are known in advance. and choice indeterminism when possible future states are known, but we do not know which state will be taken.

10 Halting The machine halts if there are no possible transitions to follow

11 Example No possible transition HALT!

12 Final States Allowed Not Allowed Final states have no outgoing transitions In a final state the machine halts

13 Acceptance Accept Input If machine halts in a final state Reject Input If machine halts in a non-final state or If machine enters an infinite loop

14 Formal Definitions for Turing Machines

15 Transition Function

16 Transition Function

17 Turing Machine Transition function Initial state blank Final states States Input alphabet Tape alphabet

18 For any Turing Machine Initial stateFinal state The Accepted Language

19 Standard Turing Machine Deterministic Infinite tape in both directions Tape is the input/output file The machine we described is the standard:

20 Computing Functions with Turing Machines

21 Initial Configuration Final Configuration Domain For all A function is computable if there is a Turing Machine such that

22 Example (Addition) The function is computable Turing Machine: Input string: unary Output string: unary are integers

23 Start Finish final state initial state

24 Turing machine for function

25 Execution Example: Time 0 Final Result (2)

26 Time 0

27 Time 1

28 Time 2

29 Time 3

30 Time 4

31 Time 5

32 Time 6

33 Time 7

34 Time 8

35 Time 9

36 Time 10

37 Time 11

38 HALT & accept Time 12

39 Universal Turing Machine

40 A limitation of Turing Machines: Turing Machines are “hardwired” they execute only one program

41 Solution:Universal Turing Machine Reprogrammable machine Simulates any other Turing Machine Characteristics:

42 Universal Turing Machine simulates any other Turing Machine Input to Universal Turing Machine: Description of transitions of Initial tape contents of

43 Universal Turing Machine Description of Three tapes Tape Contents of Tape 2 State of Tape 3 Tape 1

44 We describe Turing machine as a string of symbols: We encode as a string of symbols Description of Tape 1

45 Alphabet Encoding Symbols: Encoding:

46 State Encoding States: Encoding: Head Move Encoding Move: Encoding:

47 Transition Encoding Transition: Encoding: separator

48 Machine Encoding Transitions: Encoding: separator

49 Tape 1 contents of Universal Turing Machine: encoding of the simulated machine as a binary string of 0’s and 1’s

50 As Turing Machine is described with a binary string of 0’s and 1’s the set of Turing machines forms a language: Each string of the language is the binary encoding of a Turing Machine.

51 Language of Turing Machines L = { , , , …… } (Turing Machine 1) (Turing Machine 2) ……

52 Question: Do Turing machines have the same power with a digital computer? Intuitive answer: Yes There was no formal proof of Church-Turing thesis until 2008! CHURCH TURING THESIS

53 Dershowitz, N. and Gurevich, Y. A Natural Axiomatization of Computability and Proof of Church's Thesis, Bulletin of Symbolic Logic, v. 14, No. 3, pp (2008) This formal proof of Church-Turing thesis relies on an axiomatization of computation that excludes randomness, parallelism and quantum computing and thus corresponds to the idea of computing that Church and Turing had.

54 Turing’s thesis Any computation carried out by algorithmic means can be performed by a Turing Machine. (1930) The Origins of the Turing Thesis Myth Goldin & Wegner