GATE Computer ScienceHardGATE CS

How many of the following are tautologies? (a) ((p → q) → p) → p (b) (p → q) ∨ (q → p) (c) ((p ∧ q) → r) ↔ (p → (q → r)) (d) ((p → q) ∧ (q → r)) → (r → p) (e) (p → q) → ((q → r) → (p → r)) (f) ((p ∨ q) → r) ↔ ((p → r) ∨ (q → r))

  1. A. 3
  2. B. 5
  3. C. 6
  4. D. 4

Correct answer: D. 4

(a) Peirce, (b), (c) exportation and (e) hypothetical syllogism are valid; (d) fails at p = q = 0, r = 1 (the antecedent is true, r → p is false), and (f) fails because (p ∨ q) → r is (p → r) ∧ (q → r), not ∨. Total 4.

More Discrete Mathematics questions

Exams that ask this topic