Turing s original paper (1936)

Similar documents
Variations of the Turing Machine

Busch Complexity Lectures: Turing s Thesis. Costas Busch - LSU 1

More Turing Machines. CS154 Chris Pollett Mar 15, 2006.

Turing s Thesis. Fall Costas Busch - RPI!1

Turing s thesis: (1930) Any computation carried out by mechanical means can be performed by a Turing Machine

Computability Theory. CS215, Lecture 6,

Turing Machines. 22c:135 Theory of Computation. Tape of a Turing Machine (TM) TM versus FA, PDA

Harvard CS 121 and CSCI E-121 Lecture 14: Turing Machines and the Church Turing Thesis

Intractable Problems [HMU06,Chp.10a]

Lecture 16: Time Complexity and P vs NP

CS154, Lecture 13: P vs NP

CS154, Lecture 13: P vs NP

CSE 2001: Introduction to Theory of Computation Fall Suprakash Datta

Introduction to Turing Machines

Decidability: Church-Turing Thesis

Chapter 8. Turing Machine (TMs)

Announcements. Problem Set 7 graded; will be returned at end of lecture. Unclaimed problem sets and midterms moved!

Chapter 3: The Church-Turing Thesis

CSE355 SUMMER 2018 LECTURES TURING MACHINES AND (UN)DECIDABILITY

Turing Machine properties. Turing Machines. Alternate TM definitions. Alternate TM definitions. Alternate TM definitions. Alternate TM definitions

Friday Four Square! Today at 4:15PM, Outside Gates

Finish K-Complexity, Start Time Complexity

Complexity Theory Part I

1 Unrestricted Computation

Decidability and Undecidability

Turing Machines Part II

Intractable Problems. Time-Bounded Turing Machines Classes P and NP Polynomial-Time Reductions

Turing Machines Part II

Turing Machines (TM) Deterministic Turing Machine (DTM) Nondeterministic Turing Machine (NDTM)

Lecture 17: Cook-Levin Theorem, NP-Complete Problems

CSE 2001: Introduction to Theory of Computation Fall Suprakash Datta

Turing Machines Part II

More About Turing Machines. Programming Tricks Restrictions Extensions Closure Properties

Turing Machines Part III

Theory of Computer Science

Theory of Computer Science. Theory of Computer Science. E2.1 P and NP. E2.2 Polynomial Reductions. E2.3 NP-Hardness and NP-Completeness. E2.

Foundations of

An example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM

Theory of Computation (IX) Yijia Chen Fudan University

CSE 105 THEORY OF COMPUTATION

TIME COMPLEXITY AND POLYNOMIAL TIME; NON DETERMINISTIC TURING MACHINES AND NP. THURSDAY Mar 20

Turing Machines A Turing Machine is a 7-tuple, (Q, Σ, Γ, δ, q0, qaccept, qreject), where Q, Σ, Γ are all finite

1 Showing Recognizability

Recap DFA,NFA, DTM. Slides by Prof. Debasis Mitra, FIT.

Turing Machines Extensions

15-251: Great Theoretical Ideas in Computer Science Lecture 7. Turing s Legacy Continues

CS21 Decidability and Tractability

COSE215: Theory of Computation. Lecture 20 P, NP, and NP-Complete Problems

Complexity Theory Part I

NP-Completeness and Boolean Satisfiability

Intro to Theory of Computation

CSE 135: Introduction to Theory of Computation NP-completeness

Asymptotic notation : big-o and small-o

Lecture 2: Tape reduction and Time Hierarchy

Complexity Theory Part II

Turing machine. Turing Machine Model. Turing Machines. 1. Turing Machines. Wolfgang Schreiner 2. Recognizing Languages

CSE 105 THEORY OF COMPUTATION

CS151 Complexity Theory. Lecture 1 April 3, 2017

Chapter 7 Turing Machines

COMP-330 Theory of Computation. Fall Prof. Claude Crépeau. Lec. 16 : Turing Machines

Computability and Complexity

CSE 105 THEORY OF COMPUTATION

CSE 460: Computabilty and Formal Languages Turing Machine (TM) S. Pramanik

Chapter 1 - Time and Space Complexity. deterministic and non-deterministic Turing machine time and space complexity classes P, NP, PSPACE, NPSPACE

Turing Machines. Wolfgang Schreiner

CSE 105 Theory of Computation

Lecture 13: Turing Machine

7.1 The Origin of Computer Science

Lecture 21: Space Complexity (The Final Exam Frontier?)

Exam Computability and Complexity

A Note on Turing Machine Design

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY. FLAC (15-453) Spring l. Blum TIME COMPLEXITY AND POLYNOMIAL TIME;

An example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM

Theory of Computation

The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational

forty-two XLII Equivalent Computers? Lecture 40: Computing with Glue and Photons What is 42? cuarenta y dos Meaning of Numbers Meaning of Numbers

Turing Machine Variants. Sipser pages

COMP-330 Theory of Computation. Fall Prof. Claude Crépeau. Lec. 14 : Turing Machines

The Church-Turing Thesis

Harvard CS 121 and CSCI E-121 Lecture 20: Polynomial Time

CSE 105 THEORY OF COMPUTATION. Spring 2018 review class

Time Complexity (1) CSCI Spring Original Slides were written by Dr. Frederick W Maier. CSCI 2670 Time Complexity (1)

Review of unsolvability

