arXiv · 1411.3015
On completeness of logic programs
Abstract
Program correctness (in imperative and functional programming) splits in logic programming into correctness and completeness. Completeness means that a program produces all the answers required by its specification. Little work has been devoted to reasoning about completeness. This paper presents a few sufficient conditions for completeness of definite programs. We also study preserving completeness under some cases of pruning of SLD-trees (e.g. due to using the cut). We treat logic programming as a declarative paradigm, abstracting from any operational semantics as far as possible. We argue that the proposed methods are simple enough to be applied, possibly at an informal level, in practical Prolog programming. We point out importance of approximate specifications.
Explore related subjects
Keep this discovery
Wlodzimierz Drabent. 2014-11-11. On completeness of logic programs. https://arxiv.org/abs/1411.3015
Cite the original work for its findings. Save a collection to share your selection of sources.