Corollary. All regular languages are automatical [018A]
- February 16, 2025
- Jon Sterling
If a language L is regular, then it is automatical.
Proof.
- February 16, 2025
- Jon Sterling
Let U be the set of all regular expressions R over a fixed alphabet \Sigma such that \mathcal {L}{\mathopen {}\left (R\right )\mathclose {}} is automatical. We wish to show that the set of all regular expressions over \Sigma is contained in U. By rule induction it suffices to check the following cases:
- We need to know that \texttt {Sym}_{a},\texttt {Null}, \texttt {Never} \in U, which is the same as to say that the languages {\mathopen {}\left \{a\right \}\mathclose {}}, {\mathopen {}\left \{\epsilon \right \}\mathclose {}}, \varnothing are all automatical. This is Lemma [0186].
- We need to show that if R,S\in U then \texttt {Union}{\mathopen {}\left (R,S\right )\mathclose {}}\in U, which is to say that the language \mathcal {L}{\mathopen {}\left (R\right )\mathclose {}}\cup \mathcal {L}{\mathopen {}\left (S\right )\mathclose {}} is automatical assuming that \mathcal {L}{\mathopen {}\left (R\right )\mathclose {}} and \mathcal {L}{\mathopen {}\left (S\right )\mathclose {}} are. This is Lemma [0187].
- We need to show that if R,S\in U then \texttt {Concat}{\mathopen {}\left (R,S\right )\mathclose {}}\in U, which is to say that the language \mathcal {L}{\mathopen {}\left (R\right )\mathclose {}}\mathcal {L}{\mathopen {}\left (S\right )\mathclose {}} = {\mathopen {}\left \{uv\,\middle \vert \,u\in \mathcal {L}{\mathopen {}\left (R\right )\mathclose {}},v\in \mathcal {L}{\mathopen {}\left (S\right )\mathclose {}}\right \}\mathclose {}} is automatical assuming that \mathcal {L}{\mathopen {}\left (R\right )\mathclose {}} and \mathcal {L}{\mathopen {}\left (S\right )\mathclose {}} are. This is Lemma [0188].
- We need to show that if R\in U then so is \texttt {Star}{\mathopen {}\left (R\right )\mathclose {}}\in U, which is to say that if \mathcal {L}{\mathopen {}\left (R\right )\mathclose {}} is automatical then so is \mathcal {L}{\mathopen {}\left (R\right )\mathclose {}}^\star . This is Lemma [0189].
We are done.