Computer Science, asked by abhimanyu5167, 10 months ago

Prove that if a language is accepted by a dfa machine then its reverse is also accepted by a machine

Answers

Answered by paramasivandeepak
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