## 2021 |

Daniela Kaufmann Formal Verification of Integer Multiplier Circuits using Algebraic Reasoning: A Survey WorkshopKeynoteInvited In Recent Findings in Boolean Techniques - Selected Papers from the 14th Intl. Workshop on Boolean Problems (IWSBP), 2021. @conference{Kaufmann-IWSBP20, title = {Formal Verification of Integer Multiplier Circuits using Algebraic Reasoning: A Survey}, author = {Daniela Kaufmann}, url = {https://danielakaufmann.at/wp-content/uploads/2021/01/Kaufmann-IWSBP20.pdf, Paper http://www.informatik.uni-bremen.de/iwsbp/, Workshop}, year = {2021}, date = {2021-04-24}, booktitle = {In Recent Findings in Boolean Techniques - Selected Papers from the 14th Intl. Workshop on Boolean Problems (IWSBP)}, abstract = {Digital circuits are extensively used in computers and digital systems and it is of high importance to guarantee that these circuits are correct in order to prevent issues like the famous Pentium FDIV bug. Formal verification can be used to derive the correctness of a given circuit with respect to a certain specification. However arithmetic circuits, and most prominently multipliers, impose a challenge for existing verification techniques. Currently one of the most effective techniques is based on algebraic reasoning. In this approach the circuit is modeled as a set of pseudo-Boolean polynomials and the word-level specification is reduced by a Gröbner basis, which is implied by the polynomial representation of the circuit. The circuit is correct if and only if the final result is zero. Nonetheless the verification process might not be error-free. Generating and automatically checking proofs independently increases confidence in the results of automated reasoning tools. In this paper we survey the current state of the art of this work. We give an overview over recent solving techniques, available benchmarks, and include a comprehensive evaluation.}, keywords = {}, pubstate = {published}, tppubtype = {conference} } Digital circuits are extensively used in computers and digital systems and it is of high importance to guarantee that these circuits are correct in order to prevent issues like the famous Pentium FDIV bug. Formal verification can be used to derive the correctness of a given circuit with respect to a certain specification. However arithmetic circuits, and most prominently multipliers, impose a challenge for existing verification techniques. Currently one of the most effective techniques is based on algebraic reasoning. In this approach the circuit is modeled as a set of pseudo-Boolean polynomials and the word-level specification is reduced by a Gröbner basis, which is implied by the polynomial representation of the circuit. The circuit is correct if and only if the final result is zero. Nonetheless the verification process might not be error-free. Generating and automatically checking proofs independently increases confidence in the results of automated reasoning tools. In this paper we survey the current state of the art of this work. We give an overview over recent solving techniques, available benchmarks, and include a comprehensive evaluation. |

Daniela Kaufmann, Armin Biere AMulet 2.0 for Verifying Multiplier Circuits Conference In Proc. 27th Intl. Conf. on Tools and Algorithms for the Construction and Analysis of Systems (TACAS), 2021. @conference{KAufmannBiere-TACAS21, title = {AMulet 2.0 for Verifying Multiplier Circuits}, author = {Daniela Kaufmann and Armin Biere}, url = {https://danielakaufmann.at/wp-content/uploads/2021/01/KaufmannBiere-TACAS21.pdf, Paper http://fmv.jku.at/amulet2_artifact/, Artifact https://etaps.org/2021/tacas, Conference}, year = {2021}, date = {2021-01-08}, booktitle = {In Proc. 27th Intl. Conf. on Tools and Algorithms for the Construction and Analysis of Systems (TACAS)}, abstract = {AMulet 2.0 is a fully automatic tool for the verification of integer multipliers using computer algebra. Our tool models multiplier circuits given as and-inverter graphs as a set of polynomials and applies preprocessing techniques based on elimination theory of Gröbner bases. Finally it uses a polynomial reduction algorithm to verify the correctness of the given circuit. AMulet 2.0 is a re-factorization and improved re-implementation of our previous multiplier verification tool AMulet 1.0.}, keywords = {}, pubstate = {published}, tppubtype = {conference} } AMulet 2.0 is a fully automatic tool for the verification of integer multipliers using computer algebra. Our tool models multiplier circuits given as and-inverter graphs as a set of polynomials and applies preprocessing techniques based on elimination theory of Gröbner bases. Finally it uses a polynomial reduction algorithm to verify the correctness of the given circuit. AMulet 2.0 is a re-factorization and improved re-implementation of our previous multiplier verification tool AMulet 1.0. |

## 2020 |

Daniela Kaufmann, Mathias Fleury, Armin Biere The Proof Checkers Pacheck and Pastèque for the Practical Algebraic Calculus Conference In Proc. 20th Intl. Conf. on Formal Methods in Computer Aided Design (FMCAD'20), 2020. @conference{KaufmannFleuryBiere-FMCAD20, title = {The Proof Checkers Pacheck and Pastèque for the Practical Algebraic Calculus}, author = {Daniela Kaufmann and Mathias Fleury and Armin Biere}, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/KaufmannFleuryBiere-FMCAD20.pdf, Paper http://fmv.jku.at/pacheck_pasteque/, Experiments https://fmcad.forsyte.at/FMCAD20/, Conference}, year = {2020}, date = {2020-11-02}, booktitle = {In Proc. 20th Intl. Conf. on Formal Methods in Computer Aided Design (FMCAD'20)}, abstract = {Generating and checking proof certificates is important to increase the trust in automated reasoning tools. In recent years formal verification using computer algebra became more important and is heavily used in automated circuit verification. An existing proof format which covers algebraic reasoning and allows efficient proof checking is the practical algebraic calculus. In this paper we present two independent proof checkers Pacheck and Pastèque. The checker Pacheck checks algebraic proofs more efficiently than Pastèque, but the latter is formally verified using the proof assistant Isabelle/HOL. Furthermore, we introduce extension rules to simulate essential rewriting techniques required in practice. For efficiency we also make use of indices for existing polynomials and include deletion rules too.}, keywords = {}, pubstate = {published}, tppubtype = {conference} } Generating and checking proof certificates is important to increase the trust in automated reasoning tools. In recent years formal verification using computer algebra became more important and is heavily used in automated circuit verification. An existing proof format which covers algebraic reasoning and allows efficient proof checking is the practical algebraic calculus. In this paper we present two independent proof checkers Pacheck and Pastèque. The checker Pacheck checks algebraic proofs more efficiently than Pastèque, but the latter is formally verified using the proof assistant Isabelle/HOL. Furthermore, we introduce extension rules to simulate essential rewriting techniques required in practice. For efficiency we also make use of indices for existing polynomials and include deletion rules too. |

Mathias Fleury, Daniela Kaufmann Practical Algebraic Calculus Checker Technical Report Archive of Formal Proofs, 2020. @conference{FleuryKaufmann-AFP20, title = {Practical Algebraic Calculus Checker}, author = {Mathias Fleury, Daniela Kaufmann}, url = {https://danielakaufmann.at/wp-content/uploads/2021/01/FleuryKaufmann-AFP.pdf, Document https://www.isa-afp.org/entries/PAC_Checker.html, Archive of Formal Proofs}, year = {2020}, date = {2020-10-01}, booktitle = {Archive of Formal Proofs}, abstract = {Generating and checking proof certificates is important to increase the trust in automated reasoning tools. In recent years formal verification using computer algebra became more important and is heavily used in automated circuit verification. An existing proof format which covers algebraic reasoning and allows efficient proof checking is the practical algebraic calculus. In this development, we present the verified checker Pastèque that is obtained by synthesis via the Refinement Framework. This is the formalization going with our FMCAD’20 tool presentation}, keywords = {}, pubstate = {published}, tppubtype = {conference} } Generating and checking proof certificates is important to increase the trust in automated reasoning tools. In recent years formal verification using computer algebra became more important and is heavily used in automated circuit verification. An existing proof format which covers algebraic reasoning and allows efficient proof checking is the practical algebraic calculus. In this development, we present the verified checker Pastèque that is obtained by synthesis via the Refinement Framework. This is the formalization going with our FMCAD’20 tool presentation |

Daniela Kaufmann, Armin Biere Nullstellensatz-Proofs for Multiplier Verification Workshop In Proc. Computer Algebra in Scientific Computing (CASC'20), vol. 12291 , LNCS Springer, 2020. @conference{KaufmannBiere-CASC20, title = {Nullstellensatz-Proofs for Multiplier Verification}, author = {Daniela Kaufmann and Armin Biere}, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/KaufmannBiere-CASC20.pdf, Paper http://fmv.jku.at/nussproofs/, Experiments http://www.casc-conference.org/2020/index.html, Workshop}, year = {2020}, date = {2020-08-05}, booktitle = {In Proc. Computer Algebra in Scientific Computing (CASC'20)}, volume = {vol. 12291}, pages = {368--389}, publisher = {Springer}, series = {LNCS}, abstract = {Automated reasoning techniques based on computer algebra are an essential ingredient in formal verification of gate-level multiplier circuits. Generating and independently checking proof certificates helps to validate the verification results. Two algebraic proof systems, Nullstellensatz and polynomial calculus, are well-known in proof complexity. The practical application of the polynomial calculus has been studied recently. However, producing and checking Nullstellensatz certificates for multiplier verification has not been considered so far. In this paper we show how Nullstellensatz proofs can be generated as a by-product of multiplier verification and present our Nullstellensatz proof checker Nuss-Checker. Additionally, we prove quadratic upper bounds on the proof size for simple array multipliers.}, keywords = {}, pubstate = {published}, tppubtype = {conference} } Automated reasoning techniques based on computer algebra are an essential ingredient in formal verification of gate-level multiplier circuits. Generating and independently checking proof certificates helps to validate the verification results. Two algebraic proof systems, Nullstellensatz and polynomial calculus, are well-known in proof complexity. The practical application of the polynomial calculus has been studied recently. However, producing and checking Nullstellensatz certificates for multiplier verification has not been considered so far. In this paper we show how Nullstellensatz proofs can be generated as a by-product of multiplier verification and present our Nullstellensatz proof checker Nuss-Checker. Additionally, we prove quadratic upper bounds on the proof size for simple array multipliers. |

Daniela Kaufmann Formal Verification of Multiplier Circuits using Computer Algebra PhD Thesis Johannes Kepler University, 2020. @phdthesis{Kaufmann-PhdThesis20, title = {Formal Verification of Multiplier Circuits using Computer Algebra}, author = {Daniela Kaufmann}, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/Kaufmann-PhD-Thesis-2020.pdf, Thesis}, year = {2020}, date = {2020-06-03}, address = {Linz, Austria}, school = {Johannes Kepler University}, abstract = {Digital circuits are extensively used in computers and digital systems because they are able to represent models for various digital components and arithmetic operations. A subclass of digital circuits are arithmetic circuits, which are used in computer circuits to perform Boolean algebra. It is of high importance to guarantee that these circuits are correct in order to prevent issues like the famous Pentium FDIV bug. Formal verification can be used to derive the correctness of a given circuit with respect to a certain specification. However, arithmetic circuits, and most prominently gate-level multipliers, impose a challenge for existing verification techniques and in practice still require substantial manual effort. Approaches based on satisfiability checking (SAT) or on decision diagrams seem to be unable to solve this problem in a reasonable amount of time. In principle, theorem provers in combination with SAT are able to verify industrial multipliers, but this approach cannot be applied fully automated. Currently, the most effective automated reasoning technique relies on computer algebra. In this approach the word-level specification, modeled as a polynomial, is reduced by a Gröbner basis, which is implied by the gate-level representation of the circuit. The reduction returns zero if and only if the circuit is correct. In this thesis we give a rigorous formalization of this reasoning method including soundness and completeness arguments, first for polynomial rings, where the coefficient domain is a field and later for more general polynomial rings. As a consequence we are able to verify not only large unsigned and signed integer multipliers very efficiently, but are also able to verify truncated multipliers. We further improve the algebraic verification approach and present a new incremental column-wise verification algorithm, which splits the verification problem into smaller more manageable sub-problems and thus does not require to consider a full word-level specification. We present preprocessing approaches based on variable elimination in order to rewrite and hence simplify the implied Gröbner basis. However, certain parts of a multiplier, namely final-stage adders, are hard to verify using computer algebra. In our approach we use SAT to replace complex adders by equivalent adders, which can be verified using computer algebra. We develop a dedicated reduction engine, which is able to apply adder substitution and verifies large multipliers of input bit-width 2048 fully automated. Nonetheless, the verification process might not be error-free. Generating and automatically checking proofs independently increases confidence in the results of automated reasoning tools. We show how the polynomial calculus can be instantiated to yield a practical algebraic calculus (PAC). Proofs in this format can be obtained as a by-product of verifying multiplier circuits in our reduction engine and can be checked with our independent proof checking tools.}, keywords = {}, pubstate = {published}, tppubtype = {phdthesis} } Digital circuits are extensively used in computers and digital systems because they are able to represent models for various digital components and arithmetic operations. A subclass of digital circuits are arithmetic circuits, which are used in computer circuits to perform Boolean algebra. It is of high importance to guarantee that these circuits are correct in order to prevent issues like the famous Pentium FDIV bug. Formal verification can be used to derive the correctness of a given circuit with respect to a certain specification. However, arithmetic circuits, and most prominently gate-level multipliers, impose a challenge for existing verification techniques and in practice still require substantial manual effort. Approaches based on satisfiability checking (SAT) or on decision diagrams seem to be unable to solve this problem in a reasonable amount of time. In principle, theorem provers in combination with SAT are able to verify industrial multipliers, but this approach cannot be applied fully automated. Currently, the most effective automated reasoning technique relies on computer algebra. In this approach the word-level specification, modeled as a polynomial, is reduced by a Gröbner basis, which is implied by the gate-level representation of the circuit. The reduction returns zero if and only if the circuit is correct. In this thesis we give a rigorous formalization of this reasoning method including soundness and completeness arguments, first for polynomial rings, where the coefficient domain is a field and later for more general polynomial rings. As a consequence we are able to verify not only large unsigned and signed integer multipliers very efficiently, but are also able to verify truncated multipliers. We further improve the algebraic verification approach and present a new incremental column-wise verification algorithm, which splits the verification problem into smaller more manageable sub-problems and thus does not require to consider a full word-level specification. We present preprocessing approaches based on variable elimination in order to rewrite and hence simplify the implied Gröbner basis. However, certain parts of a multiplier, namely final-stage adders, are hard to verify using computer algebra. In our approach we use SAT to replace complex adders by equivalent adders, which can be verified using computer algebra. We develop a dedicated reduction engine, which is able to apply adder substitution and verifies large multipliers of input bit-width 2048 fully automated. Nonetheless, the verification process might not be error-free. Generating and automatically checking proofs independently increases confidence in the results of automated reasoning tools. We show how the polynomial calculus can be instantiated to yield a practical algebraic calculus (PAC). Proofs in this format can be obtained as a by-product of verifying multiplier circuits in our reduction engine and can be checked with our independent proof checking tools. |

Daniela Kaufmann, Armin Biere, Manuel Kauers From DRUP to PAC and Back Conference In Proc. Design, Automation and Test in Europe (DATE'20), IEEE, 2020. @conference{KaufmannBiereKauers-DATE20, title = {From DRUP to PAC and Back}, author = {Daniela Kaufmann and Armin Biere and Manuel Kauers}, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/KaufmannBiereKauers-DATE20.pdf, Paper http://fmv.jku.at/drup2pac/, Experiments https://www.date-conference.com/, Conference}, year = {2020}, date = {2020-06-01}, booktitle = {In Proc. Design, Automation and Test in Europe (DATE'20)}, pages = {654--657}, publisher = {IEEE}, abstract = {Currently the most efficient automatic approach to verify gate-level multipliers combines SAT solving and computer algebra. In order to increase confidence in the verification, proof certificates are generated. However, due to different solving techniques, these certificates require two different proof formats, namely DRUP and PAC. A combined proof has so far been missing. Correctness of this approach can thus only be trusted up to the correctness of compositional reasoning. In this paper we show how to generate a single proof in one proof format, which then allows to certify correctness using one simple proof checker. We further investigate empirically the effect on proof generation and checking time as well as on proof size. It turns out that PAC proofs are much more compact and faster to check.}, keywords = {}, pubstate = {published}, tppubtype = {conference} } Currently the most efficient automatic approach to verify gate-level multipliers combines SAT solving and computer algebra. In order to increase confidence in the verification, proof certificates are generated. However, due to different solving techniques, these certificates require two different proof formats, namely DRUP and PAC. A combined proof has so far been missing. Correctness of this approach can thus only be trusted up to the correctness of compositional reasoning. In this paper we show how to generate a single proof in one proof format, which then allows to certify correctness using one simple proof checker. We further investigate empirically the effect on proof generation and checking time as well as on proof size. It turns out that PAC proofs are much more compact and faster to check. |

