arXiv · 1602.08778
Proving completeness of logic programs with the cut
Abstract
Completeness of a logic program means that the program produces all the answers required by its specification. The cut is an important construct of programming language Prolog. It prunes part of the search space, this may result in a loss of completeness. This paper proposes a way of proving completeness of programs with the cut. The semantics of the cut is formalized by describing how SLD-trees are pruned. A sufficient condition for completeness is presented, proved sound, and illustrated by examples.
Explore related subjects
Keep this discovery
Włodzimierz Drabent. 2016-02-28. Proving completeness of logic programs with the cut. https://doi.org/10.1007/s00165-016-0392-0
Cite the original work for its findings. Save a collection to share your selection of sources.