Chapter 1 Welcome Abroad

Slides:



Advertisements
Similar presentations
CSC 2400 Computer Systems I Lecture 3 Big Ideas. 2 Big Idea: Universal Computing Device All computers, given enough time and memory, are capable of computing.
Advertisements

Courtesy Costas Busch - RPI1 A Universal Turing Machine.
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 ? ?
Courtesy Costas Busch - RPI1 Turing Machines. Courtesy Costas Busch - RPI2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1-1 Introduction to Computing Systems: From Bits and Gates.
1 Foundations of Software Design Fall 2002 Marti Hearst Lecture 29: Computability, Turing Machines, Can Computers Think?
Costas Busch - RPI1 Turing Machines. Costas Busch - RPI2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
Courtesy Costas Busch - RPI1 Reducibility. Courtesy Costas Busch - RPI2 Problem is reduced to problem If we can solve problem then we can solve problem.
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 18 Instructor: Paul Beame.
Fall 2006Costas Busch - RPI1 Undecidable Problems (unsolvable problems)
Prof. Busch - LSU1 Undecidable Problems (unsolvable problems)
Prof. Busch - LSU1 Turing Machines. Prof. Busch - LSU2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
Theory of Computation. Computation Computation is a general term for any type of information processing that can be represented as an algorithm precisely.
Introduction to Computer Engineering ECE/CS 252, Fall 2010 Prof. Mikko Lipasti Department of Electrical and Computer Engineering University of Wisconsin.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1-1 Introduction to Computing Systems: From Bits and Gates.
1 Turing Machines. 2 A Turing Machine Tape Read-Write head Control Unit.
More Theory of Computing
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1-1 Introduction to Computer Engineering ELEC S100F (Fall.
1 1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 15-1 Mälardalen University 2012.
Spring 2006ICOM 4036 Programming Laguages Lecture 2 1 The Nature of Computing Prof. Bienvenido Velez ICOM 4036 Lecture 2.
Alan Turing WWII code-breaker mathematical proof of ‘Turing machines’ …in particular, “Universal Turing machine” laid foundations of computer science father.
A Universal Turing Machine
PART 1 Introduction 1. Layers of Abstraction 2. Turing Machine 3. Layer Transformation 4. Descriptions of Layers.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
Introduction to Computer Engineering CS/ECE 252, Spring 2008 Prof. David A. Wood Computer Sciences Department University of Wisconsin – Madison Adapted.
Theory of computing, part 4. 1Introduction 2Theoretical background Biochemistry/molecular biology 3Theoretical background computer science 4History of.
MARC ProgramEssential Computing for Bioinformatics 1 The Nature of Computing Prof. Bienvenido Velez ICOM 4995 Lecture 3.
1 IDT Open Seminar ALAN TURING AND HIS LEGACY 100 Years Turing celebration Gordana Dodig Crnkovic, Computer Science and Network Department Mälardalen University.
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 ? ?
Recall last lecture and Nondeterministic TMs Ola Svensson.
CS150: Computer Organization and Architecture Michael D. Wilder, Ph.D.
Chapter 9 Turing Machines What would happen if we change the stack in Pushdown Automata into some other storage device? Truing Machines, which maintains.
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
Costas Busch - RPI1 Decidability. Costas Busch - RPI2 Another famous undecidable problem: The halting problem.
Chapter 1 Welcome Aboard. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1-2 Introduction to the World of.
Yale N. Patt Sanjay J. Patel
A Universal Turing Machine
Recursively Enumerable and Recursive Languages
Introduction to Computer Engineering
Instructor:Po-Yu Kuo 教師:郭柏佑
Busch Complexity Lectures: Turing Machines
Reductions Costas Busch - LSU.
Introduction to Computer Engineering
Turing’s Thesis Costas Busch - RPI.
Computing Functions with Turing Machines
Turing Machines 2nd 2017 Lecture 9.
Welcome Aboard 1.
Modeling Computation:
Chapter 9 TURING MACHINES.
Busch Complexity Lectures: Undecidable Problems (unsolvable problems)
Undecidable Problems (unsolvable problems)
Decidable Languages Costas Busch - LSU.
Computing Functions with Turing Machines
Instructor:Po-Yu Kuo 教師:郭柏佑
Introduction to Computer Engineering
The Off-Line Machine Input File read-only (once) Input string
Turing acceptable languages and Enumerators
Introduction to Computer Engineering
Formal Languages, Automata and Models of Computation
Recall last lecture and Nondeterministic TMs
P.V.G’s College of Engineering, Nashik
The Nature of Computing
Formal Definitions for Turing Machines
Introduction to Computer Engineering
Presentation transcript:

Chapter 1 Welcome Abroad

Abstraction Interface Source: http://static.usnews.rankingsandreviews.com/images/Auto/izmo/365609/2014_hyundai_elantra_gt_dashboard.jpg http://www.ridelust.com/wp-content/uploads/2012/12/Engine2.jpg http://www.plugincars.com/sites/default/files/Volkswagen-Golf-Variant-twinDRIVE-under-the-hood.jpg http://wpmedia.driving.ca/2015/02/img_4777.jpg?quality=70&strip=all&w=960&h=480&crop=1

Levels of Abstraction (Man-made) Source: https://whatsoftwarecando.org/wp-content/uploads/2015/05/auto-en.png https://i1.wp.com/onstedcarshow.com/wp-content/uploads/2016/11/Elegant-Car-Components-Diagram-Car-Diagram-92-For-Car-Design-Ideas-with-Car-Components-Diagram-Car-Diagram.jpg?fit=1102%2C778

Levels of Abstraction (Biological System) Source: https://media.studyisland.com/pics/40040_bio_organization.gif

Levels of Abstraction (Computer) Problems Algorithms Language Instruction Set Architecture Hardware/Software Interface Microarchitecture Circuits Devices

Universal Computing Device All computers, given enough time and memory, are capable of computing exactly the same things. = = Embedded Processor Supercomputer Then what is the simplest possible computing device? Source: http://images.anandtech.com/reviews/storage/Samsung/SSD830/_DSC2164.jpg http://www.miscw.com/wp-content/uploads/2016/09/Samsung-Smartphone.jpg http://koreatechblog.com/wp-content/uploads/2015/02/lg-ultrapc-gram-14zd950-gx58k-1157540_2.jpg https://4.imimg.com/data4/CO/YS/MY-29352968/samsung-desktop-computer-500x500.jpg http://oiger.de/wp-content/uploads/Bull-Supercomputer.jpg

Turing Machine Mathematical model of a device that can perform any computation – Alan Turing (1937) Every computation can be performed by some Turing machine. (Turing’s thesis) (그럼 이 세상에 계산하지 못하는 것도 있나? Yes…Halting Problem…We’ll discuss it later) For more info about Turing machines, see http://www.wikipedia.org/wiki/Turing_machine/ For more about Alan Turing, see http://www.turing.org.uk/turing/

A Turing Machine Tape ...... ...... Read-Write head Control Unit Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

The Tape No boundaries -- infinite length ...... ...... Read-Write head The head moves Left or Right Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

The head at each transition (time step): 1. Reads a symbol ...... ...... Read-Write head The head at each transition (time step): 1. Reads a symbol 2. Writes a symbol 3. Moves Left or Right Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Example: Time 0 ...... ...... Time 1 ...... ...... 1. Reads 2. Writes 3. Moves Left Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Computation Example The function is computable are integers Turing Machine: Input string: unary Output string: unary Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

The 0 is the delimiter that separates the two numbers Start initial state The 0 is the delimiter that separates the two numbers Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Start initial state Finish final state Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Execution Example: Time 0 (=2) (=2) Final Result Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Turing machine for function Control Unit Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 0 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 1 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 2 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 3 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 4 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 4 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 5 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 6 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 7 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 8 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 8 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 9 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 10 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 11 Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Time 12 HALT & accept Source: Prof. Costas Busch’s Lecture Slides http://www.cs.rpi.edu/~moorthy/Courses/modcomp/

Universal Turing Machine A machine that can implement all Turing machines -- this is also a Turing machine! inputs: data, plus a description of computation (other TMs) U a,b,c c(a+b) Universal Turing Machine Tadd, Tmul U is programmable – so is a computer! instructions are part of the input data a computer can emulate a Universal Turing Machine and vice versa A computer is a universal computing device.

Halting Problem Halting Problem The problem of determining, from a description of an arbitrary computer program (i.e., Turing machine) and an input, whether he program will finish running (i.e., halts) or continue to run forever Halting problem is undecidable (not Turing machine solvable) (Proof by an application of Cantor’s diagonal argument) 오토마타 교과목에서 더 깊게 다루어짐.

꼭 기억해야 할 것 (Levels of) Abstraction Turing Equivalence Undecidable Problem (not Turing machine computable)