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)
- A. II and IV only
- B. I, II and III only
- C. I and III only
- 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
- 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))…
- Over the domain D = {1, 2, 3, 4}, how many interpretations of the binary predicate R make ∀x∀y(R(x, y) → R(y, x)) ∧ ∀x∃y(x ≠ y ∧ R(x, y))…
- How many of the 64 assignments to a, b, c, d, e, f satisfy a ∧ (a → b) ∧ ((b ∧ c) → d) ∧ (d → e) ∧ (e → c) ∧ (¬d ∨ ¬f)?
- On an island knights always tell the truth and knaves always lie. A says 'B is a knave'. B says 'A and C are of the same type'. C says…
- Using only ∧ and ∨ (no negation, no constants), formulas are built from the variables p, q, r. How many pairwise non-equivalent such…
- A Boolean function f of four variables is self-dual if f(x̄₁, x̄₂, x̄₃, x̄₄) = ¬f(x₁, x₂, x₃, x₄). How many self-dual functions of four…