arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.02023cs.DB
收藏

幺半群上关系的一致性

Consistency of Relations over Monoids

Albert Atserias, Phokion G. Kolaitis

AI总结:

本文系统研究正交换幺半群上关系的局部与全局一致性,证明无环性必要但不总充分,并通过引入运输性质和自由覆盖下的两两一致性给出完整刻画。

摘要:

局部一致性与全局一致性之间的相互作用一直是多个不同领域的研究对象,包括概率论、关系数据库和量子信息。在关系数据库中,Beeri、Fagin、Maier 和 Yannakakis 证明了数据库模式是无环的当且仅当它具有关系的局部到全局一致性性质,这意味着模式上每一组两两一致的关系都是全局一致的。最近,在 bag 语义下也证明了同样的结果。在本文中,我们对正交换幺半群上的关系进行了局部与全局一致性的系统研究,这是普通关系和 bag 的一种共同推广。设 $\mathbb K$ 为任意正交换幺半群。我们首先证明模式的无环性是 $\mathbb K$-关系具有局部到全局一致性性质的必要条件。然而,与普通关系和 bag 的情形不同,我们证明无环性并不总是充分的。此后,我们刻画了使得无环性对局部到全局一致性性质既必要又充分的正交换幺半群;这一刻画涉及幺半群的一个组合性质,我们称之为 \emph{运输性质}。接着我们识别出若干类具有运输性质的幺半群。作为最后一项贡献,我们引入了一个修改后的 $\mathbb{K}$-关系局部一致性概念,称之为 \emph{自由覆盖下的两两一致性}。我们证明,对于所有正交换幺半群 $\mathbb{K}$,即使是不具有运输性质的幺半群,无环性对于每一族在自由覆盖下两两一致的 $\mathbb{K}$-关系成为全局一致既是必要的也是充分的。

英文摘要:

The interplay between local consistency and global consistency has been the object of study in several different areas, including probability theory, relational databases, and quantum information. For relational databases, Beeri, Fagin, Maier, and Yannakakis showed that a database schema is acyclic if and only if it has the local-to-global consistency property for relations, which means that every collection of pairwise consistent relations over the schema is globally consistent. More recently, the same result has been shown under bag semantics. In this paper, we carry out a systematic study of local vs.\ global consistency for relations over positive commutative monoids, which is a common generalization of ordinary relations and bags. Let $\mathbb K$ be an arbitrary positive commutative monoid. We begin by showing that acyclicity of the schema is a necessary condition for the local-to-global consistency property for $\mathbb K$-relations to hold. Unlike the case of ordinary relations and bags, however, we show that acyclicity is not always sufficient. After this, we characterize the positive commutative monoids for which acyclicity is both necessary and sufficient for the local-to-global consistency property to hold; this characterization involves a combinatorial property of monoids, which we call the \emph{transportation property}. We then identify several different classes of monoids that possess the transportation property. As our final contribution, we introduce a modified notion of local consistency of $\mathbb{K}$-relations, which we call \emph{pairwise consistency up to the free cover}. We prove that, for all positive commutative monoids $\mathbb{K}$, even those without the transportation property, acyclicity is both necessary and sufficient for every family of $\mathbb{K}$-relations that is pairwise consistent up to the free cover to be globally consistent.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