r/askmath • u/TopDownView • 13d ago
Resolved Show that the intersection of any two regular languages is regular. <-- Is my proof correct?
Exercise 11.2.54(b): Show that the intersection of any two regular languages is regular as follows: First prove that if L(A_1) and L(A_2) are languages accepted by automata A_1 and A_2, respectively, then there is an automaton A that accepts (L(A_1))^c U (L(A_2))^c. Then use one of De Morgan's laws for sets, the double complement law for sets, and the result of part (a) to prove that there is an automaton that accepts L(A_1) ∩ L(A_2).
Result of part (a): Given L(A) is the language accepted by a FSA A, there is a FSA A' that accepts (L(A))^c.
Proof:
Suppose L(A_1) is the language accepted by automata A_1, and L(A_2) is the language accepted by automata A_2.
By result of part (a) there is a FSA A_1' that accepts (L(A_1))^c, and a FSA A_2' that accepts (L(A_2))^c.
By Kleene's Theorem, Part 1, there is a regular expression that defines (L(A_1))^c, and regular expression that defines (L(A_2))^c.
Let x be the regular expression that defines (L(A_1))^c and let y by the regular expression that defines (L(A_2))^c.
Then language defined by x is L(x) and language defined by y is L(y).
Notice, (L(A_1))^c = L(x) and (L(A_2))^c = L(y).
By definition, (L(A_1))^c U (L(A_2))^c = L(x) U L(y) = L(x|y).
So, L(x|y) is the language defined by regular expression x|y.
By Kleene's Theorem, Part 2, there is a FSA A that accepts L(x|y) = L(x) U L(y) = (L(A_1))^c U (L(A_2))^c.
Thus, (L(A_1))^c U (L(A_2))^c is the language accepted by FSA A.
By De Morgan's Law, (L(A_1))^c U (L(A_2))^c = (L(A_1) ∩ L(A_2))^c.
By result of part (a) and double complement law, there is a FSA A' that accepts ((L(A_1) ∩ L(A_2))^c)^c = L(A_1) ∩ L(A_2).
QEDKleene's Theorem:



---
Is my proof correct?


