Question: 5 . [ 1 2 points ] Let r be a positive integer and Lr be the following language over { 0 , 1 }
points Let r be a positive integer and Lr be the following language over : Lr uv : u in v in r
Equivalently, a string is in Lr if and only if its rth symbol from the right end is In this problem we show that any DFA for Lr must have at least r states:
a points Assume for a contradiction that D is a DFA for Lr with less than r states. Show that there are two different strings x y in r such that running D on x reaches the same state as running D on y at the end.
b points Continue from a Given that x and y are different, let l be the largest index such that xl yl Use x and y to give a contradiction with Lr LDHint: Consider the following two strings x l and y l
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