Daniela Kaufmann Verifying Multipliers using Computer Algebra Student Forum PhD Forum of Design, Automation and Test in Europe (DATE'20), 2020. @misc{Kaufmann-SFDATE20, title = {Verifying Multipliers using Computer Algebra}, author = {Daniela Kaufmann}, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/paper-1.pdf, Paper https://www.date-conference.com/, Conference}, year = {2020}, date = {2020-03-03}, abstract = {Formal verification is used to guarantee the correctness of a given circuit with respect to a certain specification. However arithmetic circuits, and most prominently gate-level multipliers, impose a challenge for existing verification techniques and in practice still require substantial manual effort. The focus of this thesis is to improve automated formal verification of multiplier circuits using computer algebra to make it practically applicable for non-trivial and optimized multiplier designs. In the thesis a rigorous formalization of the problem is given and several optimization techniques are developed which make automated verification an order of magnitude faster than related approaches. As a further contribution a dedicated reduction engine is developed which in addition allows to generate proof certificates, validating the result of the verification approach.}, howpublished = {PhD Forum of Design, Automation and Test in Europe (DATE'20)}, keywords = {}, pubstate = {published}, tppubtype = {misc} } Formal verification is used to guarantee the correctness of a given circuit with respect to a certain specification. However arithmetic circuits, and most prominently gate-level multipliers, impose a challenge for existing verification techniques and in practice still require substantial manual effort. The focus of this thesis is to improve automated formal verification of multiplier circuits using computer algebra to make it practically applicable for non-trivial and optimized multiplier designs. In the thesis a rigorous formalization of the problem is given and several optimization techniques are developed which make automated verification an order of magnitude faster than related approaches. As a further contribution a dedicated reduction engine is developed which in addition allows to generate proof certificates, validating the result of the verification approach. |

