English

Initial Limit Datalog: a New Extensible Class of Decidable Constrained Horn Clauses

Logic in Computer Science 2021-04-30 v1

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 DatalogZ_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.

Keywords

Cite

@article{arxiv.2104.14175,
  title  = {Initial Limit Datalog: a New Extensible Class of Decidable Constrained Horn Clauses},
  author = {Toby Cathcart Burn and Luke Ong and Steven Ramsay and Dominik Wagner},
  journal= {arXiv preprint arXiv:2104.14175},
  year   = {2021}
}

Comments

18 pages. To be published in LICS 2021

R2 v1 2026-06-24T01:37:26.073Z