The Chomsky Hierarchy Costas Busch - LSU.

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.
Natural Language Processing - Formal Language - (formal) Language (formal) Grammar.
1 The Chomsky Hierarchy. 2 Unrestricted Grammars: Rules have form String of variables and terminals String of variables and terminals.
1 Normal Forms for Context-free Grammars. 2 Chomsky Normal Form All productions have form: variable and terminal.
Linear Bounded Automata LBAs
CS 490: Automata and Language Theory Daniel Firpo Spring 2003.
Costas Busch - RPI1 CSCI-2400 Models of Computation.
Fall 2006Costas Busch - RPI1 The Chomsky Hierarchy.
Fall 2003Costas Busch - RPI1 Turing Machines (TMs) Linear Bounded Automata (LBAs)
Prof. Busch - LSU1 Pushdown Automata PDAs. Prof. Busch - LSU2 Pushdown Automaton -- PDA Input String Stack States.
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.
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.
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.
PZ03A Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, PZ03A - Pushdown automata Programming Language Design.
Costas Busch - LSU1 Time Complexity. Costas Busch - LSU2 Consider a deterministic Turing Machine which decides a language.
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.
Costas Busch - LSU1 Linear Grammars Grammars with at most one variable at the right side of a production Examples:
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.
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.
Formal Languages, Automata and Models of Computation
Introduction to the Theory of Computation
PDAs Accept Context-Free Languages
Busch Complexity Lectures: Turing Machines
Theory of Languages and Automata
Time Complexity Costas Busch - LSU.
Review : Theory of Computation
Busch Complexity Lectures: Reductions
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 -
Context Sensitive Grammar & Turing Machines
Context Sensitive Languages and Linear Bounded Automata
NPDAs Accept Context-Free Languages
Pushdown Automata PDAs
PZ03A - Pushdown automata
NPDAs Accept Context-Free Languages
Course 2 Introduction to Formal Languages and Automata Theory (part 2)
CSE322 Chomsky classification
Turing acceptable languages and Enumerators
CSE322 The Chomsky Hierarchy
A HIERARCHY OF FORMAL LANGUAGES AND AUTOMATA
Jaya Krishna, M.Tech, Assistant Professor
DPDA Deterministic PDA
CSCI-2400 Models of Computation Costas Busch - RPI.
Deterministic Finite Automata And Regular Languages Prof. Busch - LSU.
Non-Deterministic Finite Automata
Non-Deterministic Finite Automata
Space Complexity Costas Busch - LSU.
The Post Correspondence Problem
Decidable Problems of Regular Languages
The Off-Line Machine Input File read-only (once) Input string
Turing acceptable languages and Enumerators
Undecidable problems:
Properties of Context-Free languages
DPDA Deterministic PDA
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
… NPDAs continued.
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
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
Normal Forms for Context-free Grammars
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
Presentation transcript:

The Chomsky Hierarchy Costas Busch - LSU

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

Linear Bounded Automaton (LBA) Input string Working space in tape Left-end marker Right-end marker All computation is done between end markers Costas Busch - LSU

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

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

Unrestricted Grammars: Productions String of variables and terminals String of variables and terminals Costas Busch - LSU

Example unrestricted grammar: Costas Busch - LSU

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

Context-Sensitive Grammars: Productions String of variables and terminals String of variables and terminals and: Costas Busch - LSU

is context-sensitive: The language is context-sensitive: Costas Busch - LSU

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

Non Turing-Acceptable The Chomsky Hierarchy Non Turing-Acceptable Turing-Acceptable decidable Context-sensitive Context-free Regular Costas Busch - LSU