Question

Language L1L_1 is polynomial time reducible to language L2L_2. Language L2L_2 is polynomial time reducible to L3L_3, which in turn is polynomial time reducible to language L4L_4. Which of the following is/are true?
I. if L1∈PL_1 \in P, then L2∈PL_2 \in P
II. if L4∈PL_4 \in P or L3∈PL_3 \in P, then L2∈PL_2 \in P
III. L1∈PL_1 \in P if and only if L3∈PL_3 \in P
IV. if L4∈PL_4 \in P, then L2∈PL_2 \in P and L1∈PL_1 \in P

Choose one option
Official answer and solution
Official answer
C
From
Official GATE 2015 answer key

Solution

Apply transitivity and directionality of polynomial-time reductions.

We are given the chain of polynomial-time reductions:

L1≤pL2≤pL3≤pL4L_1 \le_p L_2 \le_p L_3 \le_p L_4

By transitivity of polynomial-time reductions, La≤pLbL_a \le_p L_b for all 1≤a<b≤41 \le a < b \le 4.

Fundamental property: If A≤pBA \le_p B and B∈PB \in P, then A∈PA \in P (polynomial tractability propagates backwards through reductions).

Evaluate statements:

  • Statement I: "if L1∈PL_1 \in P, then L2∈PL_2 \in P". False: tractability does not propagate forward through reductions (a hard problem can reduce an easy problem).
  • Statement II: "if L4∈PL_4 \in P or L3∈PL_3 \in P, then L2∈PL_2 \in P". If L3∈PL_3 \in P, then since L2≤pL3L_2 \le_p L_3, L2∈PL_2 \in P. If L4∈PL_4 \in P, then since L2≤pL4L_2 \le_p L_4, L2∈PL_2 \in P. In either case L2∈PL_2 \in P. True.
  • Statement III: "L1∈PL_1 \in P if and only if L3∈PL_3 \in P". False: only the backward implication (L3∈P  ⟹  L1∈PL_3 \in P \implies L_1 \in P) holds, not the forward implication.
  • Statement IV: "if L4∈PL_4 \in P, then L2∈PL_2 \in P and L1∈PL_1 \in P". Since L1≤pL4L_1 \le_p L_4 and L2≤pL4L_2 \le_p L_4, L4∈PL_4 \in P implies both L1∈PL_1 \in P and L2∈PL_2 \in P. True.

Therefore, statements II and IV only are true (Option C).

Final answer

C

Common trap

Assuming reductions are bidirectional equivalences rather than one-way upper bounds on relative problem hardness.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2015 Computer Science and Information Technology (CS) Session 3
Question
63 of 65, printed as CS Q.53
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.