计算机科学 > 计算机科学中的逻辑
[提交于 2016年2月28日]
标题:Proving completeness of logic programs with the cut
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Włodzimierz Drabent[v1] 2016年2月28日 星期日 22:27:25 UTC