Fall 2003Costas Busch - RPI1 Turing Machines (TMs) Linear Bounded Automata (LBAs)

Slides:



Advertisements
Similar presentations
Linear Bounded Automata LBAs
Advertisements

Natural Language Processing - Formal Language - (formal) Language (formal) Grammar.
Courtesy Costas Busch - RPI1 Non Deterministic Automata.
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.
Costas Busch - RPI1 Undecidable problems for Recursively enumerable languages continued…
Costas Busch - RPI1 NPDAs Accept Context-Free Languages.
Fall 2006Costas Busch - RPI1 Deterministic Finite Automata And Regular Languages.
Recursively Enumerable and Recursive Languages
Courtesy Costas Busch - RPI1 NPDAs Accept Context-Free Languages.
1 The Chomsky Hierarchy. 2 Unrestricted Grammars: Rules have form String of variables and terminals String of variables and terminals.
Fall 2004COMP 3351 The Chomsky Hierarchy. Fall 2004COMP 3352 Non-recursively enumerable Recursively-enumerable Recursive Context-sensitive Context-free.
Fall 2003Costas Busch - RPI1 Decidable Problems of Regular Languages.
Linear Bounded Automata LBAs
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.
Costas Busch - RPI1 CSCI-2400 Models of Computation.
Fall 2006Costas Busch - RPI1 The Chomsky Hierarchy.
Finite Automata Costas Busch - RPI.
Grammars, Languages and Finite-state automata Languages are described by grammars We need an algorithm that takes as input grammar sentence And gives a.
Fall 2003Costas Busch - RPI1 Linear Grammars Grammars with at most one variable at the right side of a production Examples:
1 Section 14.2 A Hierarchy of Languages Context-Sensitive Languages A context-sensitive grammar has productions of the form xAz  xyz, where A is a nonterminal.
Introduction to CS Theory Lecture 15 –Turing Machines Piotr Faliszewski
Fall 2006Costas Busch - RPI1 Deterministic Finite Automaton (DFA) Input Tape “Accept” or “Reject” String Finite Automaton Output.
Computability Construct TMs. Decidability. Preview: next class: diagonalization and Halting theorem.
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)
9.7: Chomsky Hierarchy.
1 CD5560 FABER Formal Languages, Automata and Models of Computation Lecture 12 Mälardalen University 2005.
© M. Winter COSC/MATH 4P61 - Theory of Computation CFL are closed under Substitution Union Concatenation Closure (*) Homomorphism Reversal Intersection.
Computability Review homework. Video. Variations. Definitions. Enumerators. Hilbert's Problem. Algorithms. Summary Homework: Give formal definition of.
Recursively Enumerable Languages
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 Course Overview Why this course “formal languages and automata theory?” What do computers really do? What are the practical benefits/application of formal.
1 CD5560 FABER Formal Languages, Automata and Models of Computation Lecture 12 Mälardalen University 2007.
1 The Chomsky Hierarchy. 2 Unrestricted Grammars: Productions String of variables and terminals String of variables and terminals.
Undecidability and The Halting Problem
Lecture 6: Context-Free Languages
1 Unit – 5 : STATE MACHINES Syllabus: Languages and Grammars – Finite State Machines State machines and languages – Turing Machines – Computational Complexity.
CS 3813: Introduction to Formal Languages and Automata Chapter 11 A Hierarchy of Formal Languages and Automata These class notes are based on material.
Turing Machines CS 130 Theory of Computation HMU Textbook: Chap 8.
Costas Busch - RPI1 Decidability. Costas Busch - RPI2 Consider problems with answer YES or NO Examples: Does Machine have three states ? Is string a binary.
Week 14 - Friday.  What did we talk about last time?  Simplifying FSAs  Quotient automata.
Computability. Turing Machines Read input letter & tape letter, write tape letter, move left or right.
CS6800 Advance Theory of Computation Spring 2016 Nasser Alsaedi
Fall 2006Costas Busch - RPI1 RE languages and Enumerators.
Review : Theory of Computation. Regular Language and Finite Automata Context-free Language and Pushdown Automata Turing Machine and Recursive Enumerable.
Recursively Enumerable and Recursive Languages
Review : Theory of Computation
Linear Bounded Automata LBAs
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
Natural Language Processing - Formal Language -
Context Sensitive Grammar & Turing Machines
NPDAs Accept Context-Free Languages
Course 2 Introduction to Formal Languages and Automata Theory (part 2)
CSE322 Chomsky classification
Undecidable Problems (unsolvable problems)
Turing acceptable languages and Enumerators
CSE322 The Chomsky Hierarchy
A HIERARCHY OF FORMAL LANGUAGES AND AUTOMATA
Jaya Krishna, M.Tech, Assistant Professor
CSCI-2400 Models of Computation Costas Busch - RPI.
Space Complexity Costas Busch - LSU.
The Post Correspondence Problem
A Universal Turing Machine
Properties of Context-Free languages
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
Formal Definitions for Turing Machines
The Chomsky Hierarchy Costas Busch - LSU.
Non Deterministic Automata
Presentation transcript:

Fall 2003Costas Busch - RPI1 Turing Machines (TMs) Linear Bounded Automata (LBAs)

Fall 2003Costas Busch - RPI2 Input string Working space in tape Turing Machine (TM) Infinite Tape Finite State Control Unit

Fall 2003Costas Busch - RPI3 Left-end marker Input string Right-end marker Working space in tape All computation is done between end markers Linear Bounded Automaton (LBA) Finite State Control Unit

Fall 2003Costas Busch - RPI4 We define LBA’s as NonDeterministic Open Problem: NonDeterministic LBA’s have same power with Deterministic LBA’s ?

Fall 2003Costas Busch - RPI5 Example languages accepted by LBAs: LBA’s have more power than NPDA’s LBA’s have also less power than Turing Machines

Fall 2003Costas Busch - RPI6 Linear Bounded Automata (LBAs) are the same as Turing Machines with one difference: The input string tape space is the only tape space allowed to use

Fall 2003Costas Busch - RPI7 The Chomsky Hierarchy

Fall 2003Costas Busch - RPI8 Unrestricted Grammars: Productions String of variables and terminals String of variables and terminals

Fall 2003Costas Busch - RPI9 Example unrestricted grammar:

Fall 2003Costas Busch - RPI10 A language is recursively enumerable (r.e.) if and only if is generated by an unrestricted grammar Theorem: S is r.e. if there exists an algorithm A that enumerates the members of S (A need not necessarily terminate for non- members of S) S is recursive if there exists a decision algorithm that determines if x is a member of S

Fall 2003Costas Busch - RPI11 Context-Sensitive Grammars: and: Productions String of variables and terminals String of variables and terminals

Fall 2003Costas Busch - RPI12 The language is context-sensitive:

Fall 2003Costas Busch - RPI13 A language is context sensitive if and only if is accepted by a Linear-Bounded Automaton Theorem:

Fall 2003Costas Busch - RPI14 Non-recursively enumerable Recursively-enumerable Recursive Context-sensitive Context-free Regular The Chomsky Hierarchy