GATE / CS ARCHIVE

GATE CSE 1999 / QUESTION 14(a)

Refute a claimed tautology

Discrete Mathematics · Propositional & Predicate Logic · Full GATE CSE 1999 paper

GATE 1999, Q14(a) 3 marks · Descriptive
Report issue

Propositional & Predicate Logic

Question 14(a), GATE 1999: Show that (¬p ∨ q) ⇒ (q ⇒ p) is not a tautology.
Question 14(a), GATE 1999: Show that (¬p ∨ q) ⇒ (q ⇒ p) is not a tautology.
Tap to enlarge
Answer & solution

Answer: Counterexample p=false, q=true. (no official key was published)

An implication is false precisely when its antecedent is true and consequent false. Set p=false and q=true. Then ¬p ∨ q=true ∨ true=true, but q ⇒ p=true ⇒ false=false. The whole formula is therefore false. One counterexample suffices to refute a tautology; it need not be false on every valuation. Indeed the formula simplifies to p ∨ ¬q: ¬(¬p ∨ q) ∨ (¬q ∨ p)=(p ∧ ¬q) ∨ ¬q ∨ p=p ∨ ¬q. Its values for (p,q)=(F,F),(F,T),(T,F),(T,T) are T,F,T,T.

Original paper, page 7