Daniela Kaufmann, Manuel Kauers, Armin Biere SAT, Computer Algebra, Multipliers WorkshopInvited In Vampire 2018 and Vampire 2019. The 5th and 6th Vampire Workshops, EasyChair, 2020. @conference{KaufmannBiereKauers-Vampire19, title = {SAT, Computer Algebra, Multipliers}, author = {Daniela Kaufmann and Manuel Kauers and Armin Biere}, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/KaufmannBiereKauers-Vampire19.pdf, Paper https://easychair.org/smart-program/Vampire2019/index.html, Workshop}, year = {2020}, date = {2020-02-04}, booktitle = {In Vampire 2018 and Vampire 2019. The 5th and 6th Vampire Workshops}, pages = {1--18}, publisher = {EasyChair}, abstract = {Verifying multiplier circuits is an important problem which in practice still requires substantial manual effort. The currently most effective approach uses polynomial reasoning. However parts of a multiplier, i.e., complex final stage adders are hard to verify using computer algebra. In our approach we combine SAT and computer algebra to substantially improve automated verification of integer multipliers. In this paper we focus on the implementation details of our new dedicated reduction engine, which not only allows fully automated adder substitution, but also employs polynomial reduction efficiently. Our tool is furthermore able to generate proof certificates in the practical algebraic calculus and we also investigate the size of these proofs for one specific multiplier architecture.}, keywords = {}, pubstate = {published}, tppubtype = {conference} } Verifying multiplier circuits is an important problem which in practice still requires substantial manual effort. The currently most effective approach uses polynomial reasoning. However parts of a multiplier, i.e., complex final stage adders are hard to verify using computer algebra. In our approach we combine SAT and computer algebra to substantially improve automated verification of integer multipliers. In this paper we focus on the implementation details of our new dedicated reduction engine, which not only allows fully automated adder substitution, but also employs polynomial reduction efficiently. Our tool is furthermore able to generate proof certificates in the practical algebraic calculus and we also investigate the size of these proofs for one specific multiplier architecture. |

Daniela Kaufmann, Armin Biere, Manuel Kauers Incremental Column-Wise Verification of Arithmetic Circuits Using Computer Algebra Journal Formal Methods in System Design, 2020. @article{KaufmannBiereKauers-FMSD19, title = {Incremental Column-Wise Verification of Arithmetic Circuits Using Computer Algebra}, author = {Daniela Kaufmann and Armin Biere and Manuel Kauers}, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/KaufmannBiereKauers-FMSD19.pdf, Article http://fmv.jku.at/fmsd18/, Experiments https://link.springer.com/article/10.1007/s10703-018-00329-2, Journal}, year = {2020}, date = {2020-01-01}, journal = {Formal Methods in System Design}, publisher = {Springer}, abstract = {Verifying arithmetic circuits and most prominently multiplier circuits is an important problem which in practice still requires substantial manual effort. The currently most effective approach uses polynomial reasoning over pseudo boolean polynomials. In this approach a word-level specification is reduced by a Gröbner basis which is implied by the gate-level representation of the circuit. This reduction returns zero if and only if the circuit is correct. We give a rigorous formalization of this approach including soundness and completeness arguments. Furthermore we present a novel incremental column-wise technique to verify gate-level multipliers. This approach is further improved by extracting full- and half-adder constraints in the circuit which allows to rewrite and reduce the Gröbner basis. We also present a new technical theorem which allows to rewrite local parts of the Gröbner basis. Optimizing the Gröbner basis reduces computation time substantially. In addition we extend these algebraic techniques to verify the equivalence of bit-level multipliers without using a word-level specification. Our experiments show that regular multipliers can be verified efficiently by using off-the-shelf computer algebra tools, while more complex and optimized multipliers require more sophisticated techniques. We discuss in detail our complete verification approach including all optimizations.}, keywords = {}, pubstate = {published}, tppubtype = {article} } Verifying arithmetic circuits and most prominently multiplier circuits is an important problem which in practice still requires substantial manual effort. The currently most effective approach uses polynomial reasoning over pseudo boolean polynomials. In this approach a word-level specification is reduced by a Gröbner basis which is implied by the gate-level representation of the circuit. This reduction returns zero if and only if the circuit is correct. We give a rigorous formalization of this approach including soundness and completeness arguments. Furthermore we present a novel incremental column-wise technique to verify gate-level multipliers. This approach is further improved by extracting full- and half-adder constraints in the circuit which allows to rewrite and reduce the Gröbner basis. We also present a new technical theorem which allows to rewrite local parts of the Gröbner basis. Optimizing the Gröbner basis reduces computation time substantially. In addition we extend these algebraic techniques to verify the equivalence of bit-level multipliers without using a word-level specification. Our experiments show that regular multipliers can be verified efficiently by using off-the-shelf computer algebra tools, while more complex and optimized multipliers require more sophisticated techniques. We discuss in detail our complete verification approach including all optimizations. |

## 2019 |

Daniela Kaufmann Influence of the Reduction Order in Multiplier Verification using Computer Algebra Student Forum Student Forum of 19th Intl. Conf. on Formal Methods in Computer Aided Design (FMCAD'19), 2019. @misc{Kaufmann-SFFMCAD19, title = {Influence of the Reduction Order in Multiplier Verification using Computer Algebra}, author = {Daniela Kaufmann}, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/paper.pdf, Paper https://fmcad.forsyte.at/FMCAD19/, Conference}, year = {2019}, date = {2019-11-21}, abstract = {Currently the most promising approach for automatically verifying multiplier circuits relies on computer algebra. In this approach the circuit as well as its specification are modeled as polynomials and a polynomial reduction algorithm is applied to show correctness. We want to elaborate on the influence of the reduction order by employing a wide range of valid orderings. In our experiments we measure and compare the size of the intermediate reduction results and gain a clear preference towards a column-wise ordering.}, howpublished = {Student Forum of 19th Intl. Conf. on Formal Methods in Computer Aided Design (FMCAD'19)}, keywords = {}, pubstate = {published}, tppubtype = {misc} } Currently the most promising approach for automatically verifying multiplier circuits relies on computer algebra. In this approach the circuit as well as its specification are modeled as polynomials and a polynomial reduction algorithm is applied to show correctness. We want to elaborate on the influence of the reduction order by employing a wide range of valid orderings. In our experiments we measure and compare the size of the intermediate reduction results and gain a clear preference towards a column-wise ordering. |

