Reasoning about termination of Prolog programs:

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 cha...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Apt, Krzysztof R. 1949- (VerfasserIn), Pedreschi, Dino (VerfasserIn)
Format: Buch
Sprache:English
Veröffentlicht: Pisa 1991
Schriftenreihe:Università degli Studi <Pisa> / Dipartimento di Informatica: Technical report 1991,14
Schlagworte:
Zusammenfassung: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 coicide 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.
Beschreibung:45 S.

Es ist kein Print-Exemplar vorhanden.

Fernleihe Bestellen Achtung: Nicht im THWS-Bestand!