Turing’s Bold Claim He could design a simple computer that could solve anything that was computable. He postulated that whatever fancy new computers were.

Slides:



Advertisements
Similar presentations
1 Turing Machines and Equivalent Models Section 13.2 The Church-Turing Thesis.
Advertisements

CS 345: Chapter 9 Algorithmic Universality and Its Robustness
CS 461 – Oct. 21 Begin chapter 3 We need a better (more encompassing) model of computation. Ex. { 1 n 2 n 3 n } couldn’t be accepted by PDA. –How could.
David Evans CS200: Computer Science University of Virginia Computer Science Class 30: Models of Computation.
Simulating a modern computer by a Turing machine and vice versa CS 6800 Instructor: Dr. Elise de Doncker By Shweta Gowda Saikiran Ponnam.
CS5371 Theory of Computation Lecture 11: Computability Theory II (TM Variants, Church-Turing Thesis)
Computability and Complexity 7-1 Computability and Complexity Andrei Bulatov Recursion Theorem.
Based on Slides by Zeph Grunschlag from Columbia University www1.cs.columbia.edu/~zeph/3261/L14/L14.ppt Basic Computability Reading Material: J. Savage,
CS 310 – Fall 2006 Pacific University CS310 Turing Machines Section 3.1 November 6, 2006.
Turing Machines from “On Computable Numbers” Jerry Grochowski – CS 4800.
CS5371 Theory of Computation Lecture 10: Computability Theory I (Turing Machine)
1 Foundations of Software Design Fall 2002 Marti Hearst Lecture 29: Computability, Turing Machines, Can Computers Think?
Turing Machines CS 105: Introduction to Computer Science.
Class 19: Undecidability in Theory and Practice David Evans cs302: Theory of Computation University of Virginia Computer.
Halting Problem. Background - Halting Problem Common error: Program goes into an infinite loop. Wouldn’t it be nice to have a tool that would warn us.
Theory of Computation. Computation Computation is a general term for any type of information processing that can be represented as an algorithm precisely.
Presented by Ravi Teja Pampana
Lab Session 1 Turing Machines. Install Download and unzip TM.zip on the desktop Start the “Turing Machine” executable File>machine>load COPYING.TM File>tape>load.
Module 5 Lesson 11. Objective  Use math drawings to represent additions with up to two compositions and relate drawings to the addition algorithm.
Reference: "Artificial Intelligence, a Modern Approach, 3rd ed."
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.
AI Overview Reference: "Artificial Intelligence, a Modern Approach, 3 rd ed."
David Evans Turing Machines, Busy Beavers, and Big Questions about Computing.
The Turing machine Olena Lastivka. Definition Turing machine is a theoretical device that manipulates symbols on a strip of tape according to a table.
Theory of Computing Lecture 15 MAS 714 Hartmut Klauck.
CSCI 2670 Introduction to Theory of Computing September 28, 2005.
1 Turing Machines There are languages that are not context-free. What can we say about the most powerful automata and the limits of computation?. Alan.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI 230 Models of Computation - Turing Machines Dale Roberts, Lecturer.
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
Halting Problem Introduction to Computing Science and Programming I.
1 More About Turing Machines “Programming Tricks” Restrictions Extensions Closure Properties.
David Evans cs302: Theory of Computation University of Virginia Computer Science Lecture 16: Universality and Undecidability.
David Evans CS150: Computer Science University of Virginia Computer Science Lecture 36: Modeling Computing.
Computer Science 101 Theory of Computing. Computer Science is... The study of algorithms, with respect to –their formal properties –their linguistic realizations.
1 Design a PDA which accepts: L= { a n b m : n ≠ m }
Computation Motivating questions: What does “computation” mean? What are the similarities and differences between computation in computers and in natural.
Turing Machines Lecture 26 Naveen Z Quazilbash. Overview Introduction Turing Machine Notation Turing Machine Formal Notation Transition Function Instantaneous.
Fundamentals of Informatics Lecture 12 The Halting Problem Bas Luttik.
1 IDT Open Seminar ALAN TURING AND HIS LEGACY 100 Years Turing celebration Gordana Dodig Crnkovic, Computer Science and Network Department Mälardalen University.
1 Turing Machines - Chap 8 Turing Machines Recursive and Recursively Enumerable Languages.
Lecture 16b Turing Machines Topics: Closure Properties of Context Free Languages Cocke-Younger-Kasimi Parsing Algorithm June 23, 2015 CSCE 355 Foundations.
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
CS 154 Formal Languages and Computability April 12 Class Meeting Department of Computer Science San Jose State University Spring 2016 Instructor: Ron Mak.
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. The next level of Machine… PDAs improved on FSAs by adding memory. We make the memory more flexible to do more complicated tasks.
Turing Machines CS 130 Theory of Computation HMU Textbook: Chap 8.
Turing Theory. Turing Machine A Turing Machine denoted by TM, is a collection of six things. –An alphabet  of input letters –A TAPE divided into a sequence.
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.
Universal Turing Machine
AI Overview Reference: "Artificial Intelligence, a Modern Approach, 3 rd ed."
1 Assignment #5 is posted.. 2 An artist's rendition of a steam-powered Turing machine. There is a mural of this between the second and third floors in.
TM Macro Language MA/CSSE 474 Theory of Computation.
More About Turing Machines
CSE202: Introduction to Formal Languages and Automata Theory
Introduction to Computing Science and Programming I
Class 30: Models of Computation CS200: Computer Science
Reductions Costas Busch - LSU.
(Universal Turing Machine)
Computing with Turing Machines
Turing Machines, Busy Beavers, and Big Questions about Computing
Modeling Computation:
فصل سوم The Church-Turing Thesis
The Off-Line Machine Input File read-only (once) Input string
Recall last lecture and Nondeterministic TMs
P.V.G’s College of Engineering, Nashik
Class 34: Models of Computation CS200: Computer Science
Turing Machines Everything is an Integer
Presentation transcript:

