Question
Let be a recursive language and be a recursively enumerable but not recursive language. Let and be two languages such that reduces to , and reduces to (reduction means the standard many-one reduction). Which one of the following statements is TRUE?
Official answer and solution
- Official answer
- C
- From
- Official GATE 2016 answer key
Solution
Apply closure properties of recursive and recursively enumerable languages under complementation and standard many-one reductions.
We are given:
- is a recursive language ().
- is recursively enumerable but not recursive ().
Properties of the languages:
- Since is recursive and the class of recursive languages is closed under complementation, is also recursive ().
- For language : By Post's Theorem, a language is recursive if and only if both and are recursively enumerable. Since but , its complement cannot be recursively enumerable ().
Analyzing language ():
- For any many-one reduction , if is recursive, then is recursive.
- Since is recursive, must be recursive ().
Analyzing language ():
- For any many-one reduction , if is recursively enumerable, then is recursively enumerable.
- If were recursively enumerable (), then would also be recursively enumerable.
- However, we established that . Therefore, cannot be recursively enumerable ().
Conclusion:
is not recursively enumerable and is recursive. This matches option C.
C
Missing the bar over and in the original question text ( and ), which completely changes the solvability and leads to confusing with an RE language.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2016 Computer Science and Information Technology (CS) Session 1
- Question
- 54 of 65, printed as CS Q.44
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.