Detecting Optimal Termination Conditions of Logic Programs

Abstract : In this paper, we begin with an approach to non-termination inference of logic programs. Our framework relies on an extension of the Lifting Theorem, where some specific argument positions can be instantiated while others are generalized. Atomic left looping queries are generated bottom-up from selected subsets of the binary unfoldings of the program of interest. Then non-termination inference is tailored to attempt proofs of optimality of left termination conditions computed by a termination inference tool. For each class of atomic queries not covered by a termination condition, the aim is to ensure the existence of one query from this class which leads to an infinite search tree. An experimental evaluation is reported. When termination and non-termination analysis produce complementary results for a logic procedure, they induce a characterization of the operational behavior of the logic procedure with respect to the left most selection rule and the language used to describe sets of atomic queries.
Document type :
Conference papers
Complete list of metadatas

Cited literature [24 references]  Display  Hide  Download

http://hal.univ-reunion.fr/hal-01915746
Contributor : Réunion Univ <>
Submitted on : Thursday, November 8, 2018 - 6:29:07 AM
Last modification on : Thursday, March 28, 2019 - 11:24:11 AM
Long-term archiving on : Saturday, February 9, 2019 - 12:48:01 PM

File

Detecting_optimal_termination_...
Files produced by the author(s)

Identifiers

  • HAL Id : hal-01915746, version 1

Collections

Citation

Frédéric Mesnard, Etienne Payet, Ulrich Neumerkel. Detecting Optimal Termination Conditions of Logic Programs. 9th International Static Analysis Symposium (SAS 2002), Sep 2002, Madrid, Spain. pp.509-525. ⟨hal-01915746⟩

Share

Metrics

Record views

33

Files downloads

66