Daniela Kaufmann, Armin Biere, Manuel Kauers Verifying Large Multipliers by Combining SAT and Computer Algebra Conference In Proc. 19th Intl. Conf. on Formal Methods in Computer Aided Design (FMCAD'19), IEEE, 2019. @conference{KaufmannBiereKauers-FMCAD19, title = {Verifying Large Multipliers by Combining SAT and Computer Algebra}, author = {Daniela Kaufmann and Armin Biere and Manuel Kauers}, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/KaufmannBiereKauers-FMCAD19.pdf, Paper http://fmv.jku.at/amulet/, Experiments https://fmcad.forsyte.at/FMCAD19/, Conference}, year = {2019}, date = {2019-11-15}, booktitle = {In Proc. 19th Intl. Conf. on Formal Methods in Computer Aided Design (FMCAD'19)}, pages = {28--36}, publisher = {IEEE}, abstract = {We combine SAT and computer algebra to substantially improve the most effective approach for automatically verifying integer multipliers. In our approach complex final stage adders are detected and replaced by simple adders. These simplified multipliers are verified by computer algebra techniques and correctness of the replacement step by SAT solvers. Our new dedicated reduction engine relies on a Gröbner basis theory for coefficient rings which in contrast to previous work no longer are required to be fields. Modular reasoning allows us to verify not only large unsigned and signed multipliers much more efficiently but also truncated multipliers. We are further able to generate and check proofs an order of magnitude faster than in our previous work, relative to verification time, while other competing approaches do not provide certificates.}, keywords = {}, pubstate = {published}, tppubtype = {conference} } We combine SAT and computer algebra to substantially improve the most effective approach for automatically verifying integer multipliers. In our approach complex final stage adders are detected and replaced by simple adders. These simplified multipliers are verified by computer algebra techniques and correctness of the replacement step by SAT solvers. Our new dedicated reduction engine relies on a Gröbner basis theory for coefficient rings which in contrast to previous work no longer are required to be fields. Modular reasoning allows us to verify not only large unsigned and signed multipliers much more efficiently but also truncated multipliers. We are further able to generate and check proofs an order of magnitude faster than in our previous work, relative to verification time, while other competing approaches do not provide certificates. |