Turing’s Bold Claim He could design a simple computer that could solve anything that was computable. He postulated that whatever fancy new computers were invented in the future, and whatever problems they could solve, his machine could also solve them. And he could simulate it using paper and pencil.

Note The Connection The Turing Test from week 1 is related to Turing’s claim: If his Turing Machine can mimic any computer, then it can mimic an intelligent computer. In other words, his Turing Machine can pass the Turing Test if computer intelligence is possible. If you can write “smart software”, his TM can run it!

The Turing Machine and Logic Circuits We could build a TM out of logic circuits we have seen, with one important exception: The TM requires memory to keep track of what state it is in. Can we build computer memory out of logic circuits? Yes! [I’ll demonstrate with xLogicCircuits tool.]

A Couple Artist Conceptions

What Does a TM Program Look Like?  First, you have to know what symbols can appear on the tape.  Theoretically, you can get away with just 0 and 1.  But for convenience, often have a few more, e.g.,

Now We Know Symbols – What Next? We need a set of “rules” of the following form: If you are in state s and read symbol p then write symbol q and move direction. Where p and q are in the Symbols set and direction is left or right.

Often Easiest to Program in Excel In State ReadingWriteMove New State 0xyR0 0yxR1 1xxL2 ……………

Let’s Try A Program In State ReadingWriteMove New State ????? ##101001## Your program:  Always starts at left-most digit (for simplicity).  Places a 0 after right-most digit and halts in next blank.

Let’s Try Another Program In State ReadingWriteMove New State ????? ##111111## Your program:  Always starts at left-most 1 (for simplicity).  If even number of 1’s, places an x after right-most 1 and halts in next blank.  If odd number of 1’s, places a y after right-most 1 and halts in next blank.

We Can Use A Tool To Test This is interesting. Tool allows you to provide a default rule for each state, only one per state. “other” will match any other symbol not named in another rule for that state. “same” refers to the symbol matched by “other”. Can save lots of rule writing!