Let S = {<M> | M is a DFA that accepts wR whenever it accepts w}. Show that S is decidable. Let S = {<M> | M is a DFA that accepts wR whenever it accepts w}. Show that S is decidable.
To shown "S" is decidable, Construct Decider "D" for S as follows :-
Let (T) be the Turning Machine(TM) that makes a decision Equivalent to DFA (denoted as ):
D = On Input <M> ,
In the above Turning Machine (TM),
Step 1 may be achieved via way of means of converting M into M' in finite steps.
The concept is to
(i) opposite the directions of all transition arrows in M
(ii) create a new state q' in M', and connects q' to every unique very last states of M with ε-transitions, and
(iii) make the unique begin state of M final state of M'.
It is simple to check that L(M') = | W ∈ L(M'') > w∈ L(M).
Also, both Step two and Step three may be achieved in finite steps
D runs in finite steps and is for this reason a decider
Get Answers For Free
Most questions answered within 1 hours.