The equational theory of the natural join and inner union is decidable

10/30/2017
by   Luigi Santocanale, et al.
0

The natural join and the inner union operations combine relations of a database. Tropashko and Spight [24] realized that these two operations are the meet and join operations in a class of lattices, known by now as the relational lattices. They proposed then lattice theory as an algebraic approach to the theory of databases, alternative to the relational algebra. Previous works [17, 22] proved that the quasiequational theory of these lattices-that is, the set of definite Horn sentences valid in all the relational lattices-is undecidable, even when the signature is restricted to the pure lattice signature. We prove here that the equational theory of relational lattices is decidable. That, is we provide an algorithm to decide if two lattice theoretic terms t, s are made equal under all intepretations in some relational lattice. We achieve this goal by showing that if an inclusion t < s fails in any of these lattices, then it fails in a relational lattice whose size is bound by a triple exponential function of the sizes of t and s.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/14/2021

Demonic Lattices and Semilattices in Relational Semigroups with Ordinary Composition

Relation algebra and its reducts provide us with a strong tool for reaso...
research
04/07/2022

Two flags in a semimodular lattice generate an antimatroid

A basic property in a modular lattice is that any two flags generate a d...
research
07/24/2019

Free Kleene algebras with domain

First we identify the free algebras of the class of algebras of binary r...
research
04/01/2022

Givens QR Decomposition over Relational Databases

This paper introduces Figaro, an algorithm for computing the upper-trian...
research
11/01/2022

Counting and Computing Join-Endomorphisms in Lattices (Revisited)

Structures involving a lattice and join-endomorphisms on it are ubiquito...
research
12/08/2020

Discrete Signal Processing on Meet/Join Lattices

A lattice is a partially ordered set supporting a meet (or join) operati...
research
12/03/2017

Polystore Mathematics of Relational Algebra

Financial transactions, internet search, and data analysis are all placi...

Please sign up or login with your details

Forgot password? Click here to reset