Question: if A is regular and B is regular, prove that {w=a1b1a2b2...anbn | a1a2...anA and b1b2...bnB}. Hint: create a state for pairs of states of the
if A is regular and B is regular, prove that {w=a1b1a2b2...anbn | a1a2...anA and b1b2...bnB}. Hint: create a state for pairs of states of the form (qA,qB) for qa,aB states in the DFAs for A and B respectively.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
