Formal verification of modular multipliers using symbolic computer algebra and boolean satisfiability
Alireza Mahzoon, Daniel Große, Christoph Scholl, Alexander Konrad, Rolf Drechsler
Abstract
Modular multipliers are the essential components in cryptography and Residue Number System (RNS) designs. Especially, 2 n -1 and 2 n + 1 modular multipliers have gained more attention due to their regular structures and a wide variety of applications. However, there is no automated formal verification method to prove the correctness of these multipliers. As a result, bugs might remain undetected after the design phase.
In this paper, we present our modular verifier that combines Symbolic Computer Algebra (SCA) and Boolean Satisfiability (SAT) to prove the correctness of 2 n -1 and 2 n + 1 modular multipliers. Our verifier takes advantage of three techniques, i.e. coefficient correction, SAT-based local vanishing removal, and SAT-based output condition check to overcome the challenges of SCA-based verification. The efficiency of our verifier is demonstrated using an extensive set of modular multipliers with up to several million gates.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4039796b-c9b7-4354-80d7-00828437dcbfCited by top-tier papers2
- Gamora: Graph Learning based Symbolic Reasoning for Large-Scale Boolean NetworksNan Wu, Yingjie Li, Cong Hao, Steve Dai et al.DAC 2023 · 35 citations
- Formal Verification of Restoring Dividers made Fast and SimpleJiteshri Dasari, Maciej J. CiesielskiDAC 2023 · 4 citations
Builds on1
Related papers
- Automated and Scalable Verification of Integer MultipliersMertcan Temel, Anna Slobodová, Warren A. HuntCAV 2020 · 28 citations
- Integer Reasoning Modulo Different Constants in SMTElizaveta Pertseva, Alex Ozdemir, Shankara Pailoor, Alp Bassa et al.CAV 2025 · 1 citation
- Formally Verifying Arithmetic Chisel Designs for All Bit Widths at OnceWeizhi Feng, Yicheng Liu, Jiaxiang Liu, David N. Jansen et al.DAC 2024
- VROOM: Accelerating (Almost All) Number-Theoretic Cryptography Using Vectorization and the Residue Number SystemSimon Langowski, Kaiwen He, Srinivas DevadasUSENIX Security 2026
- Counterexample-Guided Inference of Modular SpecificationsWilliam T. Hallahan, Ranjit Jhala, Ruzica PiskacOOPSLA 2025 · 1 citation
