计算机科学 > 计算机科学中的逻辑
[提交于 2019年2月12日]
标题:Polynomial Invariant Generation for Non-deterministic Recursive Programs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Amir Kafshdar Goharshady[v1] 2019年2月12日 星期二 13:17:25 UTC