Improving Execution Models of Logic Programs by Two‐phase Abstract Interpretation

This paper improves top‐down execution models of logic programs based on a two‐phase interpretation which consists of a bottom‐up analysis followed by a top‐down one. The two‐phase analysis provides an approximation of all (possibly non‐ground) success patterns of clauses relevant to a query. It is...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:ETRI journal 1995-01, Vol.16 (4), p.27-47
Hauptverfasser: Chang, Byeong‐Mo, Choe, Kwang‐Moo, Giacobazzi, Roberto
Format: Artikel
Sprache:eng
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:This paper improves top‐down execution models of logic programs based on a two‐phase interpretation which consists of a bottom‐up analysis followed by a top‐down one. The two‐phase analysis provides an approximation of all (possibly non‐ground) success patterns of clauses relevant to a query. It is specialized by considering Sato and Tamaki's depth k ion as function. By the ability of the analysis to approximate possibly non‐ground success patterns of clauses relevant to a query, it can be statically determined whether some subgoals will fail during execution and some succeeding subgoals do not participate in success patterns of program clauses relevant to a given query. These properties are utilized to improve execution models. This approach can be easily applied to any top‐down (parallel) execution models. As instances, it is shown to be applicable to linear execution model and AND/OR Process Model.
ISSN:1225-6463
2233-7326
DOI:10.4218/etrij.95.0195.0003