Fall 2006Costas Busch - RPI1 The Chomsky Hierarchy.

Slides:



Advertisements
Similar presentations
Linear Bounded Automata LBAs
Advertisements

Formal Languages: main findings so far A problem can be formalised as a formal language A formal language can be defined in various ways, e.g.: the language.
Costas Busch - RPI1 Pushdown Automata PDAs. Costas Busch - RPI2 Pushdown Automaton -- PDA Input String Stack States.
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.
Courtesy Costas Busch - RPI1 Pushdown Automata PDAs.
Costas Busch - RPI1 NPDAs Accept Context-Free Languages.
Fall 2006Costas Busch - RPI1 Deterministic Finite Automata And Regular 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 2006Costas Busch - RPI1 The Post Correspondence Problem.
1 Normal Forms for Context-free Grammars. 2 Chomsky Normal Form All productions have form: variable and terminal.
Fall 2006Costas Busch - RPI1 Pushdown Automata PDAs.
Fall 2003Costas Busch - RPI1 Decidable Problems of Regular Languages.
Courtesy Costas Busch - RPI1 Context-Free Languages.
Linear Bounded Automata LBAs
1 Normal Forms for Context-free Grammars. 2 Chomsky Normal Form All productions have form: variable and terminal.
CS 490: Automata and Language Theory Daniel Firpo Spring 2003.
Copyright © 2006 The McGraw-Hill Companies, Inc. Programming Languages 2nd edition Tucker and Noonan Chapter 3 Lexical and Syntactic Analysis Syntactic.
Fall 2006Costas Busch - RPI1 Non-Deterministic Finite Automata.
Fall 2005Costas Busch - RPI1 Recursively Enumerable and Recursive Languages.
Costas Busch - RPI1 CSCI-2400 Models of Computation.
Finite Automata Costas Busch - RPI.
Fall 2006Costas Busch - RPI1 PDAs Accept Context-Free Languages.
Fall 2003Costas Busch - RPI1 Turing Machines (TMs) Linear Bounded Automata (LBAs)
Fall 2005Costas Busch - RPI1 Pushdown Automata PDAs.
PZ03A Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, PZ03A - Pushdown automata Programming Language Design.
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.
Fall 2006Costas Busch - RPI1 Deterministic Finite Automaton (DFA) Input Tape “Accept” or “Reject” String Finite Automaton Output.
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.
9.7: Chomsky Hierarchy.
© M. Winter COSC/MATH 4P61 - Theory of Computation CFL are closed under Substitution Union Concatenation Closure (*) Homomorphism Reversal Intersection.
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.
Grammar Set of variables Set of terminal symbols Start variable Set of Production rules.
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.
1 Unit – 5 : STATE MACHINES Syllabus: Languages and Grammars – Finite State Machines State machines and languages – Turing Machines – Computational Complexity.
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.
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
Linear Bounded Automata LBAs
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
Reductions Costas Busch - LSU.
Natural Language Processing - Formal Language -
NPDAs Accept Context-Free Languages
Pushdown Automata PDAs
NPDAs Accept Context-Free Languages
CSE322 Chomsky classification
Turing acceptable languages and Enumerators
CSE322 The Chomsky Hierarchy
DPDA Deterministic PDA
CSCI-2400 Models of Computation Costas Busch - RPI.
Space Complexity Costas Busch - LSU.
The Post Correspondence Problem
A Universal Turing Machine
Turing acceptable languages and Enumerators
Undecidable problems:
Properties of Context-Free languages
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
Formal Definitions for Turing Machines
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
The Chomsky Hierarchy Costas Busch - LSU.
Non Deterministic Automata
Normal Forms for Context-free Grammars
Presentation transcript:

Fall 2006Costas Busch - RPI1 The Chomsky Hierarchy

Fall 2006Costas Busch - RPI2 Same as Turing Machines with one difference: the input string tape space is the only tape space allowed to use Linear-Bounded Automata:

Fall 2006Costas 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)

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

Fall 2006Costas Busch - RPI5 Example languages accepted by LBAs: LBA’s have more power than PDA’s (pushdown automata) LBA’s have less power than Turing Machines

Fall 2006Costas Busch - RPI6 Unrestricted Grammars: Productions String of variables and terminals String of variables and terminals

Fall 2006Costas Busch - RPI7 Example unrestricted grammar:

Fall 2006Costas Busch - RPI8 A language is Turing-Acceptable if and only if is generated by an unrestricted grammar Theorem:

Fall 2006Costas Busch - RPI9 Context-Sensitive Grammars: and: Productions String of variables and terminals String of variables and terminals

Fall 2006Costas Busch - RPI10 The language is context-sensitive:

Fall 2006Costas Busch - RPI11 A language is context sensistive if and only if it is accepted by a Linear-Bounded automaton Theorem: There is a language which is context-sensitive but not decidable Observation:

Fall 2006Costas Busch - RPI12 Non Turing-Acceptable Turing-Acceptable decidable Context-sensitive Context-free Regular The Chomsky Hierarchy