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

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

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

arXiv:1507.05877 (cs)
[提交于 2015年7月21日]

标题:Proving Correctness of Imperative Programs by Linearizing Constrained Horn Clauses

作者:Emanuele De Angelis, Fabio Fioravanti, Alberto Pettorossi, Maurizio Proietti
查看论文《Proving Correctness of Imperative Programs by Linearizing Constrained Horn Clauses》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We present a method for verifying the correctness of imperative programs which is based on the automated transformation of their specifications. Given a program prog, we consider a partial correctness specification of the form $\{\varphi\}$ prog $\{\psi\}$, where the assertions $\varphi$ and $\psi$ are predicates defined by a set Spec of possibly recursive Horn clauses with linear arithmetic (LA) constraints in their premise (also called constrained Horn clauses). The verification method consists in constructing a set PC of constrained Horn clauses whose satisfiability implies that $\{\varphi\}$ prog $\{\psi\}$ is valid. We highlight some limitations of state-of-the-art constrained Horn clause solving methods, here called LA-solving methods, which prove the satisfiability of the clauses by looking for linear arithmetic interpretations of the predicates. In particular, we prove that there exist some specifications that cannot be proved valid by any of those LA-solving methods. These specifications require the proof of satisfiability of a set PC of constrained Horn clauses that contain nonlinear clauses (that is, clauses with more than one atom in their premise). Then, we present a transformation, called linearization, that converts PC into a set of linear clauses (that is, clauses with at most one atom in their premise). We show that several specifications that could not be proved valid by LA-solving methods, can be proved valid after linearization. We also present a strategy for performing linearization in an automatic way and we report on some experimental results obtained by using a preliminary implementation of our method.
评论: To appear in Theory and Practice of Logic Programming (TPLP), Proceedings of ICLP 2015
主题: 计算机科学中的逻辑 (cs.LO); 程序设计语言 (cs.PL)
引用方式: arXiv:1507.05877 [cs.LO]
  (或者 arXiv:1507.05877v1 [cs.LO] 对于此版本)
  https://doi.org/10.48550/arXiv.1507.05877
期刊参考: Theory and Practice of Logic Programming 15 (2015) 635-650
相关 DOI: https://doi.org/10.1017/S1471068415000289

提交历史

来自:Emanuele De Angelis
[v1] 2015年7月21日 星期二 15:40:25 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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