Skip to content
Official PYQ · 2020

GATE CS 2020 Q39 — Propositional and First Order Logic

Explain with AI

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

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

Choose one option
View worked solution

Answer: C

To determine which formula is NOT logically valid, we can use the rules of null quantification. Since WW does not contain any free occurrences of xx, we can move the quantifiers past WW using standard logical equivalences.

Step-by-Step Analysis:

  • Option A: ∀x(p(x)∨W)≡∀x p(x)∨W\forall x (p(x) \vee W) \equiv \forall x \: p(x) \vee W
    Since xx is not free in WW, the universal quantifier distributes over disjunction with WW.
    ∀x(p(x)∨W)≡(∀x p(x))∨W\forall x (p(x) \vee W) \equiv (\forall x \: p(x)) \vee W This is valid.
  • Option B: ∃x(p(x)∧W)≡∃x p(x)∧W\exists x (p(x) \wedge W) \equiv \exists x \: p(x) \wedge W
    Similarly, the existential quantifier distributes over conjunction with WW.
    ∃x(p(x)∧W)≡(∃x p(x))∧W\exists x (p(x) \wedge W) \equiv (\exists x \: p(x)) \wedge W This is valid.
  • Option C: ∀x(p(x)→W)≡∀x p(x)→W\forall x (p(x) \rightarrow W) \equiv \forall x \: p(x) \rightarrow W
    Let us rewrite the implication p(x)→Wp(x) \rightarrow W as ¬p(x)∨W\neg p(x) \vee W: ∀x(p(x)→W)≡∀x(¬p(x)∨W)\forall x (p(x) \rightarrow W) \equiv \forall x (\neg p(x) \vee W) Since xx is not free in WW, we can pull WW out of the quantifier: ∀x(¬p(x)∨W)≡(∀x¬p(x))∨W\forall x (\neg p(x) \vee W) \equiv (\forall x \neg p(x)) \vee W Using the equivalence ∀x¬p(x)≡¬∃xp(x)\forall x \neg p(x) \equiv \neg \exists x p(x): ¬(∃xp(x))∨W≡∃xp(x)→W\neg (\exists x p(x)) \vee W \equiv \exists x p(x) \rightarrow W Thus, the LHS simplifies to ∃xp(x)→W\exists x p(x) \rightarrow W, which is not equivalent to the RHS ∀xp(x)→W\forall x p(x) \rightarrow W.
    Therefore, this formula is NOT logically valid.
  • Option D: ∃x(p(x)→W)≡∀x p(x)→W\exists x (p(x) \rightarrow W) \equiv \forall x \: p(x) \rightarrow W
    Rewriting the implication on the LHS: ∃x(p(x)→W)≡∃x(¬p(x)∨W)\exists x (p(x) \rightarrow W) \equiv \exists x (\neg p(x) \vee W) Pulling WW out: ∃x(¬p(x)∨W)≡(∃x¬p(x))∨W\exists x (\neg p(x) \vee W) \equiv (\exists x \neg p(x)) \vee W Using the equivalence ∃x¬p(x)≡¬∀xp(x)\exists x \neg p(x) \equiv \neg \forall x p(x): ¬(∀xp(x))∨W≡∀xp(x)→W\neg (\forall x p(x)) \vee W \equiv \forall x p(x) \rightarrow W This matches the RHS exactly. Thus, this is valid.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Propositional and First Order Logic questions