1 Other Models of Computation Costas Busch - LSU.

Slides:



Advertisements
Similar presentations
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen Department of Computer Science University of Texas-Pan American.
Advertisements

Prof. Busch - LSU1 Decidable Languages. Prof. Busch - LSU2 Recall that: A language is Turing-Acceptable if there is a Turing machine that accepts Also.
Courtesy Costas Busch - RPI1 A Universal Turing Machine.
Turing’s Thesis Fall 2006 Costas Busch - RPI.
Costas Busch - RPI1 Single Final State for NFAs. Costas Busch - RPI2 Any NFA can be converted to an equivalent NFA with a single final state.
Fall 2006Costas Busch - RPI1 Regular Expressions.
Fall 2004COMP 3351 Recursively Enumerable and Recursive Languages.
Recursively Enumerable and Recursive Languages
1 Uncountable Sets continued Theorem: Let be an infinite countable set. The powerset of is uncountable.
Fall 2006Costas Busch - RPI1 The Post Correspondence Problem.
1 Other Models of Computation. 2 Models of computation: Turing Machines Recursive Functions Post Systems Rewriting Systems.
1 Decidability continued. 2 Undecidable Problems Halting Problem: Does machine halt on input ? State-entry Problem: Does machine enter state halt on input.
Fall 2005Costas Busch - RPI1 Recursively Enumerable and Recursive 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.
COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf of Monash University.
Fall 2006Costas Busch - RPI1 The Chomsky Hierarchy.
January 28, 2015CS21 Lecture 101 CS21 Decidability and Tractability Lecture 10 January 28, 2015.
Prof. Busch - LSU1 Linear Grammars Grammars with at most one variable at the right side of a production Examples:
Fall 2003Costas Busch - RPI1 Turing Machines (TMs) Linear Bounded Automata (LBAs)
Universal Turing Machine
1 1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 14 School of Innovation, Design and Engineering Mälardalen University 2012.
Notions of Computability Many notions of computability have been proposed, e.g. – (Type 0 a.k.a. Unrestricted or context sensitive) Grammars – Partial.
1 1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 15-1 Mälardalen University 2012.
Prof. Busch - LSU1 NFAs accept the Regular Languages.
A Universal Turing Machine
1 Turing’s Thesis. 2 Turing’s thesis: Any computation carried out by mechanical means can be performed by a Turing Machine (1930)
CSCI 2670 Introduction to Theory of Computing October 12, 2005.
Regular Expressions Costas Busch - LSU.
CS 3813: Introduction to Formal Languages and Automata Chapter 13 Other Models of Computation These class notes are based on material from our textbook,
Costas Busch - LSU1 Turing’s Thesis. Costas Busch - LSU2 Turing’s thesis (1930): Any computation carried out by mechanical means can be performed by a.
Recursively Enumerable and Recursive Languages
The Church-Turing Thesis Chapter 18. Are We Done? FSM  PDA  Turing machine Is this the end of the line? There are still problems we cannot solve: ●
Costas Busch - LSU1 Linear Grammars Grammars with at most one variable at the right side of a production Examples:
Costas Busch - LSU1 The Post Correspondence Problem.
Costas Busch - LSU1 PDAs Accept Context-Free Languages.
CS 154 Formal Languages and Computability May 5 Class Meeting Department of Computer Science San Jose State University Spring 2016 Instructor: Ron Mak.
The Church-Turing Thesis
Costas Busch - RPI1 Decidability. Costas Busch - RPI2 Consider problems with answer YES or NO Examples: Does Machine have three states ? Is string a binary.
The Church-Turing Thesis Chapter Are We Done? FSM  PDA  Turing machine Is this the end of the line? There are still problems we cannot solve:
MA/CSSE 474 Theory of Computation Universal Turing Machine Church-Turing Thesis (Winter 2016, these slides were also used for Day 33)
Costas Busch - RPI1 Decidability. Costas Busch - RPI2 Another famous undecidable problem: The halting problem.
1 Recursively Enumerable and Recursive Languages.
MA/CSSE 474 Theory of Computation Universal Turing Machine Church-Turing Thesis Delayed due dates for HWs See updated schedule page. No class meeting.
Fall 2006Costas Busch - RPI1 RE languages and Enumerators.
Turing’s Thesis Costas Busch - LSU.
A Universal Turing Machine
Recursively Enumerable and Recursive Languages
PDAs Accept Context-Free Languages
Time Complexity Costas Busch - LSU.
Undecidable Problems Costas Busch - LSU.
Reductions Costas Busch - LSU.
NPDAs Accept Context-Free Languages
Other Models of Computation
Turing acceptable languages and Enumerators
Regular Expressions Prof. Busch - LSU.
Non-Deterministic Finite Automata
Decidable Languages Costas Busch - LSU.
Space Complexity Costas Busch - LSU.
The Post Correspondence Problem
A Universal Turing Machine
Parsing Costas Busch - LSU.
Decidable Problems of Regular Languages
The Off-Line Machine Input File read-only (once) Input string
Turing acceptable languages and Enumerators
Undecidable problems:
CS21 Decidability and Tractability
Formal Languages, Automata and Models of Computation
DPDA Deterministic PDA
Decidability continued….
The Chomsky Hierarchy Costas Busch - LSU.
Presentation transcript:

