Chapter 3: 6E (page 188)
In Theorem 3.21 we showed that a language is Turing-recognizable iff some enumerator enumerates it. Why didn’t we use the following simpler algorithm for the forward direction of the proof? As before, s1,s2,... is a list of all strings in
E = “Ignore the input.
1. Repeat the following for
2. Run M on si.
3. If it accepts, print out si.”
Short Answer
We need to simulate on each of the strings for a fixed length of time so that no looping can occur.