Question

Let LL be a language and Lˉ\bar{L} be its complement. Which one of the following is NOT a viable possibility?

Choose one option
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 LL is recursive (decidable) if and only if both LL and its complement Lˉ\bar{L} are recursively enumerable (Turing-recognizable).'

Let us evaluate each possibility:

  • (A) Viable: Both LL and Lˉ\bar{L} 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 HH), while its complement Hˉ\bar{H} is not r.e.
  • (C) Not viable: If both LL and Lˉ\bar{L} were recursively enumerable, then by Post's theorem, we could run enumerators/recognizers for both in parallel; one of them must halt, making LL decidable (recursive). Thus, it is impossible for both LL and Lˉ\bar{L} to be r.e. without being recursive.
  • (D) Viable: If LL is recursive, Lˉ\bar{L} is also recursive, so both are recursive.

Hence, possibility C is NOT viable.

Final answer

C

Common trap

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.