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

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

计算机科学 > 程序设计语言

arXiv:1309.5139 (cs)
[提交于 2013年9月20日]

标题:Verification of Imperative Programs by Constraint Logic Program Transformation

作者:Emanuele De Angelis, Fabio Fioravanti, Alberto Pettorossi, Maurizio Proietti
查看论文《Verification of Imperative Programs by Constraint Logic Program Transformation》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We present a method for verifying partial correctness properties of imperative programs that manipulate integers and arrays by using techniques based on the transformation of constraint logic programs (CLP). We use CLP as a metalanguage for representing imperative programs, their executions, and their properties. First, we encode the correctness of an imperative program, say prog, as the negation of a predicate 'incorrect' defined by a CLP program T. By construction, 'incorrect' holds in the least model of T if and only if the execution of prog from an initial configuration eventually halts in an error configuration. Then, we apply to program T a sequence of transformations that preserve its least model semantics. These transformations are based on well-known transformation rules, such as unfolding and folding, guided by suitable transformation strategies, such as specialization and generalization. The objective of the transformations is to derive a new CLP program TransfT where the predicate 'incorrect' is defined either by (i) the fact 'incorrect.' (and in this case prog is not correct), or by (ii) the empty set of clauses (and in this case prog is correct). In the case where we derive a CLP program such that neither (i) nor (ii) holds, we iterate the transformation. Since the problem is undecidable, this process may not terminate. We show through examples that our method can be applied in a rather systematic way, and is amenable to automation by transferring to the field of program verification many techniques developed in the field of program transformation.
评论: In Proceedings Festschrift for Dave Schmidt, arXiv:1309.4557
主题: 程序设计语言 (cs.PL); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:1309.5139 [cs.PL]
  (或者 arXiv:1309.5139v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1309.5139
期刊参考: EPTCS 129, 2013, pp. 186-210
相关 DOI: https://doi.org/10.4204/EPTCS.129.12

提交历史

来自:EPTCS
[v1] 2013年9月20日 星期五 01:44:29 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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