Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. [25 points] Let ={0,1}. The reverse of a string x denoted by rev(x) and is defined by the following recursive rule: - rev(c)=c -
1. [25 points] 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started