arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2004.11787cs.PL
收藏

基于代数的回路综合

Algebra-based Loop Synthesis

Andreas Humenberger, Laura Kovács

摘要:

我们提出了一种合成满足给定多项式循环不变量的程序循环的算法。我们考虑的一类回路可以用一个常系数的代数递归方程组来建模。我们把循环合成的任务转化为一个多项式约束问题,通过精确地描述满足给定不变量的所有循环的集合。我们证明了我们的方法的合理性,以及其完整性相对于一个先验的固定上限的程序变量的数量。我们的工作对程序验证的应用,以及从代数关系生成数字序列。我们在Absynth工具中实现了我们的工作,并报告了我们使用循环合成的初步实验。

英文摘要:

We present an algorithm for synthesizing program loops satisfying a given polynomial loop invariant. The class of loops we consider can be modeled by a system of algebraic recurrence equations with constant coefficients. We turn the task of loop synthesis into a polynomial constraint problem by precisely characterizing the set of all loops satisfying the given invariant. We prove soundness of our approach, as well as its completeness with respect to an a priori fixed upper bound on the number of program variables. Our work has applications towards program verification, as well as generating number sequences from algebraic relations. We implemented our work in the Absynth tool and report on our initial experiments with loop synthesis.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