1. Initial Limit Datalog: a New Extensible Class of Decidable Constrained Horn Clauses
- Author
-
Dominik Wagner, Steven J. Ramsay, Toby Cathcart Burn, and Luke Ong
- Subjects
Discrete mathematics ,FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,Horn clause ,Satisfiability ,Datalog ,Decidability ,Logic in Computer Science (cs.LO) ,Recursively enumerable language ,TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES ,Fragment (logic) ,Countable set ,Programming Languages ,Uncountable set ,computer ,Computer Science::Databases ,computer.programming_language ,Mathematics - Abstract
We present initial limit Datalog, a new extensible class of constrained Horn clauses for which the satisfiability problem is decidable. The class may be viewed as a generalisation to higher-order logic (with a simple restriction on types) of the first-order language limit Datalog$_Z$ (a fragment of Datalog modulo linear integer arithmetic), but can be instantiated with any suitable background theory. For example, the fragment is decidable over any countable well-quasi-order with a decidable first-order theory, such as natural number vectors under componentwise linear arithmetic, and words of a bounded, context-free language ordered by the subword relation. Formulas of initial limit Datalog have the property that, under some assumptions on the background theory, their satisfiability can be witnessed by a new kind of term model which we call entwined structures. Whilst the set of all models is typically uncountable, the set of all entwined structures is recursively enumerable, and model checking is decidable., Comment: 18 pages. To be published in LICS 2021
- Published
- 2021
- Full Text
- View/download PDF