GATE / CS ARCHIVE

GATE CSE 2020 / QUESTION 39

GATE CSE 2020 Q39

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

GATE 2020, Q39 2 marks · MCQ
Report issue

Propositional & Predicate Logic

Question 39, GATE 2020: W has no free x. Which equivalence is NOT valid (usual nonempty domain)? A ∀x(p(x)∨W) ≡ (∀x p(x))∨W; B ∃x(p(x)∧W) ≡ (∃x p(x))∧W; C ∀x(p(x)→W) ≡ (∀x p(x))→W; D ∃x(p(x)→W) ≡ (∀x p(x))→W.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Worked explanation

Rewrite implication first: p→W is ¬p∨W. Universal quantification then gives ∀x(¬p(x)∨W)≡(∀x¬p(x))∨W≡¬∃x p(x)∨W, which is (∃x p(x))→W, not the universal antecedent printed in C. A countermodel makes the failure tangible: p(u)=true,p(v)=false,W=false. C’s left side fails at u; its right side is true because ∀x p(x) is false. For D, existential quantification instead yields (∃x¬p(x))∨W≡¬∀x p(x)∨W, exactly the printed right side. The side condition that W has no free x is essential when moving W outside a quantifier.

Derivation and answer

Let the domain have two elements, let p be true at one and false at the other, and let W be false. Then ∀x(p(x)→W) is false, while(∀x p(x))→W is true because its antecedent is false. Thus C is not valid. A andB pull an x-independent formula across the corresponding quantifier. D follows from ∃x(¬p(x)∨W)≡¬∀x p(x)∨W in the standard nonempty-domain semantics.

Original paper, page 13 · Answer key