Conjunctive Queries, Existentially Quantified Systems of Equations and Finite Substitutions
J\'an Komara

TL;DR
This paper develops an elementary unification theory for positive conjunctive queries, introducing algorithms and lattice structures that relate formulas, substitutions, and systems of equations, with implications for logic programming.
Contribution
It presents a new unification algorithm for conjunctive queries, explores lattice-theoretic properties, and establishes an isomorphism between lattices of formulas and substitutions.
Findings
Algorithm for transforming conjunctive queries into solved form
Lattice of $ ext{E}$-formulas is complete and well-structured
Lattices of formulas and finite substitutions are isomorphic
Abstract
This report presents an elementary theory of unification for positive conjunctive queries. A positive conjunctive query is a formula constructed from propositional constants, equations and atoms using the conjunction and the existential quantifier . In particular, empty queries correspond to existentially quantified systems of equations -- called -formulas. We provide an algorithm which transforms any conjunctive query into a solved form. We prove some lattice-theoretic properties of queries. In particular, the quotient set of -formulas under an equivalence relation forms a complete lattice. Then we present another lattice -- a lattice of finite substitutions. We prove that the both lattices are isomorphic. Finally, we introduce the notion of application of substitutions to formulas and clarify its relationship to -formulas. This theory can be…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Advanced Algebra and Logic · Logic, Reasoning, and Knowledge
