Existence of Non-Regular Languages #
This file derives the existence of a non-regular language from the concrete witness
anbn and its non-regularity proof in Langlib.Classes.Regular.Examples.AnBn.
Main declarations #
exists_nonRegular_language— There exists a non-regular language overBool.exists_nonRegular_language_of_nontrivial— There exists a non-regular language over any nontrivial alphabet.
theorem
exists_nonRegular_language_of_injective_bool
{T : Type u_1}
(f : Bool → T)
(hf : Function.Injective f)
:
There exists a non-regular language over any alphabet admitting an injective coding
of Bool.
There exists a non-regular language over any nontrivial alphabet.
There exists a non-regular language over any finite alphabet with at least two symbols.