,
Daniela Kaufmann
Creative Commons Attribution 4.0 International license
Formal verification of arithmetic circuits using computer algebra has been shown to be highly successful. The circuit is encoded as a system of polynomials, which automatically generates a lexicographic Gröbner basis. Correctness is then verified by computing the polynomial remainder of the specification. To optimize the remainder computation, prior work extracts linear polynomials. However, this required recomputing a Gröbner basis with respect to a degree-compatible order. In this paper, we show that this computationally expensive step is unnecessary and propose a novel hybrid verification approach that combines an FGLM-style linearization technique with a guess-and-prove method using SAT solving to derive the linear relations directly from lexicographic Gröbner bases. We enhance our approach using caching techniques and propagating vanishing monomials. Our experimental results demonstrate that our method significantly outperforms previous linearization techniques.
@InProceedings{hofstadler_et_al:LIPIcs.CP.2025.14,
author = {Hofstadler, Clemens and Kaufmann, Daniela},
title = {{Guess and Prove: A Hybrid Approach to Linear Polynomial Recovery in Circuit Verification}},
booktitle = {31st International Conference on Principles and Practice of Constraint Programming (CP 2025)},
pages = {14:1--14:22},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-380-5},
ISSN = {1868-8969},
year = {2025},
volume = {340},
editor = {de la Banda, Maria Garcia},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.CP.2025.14},
URN = {urn:nbn:de:0030-drops-238752},
doi = {10.4230/LIPIcs.CP.2025.14},
annote = {Keywords: Computer Algebra, FGLM, And-Inverter Graphs, Hardware Verification}
}
archived version