There are fourteen questions for 100 total points plus 10 extra credit. All but one are from the textbook, Introduction to the Theory of Computation by Michael Sipser (second edition). The number in parentheses following each problem is its individual point value.
Students are responsible for understanding and following the academic honesty policies indicated on this page.
Prove that for any 2WDFA M, L(M) = {w: M accepts w} is a regular language. Hint: For any string w, define f0(w) to be the state (if any) on which M leaves w to the right when started in state q0 at the left of w. For each state q, define fq(w) to be the state (if any) on which M leaves w to the right when started in state q at the right of w. Show that if f0(u) = f0(v) and for every state q, fq(u) = fq(v), then u and v are L(M)-equivalent. (If M loops or hangs when started in one of these situations, let the output of the corresponding f-function be a special value "*".) Then finish with Myhill-Nerode.
Last modified 24 February 2014