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

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

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

arXiv:1801.03967 (cs)
[提交于 2018年1月11日]

标题:Invariant Generation for Multi-Path Loops with Polynomial Assignments

作者:Andreas Humenberger, Maximilian Jaroschek, Laura Kovács
查看论文《Invariant Generation for Multi-Path Loops with Polynomial Assignments》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Program analysis requires the generation of program properties expressing conditions to hold at intermediate program locations. When it comes to programs with loops, these properties are typically expressed as loop invariants. In this paper we study a class of multi-path program loops with numeric variables, in particular nested loops with conditionals, where assignments to program variables are polynomial expressions over program variables. We call this class of loops extended P-solvable and introduce an algorithm for generating all polynomial invariants of such loops. By an iterative procedure employing Gr\"obner basis computation, our approach computes the polynomial ideal of the polynomial invariants of each program path and combines these ideals sequentially until a fixed point is reached. This fixed point represents the polynomial ideal of all polynomial invariants of the given extended P-solvable loop. We prove termination of our method and show that the maximal number of iterations for reaching the fixed point depends linearly on the number of program variables and the number of inner loops. In particular, for a loop with m program variables and r conditional branches we prove an upper bound of m*r iterations. We implemented our approach in the Aligator software package. Furthermore, we evaluated it on 18 programs with polynomial arithmetic and compared it to existing methods in invariant generation. The results show the efficiency of our approach.
主题: 程序设计语言 (cs.PL); 符号计算 (cs.SC)
引用方式: arXiv:1801.03967 [cs.PL]
  (或者 arXiv:1801.03967v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1801.03967
相关 DOI: https://doi.org/10.1007/978-3-319-73721-8_11

提交历史

来自:Andreas Humenberger
[v1] 2018年1月11日 星期四 19:55:51 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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