跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算机科学中的逻辑

arXiv:cs/0501043 (cs)
[提交于 2005年1月25日]

标题:Proving Correctness and Completeness of Normal Programs - a Declarative Approach

作者:W. Drabent, M. Milkowska
查看论文《Proving Correctness and Completeness of Normal Programs - a Declarative Approach》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We advocate a declarative approach to proving properties of logic programs. Total correctness can be separated into correctness, completeness and clean termination; the latter includes non-floundering. Only clean termination depends on the operational semantics, in particular on the selection rule. We show how to deal with correctness and completeness in a declarative way, treating programs only from the logical point of view. Specifications used in this approach are interpretations (or theories). We point out that specifications for correctness may differ from those for completeness, as usually there are answers which are neither considered erroneous nor required to be computed. We present proof methods for correctness and completeness for definite programs and generalize them to normal programs. For normal programs we use the 3-valued completion semantics; this is a standard semantics corresponding to negation as finite failure. The proof methods employ solely the classical 2-valued logic. We use a 2-valued characterization of the 3-valued completion semantics which may be of separate interest. The presented methods are compared with an approach based on operational semantics. We also employ the ideas of this work to generalize a known method of proving termination of normal programs.
评论: To appear in Theory and Practice of Logic Programming (TPLP). 44 pages
主题: 计算机科学中的逻辑 (cs.LO); 程序设计语言 (cs.PL)
引用方式: arXiv:cs/0501043 [cs.LO]
  (或者 arXiv:cs/0501043v1 [cs.LO] 对于此版本)
  https://doi.org/10.48550/arXiv.cs/0501043
期刊参考: Theory and Practice of Logic Programming, 5(6):669-711, 2005

提交历史

来自:Wlodzimierz Drabent
[v1] 2005年1月25日 星期二 16:53:59 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LO
< 上一篇   |   下一篇 >
最新 | 近期 | 2005-01
切换浏览方式为:
cs
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站