Daniela Kaufmann, Manuel Kauers, Armin Biere, David Cok Arithmetic Verification Problems Submitted to the SAT Race 2019 Technical Report In Proc. of SAT Race 2019 - Solver and Benchmark Descriptions, B-2019-1 , Department of Computer Science Series of Publications B, 2019. @conference{KaufmannKauersBiereCok-SATRACE19, title = {Arithmetic Verification Problems Submitted to the SAT Race 2019}, author = {Daniela Kaufmann and Manuel Kauers and Armin Biere and David Cok}, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/KaufmannKauersBiereCok-SAT-Race-2019-benchmarks.pdf, Paper http://sat-race-2019.ciirc.cvut.cz/, SAT Race}, year = {2019}, date = {2019-07-31}, booktitle = {In Proc. of SAT Race 2019 - Solver and Benchmark Descriptions}, volume = {B-2019-1}, pages = {49}, publisher = {Department of Computer Science Series of Publications B}, keywords = {}, pubstate = {published}, tppubtype = {conference} } |

## 2018 |

Daniela Ritirc (*), Armin Biere, Manuel Kauers A Practical Polynomial Calculus for Arithmetic Circuit Verification Workshop In Proc. 3rd Intl. Workshop on Satisfiability Checking and Symbolic Computation (SC2'18), CEUR-WS, 2018. @conference{RitircBiereKauers-SC218, title = {A Practical Polynomial Calculus for Arithmetic Circuit Verification}, author = {Daniela Ritirc (*) and Armin Biere and Manuel Kauers }, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/RitircBiereKauers-scsc18.pdf, Paper http://fmv.jku.at/pac/, Experiments http://www.sc-square.org/CSA/workshop3.html, Workshop}, year = {2018}, date = {2018-08-20}, booktitle = {In Proc. 3rd Intl. Workshop on Satisfiability Checking and Symbolic Computation (SC2'18)}, pages = {61--76}, publisher = {CEUR-WS}, abstract = {Generating and automatically checking proofs independently increases confidence in the results of automated reasoning tools. The use of computer algebra is an essential ingredient in recent substantial improvements to scale verification of arithmetic gate-level circuits, such as multipliers, to large bit-widths. There is also a large body of work on theoretical aspects of propositional algebraic proof systems in the proof complexity community starting with the seminal paper introducing the polynomial calculus. We show that the polynomial calculus provides a frame-work to define a practical algebraic calculus (PAC) proof format to capture low-level algebraic proofs needed in scalable gate-level verification of arithmetic circuits. We apply these techniques to generate proofs obtained as by-product of verifying gate-level multipliers using state-of-the-art techniques. Our experiments show that these proofs can be checked efficiently with independent tools.}, keywords = {}, pubstate = {published}, tppubtype = {conference} } Generating and automatically checking proofs independently increases confidence in the results of automated reasoning tools. The use of computer algebra is an essential ingredient in recent substantial improvements to scale verification of arithmetic gate-level circuits, such as multipliers, to large bit-widths. There is also a large body of work on theoretical aspects of propositional algebraic proof systems in the proof complexity community starting with the seminal paper introducing the polynomial calculus. We show that the polynomial calculus provides a frame-work to define a practical algebraic calculus (PAC) proof format to capture low-level algebraic proofs needed in scalable gate-level verification of arithmetic circuits. We apply these techniques to generate proofs obtained as by-product of verifying gate-level multipliers using state-of-the-art techniques. Our experiments show that these proofs can be checked efficiently with independent tools. |

