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

实算术的二次虚代换验证

Verified Quadratic Virtual Substitution for Real Arithmetic

Matias Scharager, Katherine Cordwell, Stefan Mitsch, André Platzer

摘要:

本文提出了一种在Isabelle/HOL中通过线性和二次虚拟替换(VS)实现的一阶实数运算的形式化量词消去(QE)算法. Tarski-Seidenberg定理证明了实数运算的一阶逻辑可以由QE判定。然而,在实践中,QE算法是高度复杂的,并且经常结合多种方法来提高性能。VS是一个实际上成功的QE方法,目标是具有低次多项式的公式。据我们所知,这是第一个工作,正式VS二次实数算术,包括不等式。证明需要各种贡献,现有的多元多项式库在伊莎贝尔/HOL。我们的框架是模块化的,易于扩展(以方便集成未来的优化),并可以作为开发实用的通用QE算法的基础。此外,由于我们的形式化设计考虑到了实用性,我们将我们的开发导出到SML,并在文献中的378个基准上测试生成的代码,与Redlog,Z3,Wolfram Engine和SMT-RAT进行比较。这发现了一些工具中的不一致之处,强调了一种经过验证的方法对真实算术的复杂性的重要性。

英文摘要:

This paper presents a formally verified quantifier elimination (QE) algorithm for first-order real arithmetic by linear and quadratic virtual substitution (VS) in Isabelle/HOL. The Tarski-Seidenberg theorem established that the first-order logic of real arithmetic is decidable by QE. However, in practice, QE algorithms are highly complicated and often combine multiple methods for performance. VS is a practically successful method for QE that targets formulas with low-degree polynomials. To our knowledge, this is the first work to formalize VS for quadratic real arithmetic including inequalities. The proofs necessitate various contributions to the existing multivariate polynomial libraries in Isabelle/HOL. Our framework is modularized and easily expandable (to facilitate integrating future optimizations), and could serve as a basis for developing practical general-purpose QE algorithms. Further, as our formalization is designed with practicality in mind, we export our development to SML and test the resulting code on 378 benchmarks from the literature, comparing to Redlog, Z3, Wolfram Engine, and SMT-RAT. This identified inconsistencies in some tools, underscoring the significance of a verified approach for the intricacies of real arithmetic.

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

↑