Logical reduction of relations: from relational databases to Peirce's reduction thesis
Sergiy Koshkin
TL;DR
The paper addresses the problem of reducing relations to lower arity using primitive positive formulas, unifying Peirce's bond algebra with relational database operations and CSP clone theory. It introduces projoins and hypostatic abstraction, bonds and teridentities, and bonding diagrams to analyze reductions, establishing a framework for complete reductions and a refined notion of ternarity. On infinite domains, non-degenerate $n$-ary relations reduce to unaries, binaries, and teridentities with $\mathrm{ter}=n-2$, while on finite domains the situation is more intricate and there are counterexamples (e.g., Herzberger's quaternary) showing larger ternarity and non-uniform behavior. The paper raises open questions about irreducible higher-arity relations on finite domains, sharp ternarity bounds, and the possible information-theoretic interpretation of ternarity, suggesting further connections to clone theory.
Abstract
We study logical reduction (factorization) of relations into relations of lower arity by Boolean or relative products that come from applying conjunctions and existential quantifiers to predicates, i.e. by primitive positive formulas of predicate calculus. Our algebraic framework unifies natural joins and data dependencies of database theory and relational algebra of clone theory with the bond algebra of C.S. Peirce. We also offer new constructions of reductions, systematically study irreducible relations and reductions to them, and introduce a new characteristic of relations, ternarity, that measures their `complexity of relating' and allows to refine reduction results. In particular, we refine Peirce's controversial reduction thesis, and show that reducibility behavior is dramatically different on finite and infinite domains.