Daniela Ritirc (*), Armin Biere, Manuel Kauers Improving and Extending the Algebraic Approach for Verifying Gate-Level Multipliers Conference In Proc. Design, Automation and Test in Europe (DATE'18), IEEE, 2018. @conference{RitircBiereKauers-DATE18, title = {Improving and Extending the Algebraic Approach for Verifying Gate-Level Multipliers}, author = {Daniela Ritirc (*) and Armin Biere and Manuel Kauers }, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/RitircBiereKauers-DATE18.pdf, Paper http://fmv.jku.at/algeq/, Experiments https://www.date-conference.com/, Conference}, year = {2018}, date = {2018-03-15}, booktitle = {In Proc. Design, Automation and Test in Europe (DATE'18)}, pages = {1556--1561}, publisher = {IEEE}, abstract = {The currently most effective approach for verifying gate-level multipliers uses Computer Algebra. It reduces a word-level multiplier specification by a Gröbner basis derived from a gate-level implementation. This reduction produces zero if and only if the circuit is a multiplier. We improve this approach by extracting full- and half-adder constraints to reduce the Gröbner basis, which speeds up computation substantially. Refactoring the specification in terms of partial products instead of inputs yields further improvements. As a third contribution we extend these algebraic techniques to verify the equivalence of bit-level multipliers without using a word-level specification.}, keywords = {}, pubstate = {published}, tppubtype = {conference} } The currently most effective approach for verifying gate-level multipliers uses Computer Algebra. It reduces a word-level multiplier specification by a Gröbner basis derived from a gate-level implementation. This reduction produces zero if and only if the circuit is a multiplier. We improve this approach by extracting full- and half-adder constraints to reduce the Gröbner basis, which speeds up computation substantially. Refactoring the specification in terms of partial products instead of inputs yields further improvements. As a third contribution we extend these algebraic techniques to verify the equivalence of bit-level multipliers without using a word-level specification. |

