Which of the following tuple relational calculus expression(s) is/are equivalent to ?
GATE CSE 2008Databases › Relational Algebra & CalculusVerified
GATE CSE 2008 PYQ: Which of the following tuple relational calculus expression(s) is/are equivalent to ∀ t ∈ r ( P ( t ) )…
- AI only
- BII only
- CIII onlyCorrect answer
- DIII and IV only
Answer
(C) III only
Approach
Use the standard quantifier-negation equivalence for tuple relational calculus. The original formula says that every tuple belonging to relation \(r\) satisfies \(P\). The equivalent form must therefore negate the existence of a counterexample inside \(r\).
The original tuple relational calculus formula \(\forall t \in r\,(P(t))\) is equivalent to \(\neg \exists t \in r\,(\neg P(t))\), which is expression III. Expressions I, II, and IV have different truth conditions. Hence the correct option is C, "III only".
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.