Reasoning about termination of pure prolog programs

104Citations
Citations of this article
10Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

We provide a theoretical basis for studying termination of (general) logic programs with the Prolog selection rule. To this end we study the class of left terminating programs. These are logic programs that terminate with the Prolog selection rule for all ground goals. We offer a characterization of left terminating positive programs by means of the notion of an acceptable program that provides us with a practical method of proving termination. The method is illustrated by giving a simple proof of termination of the quicksort program for the desired class of goals. Then we extend this approach to the class of general logic programs by modifying the concept of acceptability. We prove that acceptable general programs are left terminating. The converse implication does not hold but we show that under the assumption of non-floundering from ground goals every left terminating general program is acceptable. Finally, we prove that various ways of defining semantics coincide for acceptable general programs. We illustrate the use of this extension by giving simple proofs of termination of a "game" program and the transitive closure program for the desired class of goals. © 1993 Academic Press, Inc.

References Powered by Scopus

Termination of rewriting

521Citations
N/AReaders
Get full text

A kripke-kleene semantics for logic programs*

414Citations
N/AReaders
Get full text

Nonmonotonic logic and temporal projection

299Citations
N/AReaders
Get full text

Cited by Powered by Scopus

Logic programming and negation: A survey

303Citations
N/AReaders
Get full text

Connectionist inductive learning and logic programming system

140Citations
N/AReaders
Get full text

Semantic basis for the termination analysis of logic programs

93Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Apt, K. R., & Pedreschi, D. (1993). Reasoning about termination of pure prolog programs. Information and Computation, 106(1), 109–157. https://doi.org/10.1006/inco.1993.1051

Readers' Seniority

Tooltip

Professor / Associate Prof. 3

33%

PhD / Post grad / Masters / Doc 3

33%

Researcher 2

22%

Lecturer / Post doc 1

11%

Readers' Discipline

Tooltip

Computer Science 6

67%

Philosophy 1

11%

Engineering 1

11%

Psychology 1

11%

Save time finding and organizing research with Mendeley

Sign up for free