Hostname: page-component-89b8bd64d-ktprf Total loading time: 0 Render date: 2026-05-06T16:47:27.000Z Has data issue: false hasContentIssue false

Using linear constraints for logic program termination analysis

Published online by Cambridge University Press:  31 March 2016

MARCO CALAUTTI
Affiliation:
DIMES, Università della Calabria, 87036 Rende(CS), Italy (e-mail: calautti@dimes.unical.it, greco@dimes.unical.it, cmolinaro@dimes.unical.it, trubitsyna@dimes.unical.it)
SERGIO GRECO
Affiliation:
DIMES, Università della Calabria, 87036 Rende(CS), Italy (e-mail: calautti@dimes.unical.it, greco@dimes.unical.it, cmolinaro@dimes.unical.it, trubitsyna@dimes.unical.it)
CRISTIAN MOLINARO
Affiliation:
DIMES, Università della Calabria, 87036 Rende(CS), Italy (e-mail: calautti@dimes.unical.it, greco@dimes.unical.it, cmolinaro@dimes.unical.it, trubitsyna@dimes.unical.it)
IRINA TRUBITSYNA
Affiliation:
DIMES, Università della Calabria, 87036 Rende(CS), Italy (e-mail: calautti@dimes.unical.it, greco@dimes.unical.it, cmolinaro@dimes.unical.it, trubitsyna@dimes.unical.it)

Abstract

It is widely acknowledged that function symbols are an important feature in answer set programming, as they make modelling easier, increase the expressive power, and allow us to deal with infinite domains. The main issue with their introduction is that the evaluation of a program might not terminate and checking whether it terminates or not is undecidable. To cope with this problem, several classes of logic programs have been proposed where the use of function symbols is restricted but the program evaluation termination is guaranteed. 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 classes of rule-bounded and cycle-bounded programs, which overcome different limitations of current approaches by performing a more global analysis of how terms are propagated from the body to the head of rules. Results on the correctness, the complexity, and the expressivity of the proposed approach are provided.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2016 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable