Consistency of Relations over Monoids

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 article, we carry out a systematic study of local versus 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. Then, 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 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 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.

Authors

Institutions

Publication Details

Journal
Journal of the ACM
Published
2025-04-02
DOI
https://doi.org/10.1145/3721855
Citations
1
Primary Topic
Logic, programming, and type systems
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Consistency of Relations over Monoids

Albert Atserias, Phokion G. Kolaitis
1 citations
Journal of the ACM
Logic, programming, and type systems
2.48
article

Consistency of Relations over Monoids

Albert Atserias, Phokion G. Kolaitis
article en
1 citations

Abstract

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 article, we carry out a systematic study of local versus 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. Then, 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 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 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.

Journal of the ACMVol. 72(3)
University of California, Santa Cruz (US), IBM Research - Almaden (US), Centre de Recerca Matemàtica (ES), Universitat Politècnica de Catalunya (ES)
Openalex Percentile: Top 11%
Logic, programming, and type systems
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.