A dynamic approach to characterizing termination of general logic programs

  • Authors:
  • Yi-Dong Shen;Jia-Huai You;Li-Yan Yuan;Samuel S. P. Shen;Qiang Yang

  • Affiliations:
  • Chinese Academy of Sciences, Beijing, China;University of Alberta, Edmonton, Canada;University of Alberta, Edmonton, Canada;University of Alberta, Edmonton, Canada;Simon Fraser University, Burnaby, BC, Canada

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

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a new characterization of termination of general logic programs. Most existing termination analysis approaches rely on some static information about the structure of the source code of a logic program, such as modes/types, norms/level mappings, models/interargument relations, and the like. We propose a dynamic approach that employs some key dynamic features of an infinite (generalized) SLDNF-derivation, such as repetition of selected subgoals and recursive increase in term size. We also introduce a new formulation of SLDNF-trees, called generalized SLDNF-trees. Generalized SLDNF-trees deal with negative subgoals in the same way as Prolog and exist for any general logic programs.