Skip to content
Official PYQ · 2010

GATE CS 2010 Q17 — Undecidability

Explain with AI

Let L1L_1 be the recursive language. Let L2L_2 and L3L_3 be languages that are recursively enumerable but not recursive. Which of the following statements is not necessarily true?

Choose one option
View worked solution

Answer: B

To determine which statement is not necessarily true, we analyze the closure properties of Recursive (REC) and Recursively Enumerable (RE) languages.

Given:

  • L1L_1 is a Recursive (REC) language.
  • L2L_2 and L3L_3 are Recursively Enumerable (RE) but not recursive.

Analyzing the Options:

  1. L2−L1L_2 - L_1 is RE:
    We can rewrite this as L2−L1=L2∩L1‾L_2 - L_1 = L_2 \cap \overline{L_1}.
    Since L1L_1 is REC, its complement L1‾\overline{L_1} is also REC (and therefore RE).
    Since RE languages are closed under intersection, the intersection of L2L_2 (RE) and L1‾\overline{L_1} (RE) is always RE.
    (This statement is always true)
  2. L1−L3L_1 - L_3 is RE:
    We can rewrite this as L1−L3=L1∩L3‾L_1 - L_3 = L_1 \cap \overline{L_3}.
    Since L3L_3 is RE but not REC, its complement L3‾\overline{L_3} is not RE.
    The intersection of a recursive language L1L_1 and a non-RE language L3‾\overline{L_3} is not guaranteed to be RE.
    Counterexample: Let L1=Σ∗L_1 = \Sigma^* (which is REC). Then, L1−L3=Σ∗−L3=L3‾L_1 - L_3 = \Sigma^* - L_3 = \overline{L_3}, which is not RE.
    (This statement is not necessarily true)
  3. L2∩L3L_2 \cap L_3 is RE:
    RE languages are closed under intersection. Since both L2L_2 and L3L_3 are RE, their intersection is always RE.
    (This statement is always true)
  4. L2∪L3L_2 \cup L_3 is RE:
    RE languages are closed under union. Since both L2L_2 and L3L_3 are RE, their union is always RE.
    (This statement is always true)

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Undecidability questions