Is there any way to prove that two regular languages A and B are equal using only closed operations under regular languages?
(The languages can be expressed as regular expressions,NFAs, eNFAs or DFAs)
Is there any way to prove that two regular languages A and B are equal using only closed operations under regular languages?
(The languages can be expressed as regular expressions,NFAs, eNFAs or DFAs)
Consider regular languages $L_1, L_2,$ and $L_3$. For $\textbf{some}$ closed unary operations $*$ and binary operations $\diamond$ on regular languages, $$ (L_1)^* = (L_2)^* \Longrightarrow L_1=L_2 \\ L_1\diamond L_3 = L_2\diamond L_3 \Longrightarrow L_1=L_2 $$ So showing that applying the same operation to two regular languages $L_1$ and $L_2$ produces equal regular languages may be enough to show that $L_1$ and $L_2$ are equal. However, this is not true for every operations. For this to be true, the operation $\star:\mathscr{R}\rightarrow\mathscr{R}$ must be one-to-one on $\mathscr{R}$, the set of all regular languages. Here is a breakdown of the most common closed operations on regular languages:
$\textbf{One-to-one}$:
$\textbf{Not one-to-one}$: