English

Extracting Linear Relations from Gr\"obner Bases for Formal Verification of And-Inverter Graphs

Symbolic Computation 2025-01-22 v2 Logic in Computer Science

Abstract

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\"obner 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\"obner 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.

Cite

@article{arxiv.2411.16348,
  title  = {Extracting Linear Relations from Gr\"obner Bases for Formal Verification of And-Inverter Graphs},
  author = {Daniela Kaufmann and Jérémy Berthomieu},
  journal= {arXiv preprint arXiv:2411.16348},
  year   = {2025}
}

Comments

Accepted at 31st International Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS) 2025