Skip to main content

GATE CSE 2020Mathematical Logic › First-Order LogicVerified

GATE CSE 2020 PYQ: Which one of the following predicate formulae is NOT logically valid? Note that W W W is a predicate formula…

Which one of the following predicate formulae is NOT logically valid?

Note that WW is a predicate formula without any free occurrence of xx.

  1. A
    ∀x(p(x)∨W)≡∀x p(x)∨W\forall x (p(x) \vee W) \equiv \forall x \ p(x) \vee W
  2. B
    ∃x(p(x)∧W)≡∃x p(x)∧W\exists x(p(x) \wedge W) \equiv \exists x \: p(x) \wedge W
  3. C
    ∀x(p(x)→W)≡∀x p(x)→W\forall x(p(x) \rightarrow W) \equiv \forall x \: p(x) \rightarrow W
    Correct answer
  4. D
    ∃x(p(x)→W)≡∀x p(x)→W\exists x(p(x) \rightarrow W) \equiv \forall x \: p(x) \rightarrow W

Answer

(C) ∀ x ( p ( x ) → W ) ≡ ∀ x p ( x ) → W \forall x(p(x) \rightarrow W) \equiv \forall x \: p(x) \rightarrow W ∀ x ( p ( x ) → W ) ≡ ∀ x p ( x ) → W

Approach

Use the fact that W has no free occurrence of x, so W is independent of the quantified variable. Valid equivalences let us distribute ∀ over disjunction and ∃ over conjunction when one side is x-independent. For implication, rewrite using $A\to B \equiv \neg A\lor B$ and then apply quantifier negation laws.

Only option C is not logically valid: the universal quantifier distributes over $\lor$ with an x-independent W, and the existential quantifier distributes over $\land$ with an x-independent W, but $\forall x(p(x)\to W)$ is equivalent to $(\exists x\,p(x))\to W$, not $(\forall x\,p(x))\to W$. Option D is valid by rewriting the implication and applying quantifier negation.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.