arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.04373cs.LOcs.PL
收藏

非确定性递归程序的多项式不变式生成

Polynomial Invariant Generation for Non-deterministic Recursive Programs

Krishnendu Chatterjee, Hongfei Fu, Amir Kafshdar Goharshady, Ehsan Kafshdar Goharshady

摘要:

我们考虑经典的问题,不变量生成的程序与多项式分配,并专注于合成不变量,是一个严格的多项式不等式的连接。我们提出了一个健全的和半完全的方法的基础上positivstellensaetze,即定理,在半代数几何的特点,正多项式在一个半代数集。据我们所知,这是第一个不变量生成方法,提供完整性保证的不变量组成的多项式不等式。此外,在理论方面,我们的方法的最坏情况的复杂性是次指数,而以前已知的完整的方法(Colon等,CAV 2003),它只能处理线性不变量的最坏情况的复杂性是指数。在实践方面,我们减少了不变量生成问题的二次规划(QCLP),这是一个经典的优化问题,许多工业求解器。最后,我们证明了我们的方法的适用性,通过提供实验结果在几个学术基准。

英文摘要:

We consider the classical problem of invariant generation for programs with polynomial assignments and focus on synthesizing invariants that are a conjunction of strict polynomial inequalities. We present a sound and semi-complete method based on positivstellensaetze, i.e. theorems in semi-algebraic geometry that characterize positive polynomials over a semi-algebraic set. To the best of our knowledge, this is the first invariant generation method to provide completeness guarantees for invariants consisting of polynomial inequalities. Moreover, on the theoretical side, the worst-case complexity of our approach is subexponential, whereas the worst-case complexity of the previously-known complete method (Colon et al, CAV 2003), which could only handle linear invariants, is exponential. On the practical side, we reduce the invariant generation problem to quadratic programming (QCLP), which is a classical optimization problem with many industrial solvers. Finally, we demonstrate the applicability of our approach by providing experimental results on several academic benchmarks.

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

↑