Problems, and How Computer Scientists Solve Them Manas Thakur

Equivalence of TMs and Multitape TMs. Theorem 3.13 and Corollary 3.15 By: Joseph Lauman

Chapter 7: Time Complexity

CSE 105 THEORY OF COMPUTATION

Space Complexity. The space complexity of a program is how much memory it uses.

Lecture 14: Recursive Languages

CS5371 Theory of Computation. Lecture 10: Computability Theory I (Turing Machine)

Theory of Computation - Module 4

CSE 105 THEORY OF COMPUTATION

Notes for Comp 497 (Comp 454) Week 12 4/19/05. Today we look at some variations on machines we have already seen. Chapter 21

Turing Machines (TM) The Turing machine is the ultimate model of computation.

9 Nondeterministic Turing Machines

Computability and Complexity

Theory of Computer Science. Theory of Computer Science. E2.1 P and NP. E2.2 Polynomial Reductions. E2.3 NP-Hardness and NP-Completeness. E2.

CS5371 Theory of Computation. Lecture 10: Computability Theory I (Turing Machine)

Applied Computer Science II Chapter 7: Time Complexity. Prof. Dr. Luc De Raedt. Institut für Informatik Albert-Ludwigs Universität Freiburg Germany

Computational Models - Lecture 6

Transcription:

Turing s original paper (1936)

Turing s original paper (1936) There exist problems that cannot be solved mechanically

Turing s original paper (1936) There exist problems that cannot be solved mechanically automatic machines

Turing s original paper (1936) There exist problems that cannot be solved mechanically automatic machines All mechanical computations

Turing s original paper (1936) There exist problems that cannot be solved mechanically automatic machines All mechanical computations ex) 010101

Turing s original paper (1936) There exist problems that cannot be solved mechanically automatic machines All mechanical computations ex) 010101 001011011101111

Turing s original paper (1936) There exist problems that cannot be solved mechanically automatic machines All mechanical computations ex) 010101 001011011101111 addition, copy,

Turing s original paper (1936) There exist problems that cannot be solved mechanically automatic machines All mechanical computations ex) 010101 001011011101111 addition, copy, universal machine

Universal Turing Machine

Can we go beyond TMs? Trials to extend the Turing machines: tay-option Multiple tapes Nondeterminism

TM with a tay-option (Q,,,,q 0,B,F) : Q! Q {L, R, }

TM with a tay-option e.g., (Q,,,,q 0,B,F) : Q! Q {L, R, } (q 0, 0) = (q 1, 1,) B 0 0 0 1 0 B B q0

TM with a tay-option e.g., (Q,,,,q 0,B,F) : Q! Q {L, R, } (q 0, 0) = (q 1, 1,) B 1 0 0 1 0 B B q1

Equivalence A Language is accepted by a TM iff it is accepted by a TM/ Replace (q i,a)=(q j,b,) by (q i,a)=(q k,b,r) (q k,c)=(q j,c,l)

Multitape Turing Machines B 1 0 B B 0 1 B q0

Multitape Turing Machines B 1 0 B B 0 1 B q0 (Q,,,,q 0,B,F) : Q n! Q n {L, R} n

Multitape Turing Machines B 1 0 B B 0 1 B q0 (Q,,,,q 0,B,F) : Q n! Q n {L, R} n! e.g., (q 0, 1, 1) = (q 1, 0, 1,L,R)

Multitape Turing Machines B 0 0 B B 0 1 B q1 (Q,,,,q 0,B,F) : Q n! Q n {L, R} n! e.g., (q 0, 1, 1) = (q 1, 0, 1,L,R)

Equivalence Any MTM can be simulated by a standard TM with multiple tracks B 0 0 B B * B B B 0 1 B B B * B

cf) Efficiency of MTMs MTMs can be more efficient than standard TMs

cf) Efficiency of MTMs MTMs can be more efficient than standard TMs the standard TM. Example Design a multitape Turing machine that accepts L = {a n b n n 1}. { } In standard TM, repeated back-and-forth movements are required. In MTM, copy all a s to tape 2 and then match b s on tape 1 against a s on tape 2

Nondeterministic TMs (Q,,,,q 0,B,F) Q {L,R} : Q! 2 E.g., (q 0,a)={(q 1,b,R), (q 2,c,L)} ANTMacceptsw if there is a sequence s.t. with q f 2 F. till, equivalent. q 0 w ` x 1 q f x 2

cf) Efficiency of NTM The equivalent, deterministic TM is exponentially slower than NTM. Is this exponential slowdown inevitable? Unknown (P = NP?)

Turing machines are very powerful.

Computable problems are what can be solved by Turing machines Turing

Computable problems are what can be solved by Turing machines Turing Computable problems are what can be defined by Lambda calculus Church

Computable problems are what can be solved by Turing machines Turing Turing-Church Thesis Computable problems are what can be defined by Lambda calculus Church

* proof of the existence of incomputable problems:

Halting Problem P X halt / not halt

Halting Problem P X halt / not halt Does such H exist?

Halting Problem P X halt / not halt Does such H exist? No, logically impossible.

uppose such H exists: P X halt / not halt Two simple programs: P P P halt not halt run forever :)

Construct the program:

Construct the program:

Construct the program:

Construct the program: halt

Construct the program: halt run forever

Construct the program: halt not halt run forever

Construct the program: halt not halt run forever :)

ummary Computable problems are what can be solved by Turing machines There exist incomputable problems