1,808 research outputs found
The equational theory of the natural join and inner union is decidable
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.Comment: arXiv admin note: text overlap with arXiv:1607.0298
- …