arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.18995cs.LO
收藏

代数推理在求解线性整数算术时遇见自动机(技术报告)

Algebraic Reasoning Meets Automata in Solving Linear Integer Arithmetic (Technical Report)

Peter Habermehl, Vojtěch Havlena, Michal Hečko, Lukáš Holík, Ondřej Lengál

AI总结:

本文利用自动机与算术公式间的细粒度对偶,将位向量自动机与代数推理结合,提出以公式导数构造自动机状态并大规模优化的量化线性整数算术求解方法,原型性能媲美甚至超过前沿 SMT 求解器。

摘要:

我们提出了一个求解量化线性整数算术的新视角,其基础是将基于自动机的方法(其中数字被理解为位向量)与(如今盛行的)代数方法中的思想相结合,后者直接处理数字。这种结合由自动机与算术公式之间对偶性的细粒度版本所促成。具体而言,我们采用一种构造,其中自动机的状态作为算术公式的导数而获得:于是每个状态都对应一个公式。基于从代数方法世界迁移而来的技术和思想的优化被用于数千个自动机状态,这显著放大了它们的效果。自动机与代数方法相结合的优点由我们的原型实现所证明,该实现可与最先进的 SMT 求解器竞争,甚至优于它们。

英文摘要:

We present a new angle on solving quantified linear integer arithmetic based on combining the automata-based approach, where numbers are understood as bitvectors, with ideas from (nowadays prevalent) algebraic approaches, which work directly with numbers. This combination is enabled by a fine-grained version of the duality between automata and arithmetic formulae. In particular, we employ a construction where states of automaton are obtained as derivatives of arithmetic formulae: then every state corresponds to a formula. Optimizations based on techniques and ideas transferred from the world of algebraic methods are used on thousands of automata states, which dramatically amplifies their effect. The merit of this combination of automata with algebraic methods is demonstrated by our prototype implementation being competitive to and even superior to state-of-the-art SMT solvers.

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

↑