半环上数据库的Codd定理
Codd's Theorem for Databases over Semirings
AI总结:
针对半环上的数据库探索Codd定理,建立含五个基本操作、及额外添加除法操作的两个版本,通过带monus的半环定义差运算语义并在演算侧用有限否定,解决普通关系数据库中除法可表达性不适用的问题。
摘要:
Codd定理是数据库理论的基本结果,断言关系代数和关系演算在关系数据库上具有相同的表达能力。我们针对半环上的数据库探索Codd定理,并为此类数据库建立该结果的两个不同版本:第一个版本涉及关系代数的五个基本操作,而第二个版本在五个基本操作基础上添加了除法操作。在两个版本中,关系的差运算通过带monus的半环给出语义,而关系演算侧则使用有限形式的否定。考虑这两个不同版本Codd定理的原因是,与普通关系数据库不同,对于任意正半环上的数据库,除法操作未必能通过关系代数的五个基本操作表达;事实上,我们证明即使对于多重集数据库,这种不可表达性结果仍然成立。
英文摘要:
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 algebra for databases over an arbitrary positive semiring; in fact, we show that this inexpressibility result holds even for bag databases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。