retagged by
5,194 views
24 votes
24 votes

Which of the following languages are Recursively Enumerable language?

  1. $\{\langle M \rangle \mid M$ is a TM and there exist an input whose length is less than 100, on which $M$ halts$\}$
  2. $\{\langle M \rangle \mid M \text{ is a TM and }L(M) = \{00, 11\} \}$
  3. $\{ \langle M1, M2, M3 \rangle \mid L(M1) = L(M2) \cup L(M3) \}$
  4. All of these
retagged by

1 Answer

Best answer
32 votes
32 votes

a) is recursively enumerable but not recursive. If there is such an input, then we can say "yes". But for the no case we cannot decide as we can never be sure that such an input does not exist.

b) is not RE. We can use Rice's 2nd theorem which will be most straightforward. Here we are given the encoding of a TM and asked if the language of that machine is {00, 11}. (This is different from asking if that machine accepts 00 and 11, which would be RE). So, now to apply Rice's 2nd theorem, we need to make 2 TMs, TMyes and TMno, with L(TMyes) = {00,11} and L(TMno) != {00,11} and L(TMyes) subset of L(TMno). (The last condition is for non-monotonicity). 
Here, we can easily get a TMno as L(TMno) can be {00, 11, 011} or any subset of sigma star containing {00, 11} except {00, 11}. Since we get TMyes, and TMno, the given language is not RE. 

c) Checking the equivalence of language of 2 TMs itself is not even semi-decidable. So, this is clearly a non-recursively enumerable language as we can easily reduce TM equivalence problem to this by taking $L(M_3) = \phi.$

edited by

Related questions

3 votes
3 votes
1 answer
1
codingo1234 asked Aug 20, 2017
2,242 views
If L1 and L2 are Turing-Recognizable then L1 ∪ L2 will be(a) Decidable(b) Turing-recognizable but may not be decidable(c) May not be Turing recognizable(d) None of abov...