Bit-Precise Reasoning with Parametric Bit-Vectors

  • Zvika Berger
  • , Yoni Zohar
  • , Aina Niemetz
  • , Mathias Preiner
  • , Andrew Reynolds
  • , Clark Barrett
  • , Cesare Tinelli

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The SMT-LIB theory of bit-vectors is restricted to bit-vectors of fixed width. However, several important applications can benefit from reasoning about bit-vectors of symbolic widths, i.e., parametric bit-vectors. Recent work has introduced an approach for solving formulas over parametric bit-vectors, via an eager translation to quantified integer arithmetic with uninterpreted functions. The approach was shown to be successful for several applications, including the bit-width independent verification of compiler optimizations, invertibility conditions, and rewrite rules. We extend and improve that approach in several aspects. Theoretically, we improve expressiveness by defining a new theory of parametric bit-vectors that supports more operators and allows reasoning about the bit-widths themselves. Algorithmically, we introduce a lazy algorithm that avoids the use of uninterpreted functions and quantified axioms for them. Empirically, we show a significant improvement by implementing and evaluating our approach, and comparing it experimentally to the previous one.

Original languageEnglish
Title of host publication28th International Conference on Theory and Applications of Satisfiability Testing, SAT 2025
EditorsJeremias Berg, Jakob Nordstrom, Jakob Nordstrom
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
ISBN (Electronic)9783959773812
DOIs
StatePublished - 7 Aug 2025
Event28th International Conference on Theory and Applications of Satisfiability Testing, SAT 2025 - Glasgow, United Kingdom
Duration: 12 Aug 202515 Aug 2025

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume341
ISSN (Print)1868-8969

Conference

Conference28th International Conference on Theory and Applications of Satisfiability Testing, SAT 2025
Country/TerritoryUnited Kingdom
CityGlasgow
Period12/08/2515/08/25

Bibliographical note

Publisher Copyright:
© Zvika Berger, Yoni Zohar, Aina Niemetz, Mathias Preiner, Andrew Reynolds, Clark Barrett, and Cesare Tinelli

Keywords

  • Bit-precise Reasoning
  • Parametric Bit-vectors
  • Satisfiability Modulo Theories

Fingerprint

Dive into the research topics of 'Bit-Precise Reasoning with Parametric Bit-Vectors'. Together they form a unique fingerprint.

Cite this