RG ⊊ CF #
This file uses the example language {aⁿbⁿ} to show that regular languages
form a strict subclass of context-free languages.
Main results #
exists_CF_not_regular— There exists a CF language overBoolthat is not regular.exists_CF_not_regular_of_nontrivial— There exists a CF nonregular language over any nontrivial alphabet.RG_strict_subclass_CF— Right-regular languages form a strict subclass of CF languages.
There exists a context-free nonregular language over any nontrivial alphabet.
Right-regular languages form a strict subclass of context-free languages over any nontrivial alphabet.