Question
Let be a language and be its complement. Which one of the following is NOT a viable possibility?
Official answer and solution
- Official answer
- C
- From
- Official GATE 2014 answer key
Solution
Apply Post's theorem regarding recursive and recursively enumerable languages and their complements.
Post's Theorem is a fundamental theorem in computability theory:
'A language is recursive (decidable) if and only if both and its complement are recursively enumerable (Turing-recognizable).'
Let us evaluate each possibility:
- (A) Viable: Both and can be non-recursively enumerable (e.g., diagonal language or Kolmogorov complexity languages).
- (B) Viable: One can be r.e. but undecidable (such as the Halting Problem ), while its complement is not r.e.
- (C) Not viable: If both and were recursively enumerable, then by Post's theorem, we could run enumerators/recognizers for both in parallel; one of them must halt, making decidable (recursive). Thus, it is impossible for both and to be r.e. without being recursive.
- (D) Viable: If is recursive, is also recursive, so both are recursive.
Hence, possibility C is NOT viable.
C
Thinking that complementation is closed for r.e. languages, whereas only recursive languages are closed under complement.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2014 Computer Science and Information Technology (CS) Session 1
- Question
- 45 of 65, printed as CS Q.35
- 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.