1 Other Models of Computation Costas Busch - LSU

2 Models of computation: Turing Machines Recursive Functions Post Systems Rewriting Systems Costas Busch - LSU

3 Church’s Thesis: All models of computation are equivalent Turing’s Thesis: A computation is mechanical if and only if it can be performed by a Turing Machine Costas Busch - LSU

4 Church’s and Turing’s Thesis are similar: Church-Turing Thesis Costas Busch - LSU

5 Recursive Functions An example function: DomainRange Costas Busch - LSU

6 We need a way to define functions We need a set of basic functions Costas Busch - LSU

7 Zero function: Successor function: Projection functions: Basic Primitive Recursive Functions Costas Busch - LSU

8 Building complicated functions: Composition: Primitive Recursion: Costas Busch - LSU

9 Any function built from the basic primitive recursive functions is called: Primitive Recursive Function Costas Busch - LSU

10 A Primitive Recursive Function: (projection) (successor function) Costas Busch - LSU

11Costas Busch - LSU

12 Another Primitive Recursive Function: Costas Busch - LSU

13 Theorem: The set of primitive recursive functions is countable Proof: Each primitive recursive function can be encoded as a string Enumerate all strings in proper order Check if a string is a function Costas Busch - LSU

14 Theorem there is a function that is not primitive recursive Proof: Enumerate the primitive recursive functions Costas Busch - LSU

15 Define function differs from every is not primitive recursive END OF PROOF Costas Busch - LSU

16 A specific function that is not Primitive Recursive: Ackermann’s function: Grows very fast, faster than any primitive recursive function Costas Busch - LSU

17 Recursive Functions Accerman’s function is a Recursive Function Costas Busch - LSU

18 Primitive recursive functions Recursive Functions Costas Busch - LSU

19 Post Systems Have Axioms Have Productions Very similar with unrestricted grammars Costas Busch - LSU

20 Example: Unary Addition Axiom: Productions: Costas Busch - LSU

21 A production: Costas Busch - LSU

22 Post systems are good for proving mathematical statements from a set of Axioms Costas Busch - LSU

23 Theorem: A language is recursively enumerable if and only if a Post system generates it Costas Busch - LSU

24 Rewriting Systems Matrix Grammars Markov Algorithms Lindenmayer-Systems They convert one string to another Very similar to unrestricted grammars Costas Busch - LSU

25 Matrix Grammars Example: A set of productions is applied simultaneously Derivation: Costas Busch - LSU

26 Theorem: A language is recursively enumerable if and only if a Matrix grammar generates it Costas Busch - LSU

27 Markov Algorithms Grammars that produce Example: Derivation: Costas Busch - LSU

28Costas Busch - LSU

29 In general: Theorem: A language is recursively enumerable if and only if a Markov algorithm generates it Costas Busch - LSU

30 Lindenmayer-Systems They are parallel rewriting systems Example: Derivation: Costas Busch - LSU

31 Lindenmayer-Systems are not general As recursively enumerable languages Extended Lindenmayer-Systems: Theorem: A language is recursively enumerable if and only if an Extended Lindenmayer-System generates it context Costas Busch - LSU