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

从Gröbner基中提取线性关系用于与反相图的形式验证

Extracting Linear Relations from Gröbner Bases for Formal Verification of And-Inverter Graphs

Daniela Kaufmann, Jérémy Berthomieu

AI总结:

本文提出一种正交方法,通过重写Gröbner基以提取线性多项式,用于重写线性化规格说明,从而避免单项式爆炸,并在乘法器验证基准上取得良好效果。

摘要:

基于计算机代数的形式验证技术已被证明对电路验证非常有效。电路以与反相图形式给出,被编码为一组多项式,这些多项式自动生成关于字典序项序的Gröbner基。电路的正确性可以通过计算规格说明的多项式余式来推导。然而,主要障碍是规格说明重写过程中的单项式爆炸,这促使开发专门的启发式方法来解决此问题。在本文中,我们研究了一种正交方法,将计算工作集中在重写Gröbner基本身上。我们的目标是确保基中包含能够有效用于重写线性化规格说明的线性多项式。我们首先证明了该技术的可靠性和完备性,然后展示了其实际应用。我们对该方法的实现在与乘法器验证相关的基准测试上显示出有前景的结果。

英文摘要:

Formal verification techniques based on computer algebra have proven highly effective for circuit verification. The circuit, given as an and-inverter graph, is encoded as a set of polynomials that automatically generates a Gröbner basis with respect to a lexicographic term ordering. Correctness of the circuit can be derived by computing the polynomial remainder of the specification. However, the main obstacle is the monomial blow-up during the rewriting of the specification, which leads to the development of dedicated heuristics to overcome this issue. In this paper, we investigate an orthogonal approach and focus the computational effort on rewriting the Gröbner basis itself. Our goal is to ensure the basis contains linear polynomials that can be effectively used to rewrite the linearized specification. We first prove the soundness and completeness of this technique and then demonstrate its practical application. Our implementation of this method shows promising results on benchmarks related to multiplier verification.

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

↑