Question

Let p,qp, q, and rr be propositions and the expression (p→q)→r(p \to q) \to r be a contradiction. Then, the expression (r∨p)→q(r \lor p) \to q is

Choose one option
Official answer and solution
Official answer
D
From
Official GATE 2017 answer key

Solution

Determine the truth values of the sub-formulas from the condition that (p→q)→r(p \to q) \to r is a contradiction, and evaluate (r∨p)→q(r \lor p) \to q.

We are given that the expression (p→q)→r(p \to q) \to r is a contradiction (it evaluates to FALSE under the considered scenario).
An implication A→BA \to B is FALSE if and only if A=TRUEA = \text{TRUE} and B=FALSEB = \text{FALSE}.

Therefore:

  1. p→q=TRUEp \to q = \text{TRUE}
  2. r=FALSEr = \text{FALSE}

Now evaluate the target expression:

E=(r∨p)→qE = (r \lor p) \to q

Substituting r=FALSEr = \text{FALSE}:

E=(FALSE∨p)→q=p→qE = (\text{FALSE} \lor p) \to q = p \to q

Since p→q=TRUEp \to q = \text{TRUE}, EE evaluates to TRUE.

Furthermore, looking at the general properties of an implication (r∨p)→q(r \lor p) \to q:
Whenever the consequent qq is TRUE, the implication (r∨p)→TRUE(r \lor p) \to \text{TRUE} is identically TRUE regardless of the truth values of rr and pp.
Therefore, the expression is always TRUE when qq is TRUE (Option D).

Final answer

D

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

Source

Paper
GATE 2017 Computer Science and Information Technology (CS) Session 1
Question
29 of 65, printed as CS Q.29
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.