Automated termination analysis for logic programs with cut*

  • Authors:
  • Peter Schneider-kamp;JÜrgen Giesl;Thomas StrÖder;Alexander Serebrenik;RenÉ Thiemann

  • Affiliations:
  • Department of mathematics and computer science, university of southern denmark, denmark;Lufg informatik 2, rwth aachen university, germany;Lufg informatik 2, rwth aachen university, germany;Department of mathematics and computer science, tu eindhoven, the netherlands;Institute of computer science, university of innsbruck, austria

  • Venue:
  • Theory and Practice of Logic Programming
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Termination is an important and well-studied property for logic programs. However, almost all approaches for automated termination analysis focus on definite logic programs, whereas real-world Prolog programs typically use the cut operator. We introduce a novel pre-processing method which automatically transforms Prolog programs into logic programs without cuts, where termination of the cut-free program implies termination of the original program. Hence after this pre-processing, any technique for proving termination of definite logic programs can be applied. We implemented this pre-processing in our termination prover AProVE and evaluated it successfully with extensive experiments.