MPI-INF/SWS Research Reports 1991-2021

2. Number - All Departments


An abstract interpretation algorithm for residuating logic programs

Hanus, Michael

April 1992, 20 pages.

Status: available - back from printing

Residuation is an operational mechanism for the integration of functions into logic programming languages. The residuation principle delays the evaluation of functions during the unification process until the arguments are sufficiently instantiated. This has the advantage that the deterministic nature of functions is preserved but the disadvantage of incompleteness: if the variables in a delayed function call are not instantiated by the logic program, this function can never be evaluated and some answers which are logical consequences of the program are lost. In order to detect such situations at compile time, we present an abstract interpretation algorithm for this kind of programs. The algorithm approximates the possible residuations and instantiation states of variables during program execution. If the algorithm computes an empty residuation set for a goal, then it is ensured that the concrete execution of the goal does not end with a nonempty set of residuations which cannot be evaluated due to insufficient instantiation of argument variables.

  • MPI-I-92-217.pdfMPI-I-92-217.pdfMPI-I-92-217.dvi
  • Attachement: MPI-I-92-217.dvi (153 KBytes); MPI-I-92-217.pdf (204 KBytes)

URL to this document:

Hide details for BibTeXBibTeX
  AUTHOR = {Hanus, Michael},
  TITLE = {An abstract interpretation algorithm for residuating logic programs},
  TYPE = {Research Report},
  INSTITUTION = {Max-Planck-Institut f{\"u}r Informatik},
  ADDRESS = {Im Stadtwald, D-66123 Saarbr{\"u}cken, Germany},
  NUMBER = {MPI-I-92-217},
  MONTH = {April},
  YEAR = {1992},
  ISSN = {0946-011X},