Termination of simply moded logic programs with dynamic scheduling

  • Authors:
  • Annalisa Bossi;Sandro Etalle;Sabina Rossi;Jan-Georg Smaus

  • Affiliations:
  • Università Ca' Foscari di Venezia, Venice, Italy;Universiteit Twente and CWI Amsterdam, Enschede, The Netherlands;Università Ca' Foscari di Venezia, Venice, Italy;Universität Freiburg, Germany

  • Venue:
  • ACM Transactions on Computational Logic (TOCL)
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

In logic programming, dynamic scheduling indicates the feature by means of which the choice of the atom to be selected at each resolution step is done at runtime and does not follow a fixed selection rule such as the left-to-right one of Prolog. Input-consuming derivations were introduced to model dynamic scheduling while abstracting from the technical details. In this article, we provide a sufficient and necessary criterion for termination of input-consuming derivations of simply moded logic programs. The termination criterion we propose is based on a denotational semantics for partial derivations which is defined in the spirit of model-theoretic semantics previously proposed for left-to-right derivations.