Prove that if a language is accepted by a dfa machine then its reverse is also accepted by a machine
Answers
Answered by
0
So given a regular language L, we know (essentially by definition) that it is accepted by some finite automata, so there's a finite set of states with appropriate transitions that take us from the starting state to the accepting state if and only if the input is a string in L. We can even insist that there's only one accepting state, to simplify things. The to accept the reverse language all we need to do is reverse the direction of the transitions, change the start state to an accept state, and the accept state to the start state. Then we have a machine that is "backwards" compared to the original, and accepts the language LR.
Similar questions
English,
7 months ago
Computer Science,
7 months ago
Computer Science,
7 months ago
Math,
1 year ago
Economy,
1 year ago
Physics,
1 year ago
Math,
1 year ago