Propositional & Predicate Logic
![Question 63, GATE 2015: Which displayed first-order formula is a tautology? A (∀x∃y R(x, y))↔(∃y∀x R(x, y)); B (∀x[∃y R(x, y)→S(x, y)])→∀x∃y S(x, y), with the printed quantifier scope retained; C [∀x∃y(P(x, y)→R(x, y))]↔[∀x∃y(¬P(x, y)∨R(x, y))]; D (∀x∀y P(x, y))→∀x∀y P(y, x). The published key selects C alone.](../../assets/questions/CS-2015-S2-Q63-1.webp)
Answer & solution
Official answer: C
Our answer: C and D are valid; official C only
C follows pointwise from P→R being equivalent to NOT P OR R, preserved under the same quantifiers. But D is also valid as literally printed: from forall x forall y P(x, y), every ordered pair satisfies P, including the pair(y, x), hence forall x forall y P(y, x). Universal quantifiers commute and bound-variable names can be renamed. Thus the single-choice question has at least two valid options, C and D, although the embedded official answer marks only C. A fails for equality on a two-element domain; B can have a false existential antecedent with S everywhere false.
Material implication P→R is equivalent pointwise to ¬P∨R. Applying identical quantifiers to equivalent predicates preserves equivalence, so C is valid. D is also valid: if P holds on every ordered pair, it holds on every swapped pair; exchanging the dummy variable names changes nothing. A fails on a two-element domain with R equality: each x has a matching y but no single y matches both. For B, take R and S both always false on a nonempty domain; the implication in its premise is true while the conclusion is false, regardless of the scope ambiguity in the displayed y. Thus the single-choice key omits another valid answer D.