GATE Computer ScienceVery hardGATE CS (PYQ pattern)

Which of the following first-order formulas are valid (true in every interpretation over every non-empty domain)? I. ∃x(P(x) → Q(x)) ↔ (∀x P(x) → ∃x Q(x)) II. (∀x P(x) → ∀x Q(x)) → ∀x(P(x) → Q(x)) III. ∃x∀y R(x, y) → ∀y∃x R(x, y) IV. ∀x∃y R(x, y) → ∃y∀x R(x, y)

  1. A. II and IV only
  2. B. I, II and III only
  3. C. I and III only
  4. D. III and IV only

Correct answer: C. I and III only

I: ∃x(¬P ∨ Q) ≡ ∃x¬P ∨ ∃xQ ≡ ¬∀xP ∨ ∃xQ. III: a single x that relates to every y serves as the witness for each y. II fails when P and Q are not universally true but P holds somewhere Q does not; IV is the classic quantifier-swap fallacy.

More Discrete Mathematics questions

Exams that ask this topic