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 =0 and yl =1.
Consider the strings x'= x0^(l-1) and y'= y0^(l-1), that is, we append l-1 zeros to the end of x and y, respectively.
Then x' and y' are both in L_r, since their r-th symbols from the right end are 0. Moreover, x' and y' differ in their (r-l)-th symbols from the right end, which is a 1 in x' and a 0 in y'.
Therefore, x' and y' are not equivalent with respect to L_r.
On the other hand, since xl != yl, the strings x' and y' must differ in their l-th symbols from the right end, which is a 0 in x' and a 1 in y'.
Therefore, any DFA that recognizes L_r must distinguish between x' and y', and hence must have at least 2^(r-l) states. But this contradicts the assumption that D has less than 2^r states. Therefore, such a DFA for L_r with less than 2^r states cannot exist.

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 Databases Questions!