Show that the conclusion (r -> q) follows from the premises: p, (p -> q) ∨ (p ∧ (r -> q)).
GATE 1987 · Discrete Mathematics · Propositional Logic · medium
Answer: The conclusion (r -> q) follows in both branches of the disjunction when combined with p. Proof complete.
Case 1: first disjunct (p -> q) holds: Premise p is given. Disjunct p -> q is assumed. By Modus Ponens: q is true. Since q (the consequent of r -> q) is true, the implication r -> q is vacuously true for any r. Conclusion: (r -> q).
Case 2: second disjunct (p ∧ (r -> q)) holds: Disjunct p ∧ (r -> q) is assumed. By Conjunction Elimination, extract the right conjunct: (r -> q) is directly obtained. Conclusion: (r -> q).
Conclude by Disjunction Elimination: Both Case 1 and Case 2 produce (r -> q). The second premise guarantees at least one case holds. Therefore (r -> q) follows from the premises in all situations.