Skip to content
Official PYQ · 2003

GATE CS 2003 Q32 — Propositional and First Order Logic

Explain with AI

Which of the following is a valid first order formula? (Here α\alpha and β\beta are first order formulae with xx as their only free variable)

Choose one option
View worked solution

Answer: D

To determine which formula is valid, we can analyze the truth of each option:

Option D: (∀x)[α⇒β]⇒((∀x)[α]⇒(∀x)[β])(\forall x)[\alpha \Rightarrow \beta] \Rightarrow ((\forall x)[\alpha] \Rightarrow (\forall x)[\beta])

Let us assume the antecedent (∀x)[α⇒β](\forall x)[\alpha \Rightarrow \beta] is true, and also assume (∀x)[α](\forall x)[\alpha] is true. For any arbitrary element dd in the domain:

  • Since (∀x)[α⇒β](\forall x)[\alpha \Rightarrow \beta] is true, α(d)⇒β(d)\alpha(d) \Rightarrow \beta(d) must be true.
  • Since (∀x)[α](\forall x)[\alpha] is true, α(d)\alpha(d) must be true.

By Modus Ponens, β(d)\beta(d) must be true. Since dd is arbitrary, (∀x)[β](\forall x)[\beta] is true. Thus, the implication holds, making Option D valid.

Why other options are invalid:

  • Option A: Let α(x)\alpha(x) be "xx is even" and β(x)\beta(x) be "xx is odd" over integers. (∀x)[α](\forall x)[\alpha] is false, so (∀x)[α]⇒(∀x)[β](\forall x)[\alpha] \Rightarrow (\forall x)[\beta] is vacuously true. However, (∀x)[α⇒β](\forall x)[\alpha \Rightarrow \beta] is false (since even numbers do not imply odd numbers).
  • Option B: If β(x)\beta(x) is always false, then (∃x)[α∧β](\exists x)[\alpha \land \beta] is false, even if (∀x)[α](\forall x)[\alpha] is true.
  • Option C: Let the domain be {1,2}\{1, 2\}. Let α(1)\alpha(1) be true, α(2)\alpha(2) be false, and let β(1)\beta(1) be false, β(2)\beta(2) be true. Here, (∀x)[α∨β](\forall x)[\alpha \lor \beta] is true and (∃x)[α](\exists x)[\alpha] is true, making the antecedent true. However, (∀x)[α](\forall x)[\alpha] is false.

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

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