## 2017 |

Armin Biere, Manuel Kauers, Daniela Ritirc (*) Challenges in Verifying Arithmetic Circuits Using Computer Algebra ConferenceInvited In Proc. 19th Intl. Symp. on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC'17), IEEE, 2017. @conference{BiereKauersRitirc-SYNASC17, title = {Challenges in Verifying Arithmetic Circuits Using Computer Algebra}, author = {Armin Biere and Manuel Kauers and Daniela Ritirc (*)}, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/BiereKauersRitirc-SYNASC17.pdf, Paper https://synasc.ro/2017/, Conference}, year = {2017}, date = {2017-12-31}, booktitle = {In Proc. 19th Intl. Symp. on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC'17)}, pages = {9--16}, publisher = {IEEE}, abstract = {Verifying arithmetic circuits is an important problem which still requires considerable manual effort. For instance multipliers are considered difficult to verify. The currently most effective approach for arithmetic circuit verification uses computer algebra. In this approach the circuit is modeled as a set of pseudo-boolean polynomials and it is checked if the given word-level specification is implied by the circuit polynomials. For this purpose the theory of Gröbner bases is used. In this paper we give a summary of two recent papers on this work. We reword the theory and illustrate the results of these papers by examples. We also present a new technical theorem which allows to rewrite local parts of the Gröbner basis. Rewriting the Gröbner basis has tremendous effect on computation time.}, keywords = {}, pubstate = {published}, tppubtype = {conference} } Verifying arithmetic circuits is an important problem which still requires considerable manual effort. For instance multipliers are considered difficult to verify. The currently most effective approach for arithmetic circuit verification uses computer algebra. In this approach the circuit is modeled as a set of pseudo-boolean polynomials and it is checked if the given word-level specification is implied by the circuit polynomials. For this purpose the theory of Gröbner bases is used. In this paper we give a summary of two recent papers on this work. We reword the theory and illustrate the results of these papers by examples. We also present a new technical theorem which allows to rewrite local parts of the Gröbner basis. Rewriting the Gröbner basis has tremendous effect on computation time. |

