Question: Let S TM = { | M is a Turing Machine and M accepts some string from ?*}. a) Explain why the following proof that
Let STM = {
a) Explain why the following proof that STM is Turing recognizable is incorrect.
Proof: Let (w1,w2,w3,...} be the list of all strings in ?* in short lexicographic order. Then, the following Turing Machine R is a recognizer for S.
On input :
1. Set i = 1
2. Simulate the execution of M on wi. If M accepts, accept.
3. Increment i and repeat step 2.
b. Modify this incorrect proof to give a correct proof that STM is recognizable. (HINT: Consider the proof that a language is Turing recognizable if and only if some enumerator enumerates it.)
c)Now, show that ETM = {
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
