31 Jan 02:30 PM
CSCI 5100
\[ \forall M_{NFA}, \exists M_{DFA} : L(M_{NFA})) = L(M_{DFA})) \]
\[ \forall M_1, M_2: \exists M_3 : L(M_3) = L(M_1) \cup L(M_2) \]
\[ \forall M_1, M_2: \exists M_3 : L(M_3) = L(M_1)L(M_2) \]
\[ \forall M_1: \exists M_2 : L(M_2) = L(M_1)* \]
Show that finite automata and regular expressions are equivalently expressive.
\[ \begin{aligned} \exists M_1, M_2, M_3 :\\ L(M_1) &= a \in \Sigma \\ L(M_2) &= \Sigma^0 \\ L(M_2) &= \varnothing \end{aligned} \]
Proof
\[ \begin{aligned} M_1 &= (\{q_0,q_1\}, &\Sigma, &\{ (q_0, a) \rightarrow \{q_1\} \}, &q_0, &\{q_1\}) \\ M_2 &= (\{q_0\}, &\Sigma, &\{ (q_0, a) \rightarrow \{q_1\} \}, &q_0, &\{q_1\}) \\ M_3 &= (\{q_0\}, &\Sigma, &\varnothing, &q_0, &\{q_0\}) \\ \end{aligned} \]
\[ \forall R : \exists M : R = L(M) \]
Proof
letter
\(\in\) label
\[ \forall M : \exists R : R = L(M) \]
\[ \forall |G| = 2 := (\{q_0,q_1\},\Sigma,\delta,q_0,\{q_1\}) : \exists R : R = L(G) \]
Proof
By definition, \(G = (\{q_0,q_1\},\Sigma,\delta,q_0,\{q_1\})\)
By definition, \(\delta = \{ (q_0, R') \rightarrow q_1 \}\)
Let \(R = R'\)
\(\blacksquare\)
\[ \forall |G| = (k > 2) : \exists |G| = (k - 1) : L(G) = L(G') \]
Proof
By definition, \(G = (Q,\Sigma,\delta,q_0,\{q_n\})\)
Select arbitrary \(q_i \in Q \setminus \{q_0, q_n\}\)
Take \(G' = (Q \setminus \{q_i\},\Sigma,\delta_{-i},q_0,\{q_n\})\)
\[ \forall M : \exists R : R = L(M) \]
Proof