GATE Computer ScienceVery hardGATE CS (PYQ pattern)

Which of the following first-order formulas are valid? 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(P(x) → Q(x)) → (∃x P(x) → ∃x Q(x)) IV. ∃x P(x) → ∀x P(x)

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

Correct answer: D. I and III only

I: if P fails at some a then Q(a) holds, giving ∃xQ. III: take a witness of P; it satisfies Q. II needs the same element to satisfy both (take P true only at a, Q only at b) and IV is false whenever P holds somewhere but not everywhere.

More Discrete Mathematics questions

Exams that ask this topic