GATE / CS ARCHIVE

GATE CSE 2017 SET 1 / QUESTION 29

GATE CSE 2017 Set 1 Q29

Discrete Mathematics · Propositional & Predicate Logic · Full GATE CSE 2017 Set 1 paper

GATE 2017 Set 1, Q29 2 marks · MCQ
Report issue

Propositional & Predicate Logic

Question 29, GATE 2017: The source says (p→q)→r is “a contradiction.” Classify (r→p)→q: A tautology; B contradiction; C always true when p is false; D always true when q is true. Distinguish the source’s literal logical terminology from its intended false-valuation reading.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Our answer: D with false-valuation interpretation

1. Under the intended interpretation, an implication A→r is false exactly when A is true and r is false. Therefore p→q is true and r=false.

2. With r=false, r→p is true regardless of p. Hence (r→p)→q reduces to true→q, namely q. It is true whenever q is true, D.

3. The allowed valuation p=false,q=false,r=false makes the target false, ruling out both tautology and C. Taking q=true makes it true, ruling out contradiction. Literally, the first expression is not a contradiction over independent atoms: setting r=true satisfies it.

Original paper, page 14 · Answer key