Make sure you have read the statement on academic honesty on the homework assignment index page.
Hint: M is in essence a two-way DFA, like an ordinary DFA except that it can move in either direction based on its state and the letter it sees. That is, its transition function is from (Q times Σ) to (Q times {L,R}) where Q is its state set and Σ its alphabet.
To show that L(M) is regular, we define a set of questions about a string w and show that two strings with the same answers to all these questions are Myhill-Nerode equivalent with respect to L(M). Here are the questions:
If you choose to follow this Hint, your job is to show (a) that if strings v and w have the same answers for each of these questions, then they are Myhill-Nerode equivalent for L(M), (b) there are only finitely many different possible answers for these questions, and (c) it follows that L(M) is regular.
Last modified 16 June 2003