Question: Let ={0,1}. The reverse of a string x denoted by rev(x) and is defined by the following recursive rule: - rev(c)=c - x,a,rev(xa)=arev(x) For any

Let ={0,1}. The reverse of a string x denoted by rev(x) and is defined by the following recursive rule: - rev(c)=c - x,a,rev(xa)=arev(x) For any set A, define rev (A) to be: rev(A)={rev(x):xA} Can we always (i.e., for any A) say that if A is regular then so is rev(x) ? Prove your answer. [hint: if your answer is yes, then you can give a DFA M for rev (x) based on the DFA for A, and then show that L(M)=rev(x). If your answer is no, you can find a specific A and show that rev(x) is not regular, e.g., using pumping lemma]
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
