Lecture11 9up
Lecture11 9up
Chomsky Hierarchy
Regular Languages
Chomsky Hierarchy
Regular Languages
Chomsky Hierarchy
Regular Languages G52MAL Machines and their Languages Lecture 11: Proving Languages not to be Regular
The Regular Languages are those that can be recognised by nite automata. Neil Sculthorpe
Room A04 School of Computer Science University of Nottingham United Kingdom [email protected]
Regular Languages
The Regular Languages are those that can be recognised by nite automata. Such machines have a nite number states (i.e. nite memory).
Regular Languages
Chomsky Hierarchy
Regular Languages
Chomsky Hierarchy
Regular Languages
Chomsky Hierarchy
Regular Languages
All languages Recursively Enumerable Languages (Type 0) Turing Machines Total Turing Machines / Deciders Linear-Bounded Turing Machines Pushdown Automata Finite Automata
The Regular Languages are those that can be recognised by nite automata. Such machines have a nite number states (i.e. nite memory). But many languages are not regular.
Recursive/Decidable Languages Context-Sensitive Languages (Type 1) Context-Free Languages (Type 2) Regular Languages (Type 3)
L11: Proving Languages not to be Regular The Pumping Lemma Regular Languages
L11: Proving Languages not to be Regular The Pumping Lemma Regular Languages
Chomsky Hierarchy
Chomsky Hierarchy
Chomsky Hierarchy
How do we prove a language is not regular? One technique: Using The Pumping Lemma
How do we prove a language is not regular? One technique: Using The Pumping Lemma Basic idea: Exploit the fact that, for any Regular Language, suciently long words are repetitive.
Given a regular language L, there exists an n N such that all w L of length at least n can be split into three words (w = xyz) satisfying: y = |xy | n k N. xy k z L
Regular Languages
Chomsky Hierarchy
Recommended Reading
Introduction to Automata Theory, Languages, and Computation (3rd edition), pages 127131 G52MAL Lecture Notes, pages 2931