Question: We define a new regular operation called exclusive union ( cup ) as follows, if A and B are languages then A cup

We define a new regular operation called exclusive union (\cup )
as follows, if A
and B
are languages then A\cup B=(A\cup B)(A\cap B)={x|x in A
or x in B
, but not both}
.
a) Using a DFA construction, prove that regular languages are closed under exclusive union. That is, given two regular languages L1
and L2
, prove that L1\cup L2
is also a regular language (do not do the induction, just the construction.)
b) Illustrate your construction from a) by applying it to the DFAs M1
and M2
, which recognize L1={w in {0}|w=0k
where k>=0
is a multiple of 2}
and L2={w in {0}|w=0k
where k>=0
is a multiple of 3}
, respectively.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!