Codd's Theorem for Databases over Semirings
Guillermo Badia, Phokion G. Kolaitis, Carles Noguera

TL;DR
This paper extends Codd's Theorem to databases over semirings, establishing two versions that incorporate division and difference operations using semiring semantics, highlighting differences from classical relational databases.
Contribution
It introduces two versions of Codd's Theorem for semiring-based databases, analyzing the expressibility of division and difference operations with semiring semantics.
Findings
Division operation may not be expressible in terms of basic operations over semirings.
Difference operation semantics are given using semirings with monus.
The inexpressibility of division holds even for bag databases.
Abstract
Codd's Theorem, a fundamental result of database theory, asserts that relational algebra and relational calculus have the same expressive power on relational databases. We explore Codd's Theorem for databases over semirings and establish two different versions of this result for such databases: the first version involves the five basic operations of relational algebra, while in the second version the division operation is added to the five basic operations of relational algebra. In both versions, the difference operation of relations is given semantics using semirings with monus, while on the side of relational calculus a limited form of negation is used. The reason for considering these two different versions of Codd's theorem is that, unlike the case of ordinary relational databases, the division operation need not be expressible in terms of the five basic operations of relational…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsConstraint Satisfaction and Optimization · Data Management and Algorithms · Advanced Algebra and Logic
