Type 0
Formal Language
Type 1
Formal Language
Noncontracting Formal Language
Type 2
Formal Language
Context-Free Formal Language
Type 3
Formal Language
Regular Formal Language
Example
Proof
It is context-free with rewrite rules
It is not regular.
Suppose it is. Then it satisfies Regular Pumping Lemma.
But clearly it doesn’t.