English

Polytool: polynomial interpretations as a basis for termination analysis of Logic programs

Programming Languages 2009-12-23 v1 Logic in Computer Science

Abstract

Our goal is to study the feasibility of porting termination analysis techniques developed for one programming paradigm to another paradigm. In this paper, we show how to adapt termination analysis techniques based on polynomial interpretations - very well known in the context of term rewrite systems (TRSs) - to obtain new (non-transformational) ter- mination analysis techniques for definite logic programs (LPs). This leads to an approach that can be seen as a direct generalization of the traditional techniques in termination analysis of LPs, where linear norms and level mappings are used. Our extension general- izes these to arbitrary polynomials. We extend a number of standard concepts and results on termination analysis to the context of polynomial interpretations. We also propose a constraint-based approach for automatically generating polynomial interpretations that satisfy the termination conditions. Based on this approach, we implemented a new tool, called Polytool, for automatic termination analysis of LPs.

Keywords

Cite

@article{arxiv.0912.4360,
  title  = {Polytool: polynomial interpretations as a basis for termination analysis of Logic programs},
  author = {Manh Thang Nguyen and Danny De Schreye and Jürgen Giesl and Peter Schneider-Kamp},
  journal= {arXiv preprint arXiv:0912.4360},
  year   = {2009}
}
R2 v1 2026-06-21T14:27:11.268Z