[Paper Review] Relational Algebra as non-Distributive Lattice
This paper proposes a novel algebraic foundation for relational algebra by reducing it to two primitive operations—natural join and generalized union—demonstrating that these operations form a non-distributive lattice. The key contribution is showing that this minimal operator set is relationally complete and satisfies lattice axioms, offering a new algebraic perspective on relational databases that emphasizes order-theoretic structure over traditional relational algebra.
We reduce the set of classic relational algebra operators to two binary operations: natural join and generalized union. We further demonstrate that this set of operators is relationally complete and honors lattice axioms.
Motivation & Objective
- To reframe relational algebra using a minimal set of operations, focusing on natural join and generalized union.
- To demonstrate that this minimal operator set is relationally complete.
- To establish that the operations satisfy lattice axioms, forming a non-distributive lattice structure.
- To provide a new algebraic foundation for relational databases grounded in order theory.
Proposed method
- Reduction of the full relational algebra to just two binary operations: natural join and generalized union.
- Formalization of the operations within a lattice-theoretic framework, verifying closure, commutativity, associativity, and absorption.
- Proof that the lattice is non-distributive, showing that distributive laws do not hold in general.
- Demonstration of relational completeness by showing that all standard relational algebra operations can be derived from the two primitives.
- Use of algebraic structures to model relational data operations, emphasizing order and closure properties.
- Application of lattice theory to relational algebra, highlighting structural properties such as meet and join operations.
Experimental results
Research questions
- RQ1Can relational algebra be fully expressed using only natural join and generalized union as primitive operations?
- RQ2Does the set of operations formed by natural join and generalized union satisfy the axioms of a lattice?
- RQ3Is the resulting lattice structure distributive, or does it exhibit non-distributive behavior?
- RQ4Can this minimal operator set achieve full relational completeness?
- RQ5What is the algebraic structure of relational algebra when viewed through the lens of lattice theory?
Key findings
- The minimal operator set of natural join and generalized union is sufficient to express all standard relational algebra operations, proving relational completeness.
- The operations satisfy all lattice axioms—closure, commutativity, associativity, and absorption—forming a well-defined lattice.
- The lattice is non-distributive, as shown by counterexamples where distributive laws fail.
- The algebraic structure provides a new theoretical foundation for relational databases based on order theory.
- The framework offers a more abstract and unified perspective on relational operations, emphasizing structural properties over syntactic manipulation.
- The results suggest that lattice theory can serve as a powerful algebraic foundation for relational database systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.