Question: Let x and y be as in part ( a ) , and let l be the largest index such that xl ! = yl
Let x and y be as in part a and let l be the largest index such that xl yl
Without loss of generality, assume that xl and yl
Consider the strings x xl and y yl that is we append l zeros to the end of x and y respectively.
Then x and y are both in Lr since their rth symbols from the right end are Moreover, x and y differ in their rlth symbols from the right end, which is a in x and a in y
Therefore, x and y are not equivalent with respect to Lr
On the other hand, since xl yl the strings x and y must differ in their lth symbols from the right end, which is a in x and a in y
Therefore, any DFA that recognizes Lr must distinguish between x and y and hence must have at least rl states. But this contradicts the assumption that D has less than r states. Therefore, such a DFA for Lr with less than r states cannot exist.
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
