Checking Termination of Datalog with Function Symbols Through Linear Constraints

Marco Calautti, Sergio Greco, Cristian Molinaro, Irina Trubitsyna

Research output: Chapter in Book/Report/Conference proceedingConference contribution


Enriching Datalog programs with function symbols makes modeling easier, increases the expressive power, and allows us to deal with infinite domains. However, this comes at a cost: common inference tasks become undecidable. To cope with this issue, recent research has focused on finding trade-offs between expressivity and decidability by identifying classes of logic programs that impose limitations on the use of function symbols but guarantee decidability of common inference tasks. Despite the significant body of work in this area, current approaches do not include many simple practical programs whose evaluation terminates. In this paper, we present the novel class of rule-bounded programs. While current techniques perform a limited analysis of how terms are propagated from an individual argument to another, our technique is able to
perform a more global analysis, thereby overcoming several limitations of current approaches. We show different results on the correctness and the expressivity of the proposed technique.
Original languageEnglish
Title of host publication23rd Italian Symposium on Advanced Database Systems, SEBD 2015, Gaeta, Italy, June 14-17, 2015.
Number of pages8
Publication statusPublished - 2015


Dive into the research topics of 'Checking Termination of Datalog with Function Symbols Through Linear Constraints'. Together they form a unique fingerprint.

Cite this