Daniela Ritirc (*), Armin Biere, Manuel Kauers Column-Wise Verification of Mulitpliers Using Computer Algebra ConferenceBest Paper Award In Proc. 17th Intl. Conf. on Formal Methods in Computer Aided Design (FMCAD'17), IEEE, 2017. @conference{RitircBiereKauers-FMCAD17, title = {Column-Wise Verification of Mulitpliers Using Computer Algebra}, author = {Daniela Ritirc (*) and Armin Biere and Manuel Kauers}, url = {https://danielakaufmann.at/wp-content/uploads/2020/11/RitircBiereKauers-FMCAD17.pdf, Paper http://fmv.jku.at/cwmulverca/index.html, Experiments https://www.cs.utexas.edu/users/hunt/FMCAD/FMCAD17/, Conference}, year = {2017}, date = {2017-09-20}, booktitle = {In Proc. 17th Intl. Conf. on Formal Methods in Computer Aided Design (FMCAD'17)}, journal = {Proc. 17th Intl. Conf. on Formal Methods in Computer Aided Design}, pages = {23--30}, publisher = {IEEE}, abstract = {Verifying arithmetic circuits, and most prominently multipliers, is an important problem but in practice still requires substantial manual effort. Recent work tries to solve this issue using techniques from computer algebra. The most effective approach uses polynomial reasoning over pseudo boolean polynomials. In this paper we give a rigorous formalization of this approach and present a new column-wise verification technique for the correctness of gate-level multipliers which does not require the reduction of a full word-level specification. We formally prove soundness and completeness of our technique, making use of our precise formalization. Our experiments show that simple multipliers can be verified efficiently by using off-the-shelf computer algebra tools, while more complex and optimized multipliers require more sophisticated techniques. Further, our paper independently confirms the effectiveness of previous related work. We make all benchmarks and tools publicly available.}, keywords = {}, pubstate = {published}, tppubtype = {conference} } Verifying arithmetic circuits, and most prominently multipliers, is an important problem but in practice still requires substantial manual effort. Recent work tries to solve this issue using techniques from computer algebra. The most effective approach uses polynomial reasoning over pseudo boolean polynomials. In this paper we give a rigorous formalization of this approach and present a new column-wise verification technique for the correctness of gate-level multipliers which does not require the reduction of a full word-level specification. We formally prove soundness and completeness of our technique, making use of our precise formalization. Our experiments show that simple multipliers can be verified efficiently by using off-the-shelf computer algebra tools, while more complex and optimized multipliers require more sophisticated techniques. Further, our paper independently confirms the effectiveness of previous related work. We make all benchmarks and tools publicly available. |

(*) Before 10/2018 I published using my maiden name ‘Ritirc’.