Towards Bit-Width-Independent Proofs in SMT Solvers

05/24/2019
by   Aina Niemetz, et al.
0

Many SMT solvers implement efficient SAT-based procedures for solving fixed-size bit-vector formulas. These approaches, however, cannot be used directly to reason about bit-vectors of symbolic bit-width. To address this shortcoming, we propose a translation from bit-vector formulas of non-fixed bit-width to formulas in a logic supported by SMT solvers that includes non-linear integer arithmetic, uninterpreted functions, and universal quantification. While this logic is undecidable, this approach can still solve many formulas by capitalizing on advancements in SMT solving for non-linear arithmetic and universally quantified formulas. We provide several case studies in which we have applied this approach with promising results, including the bit-width independent verification of invertibility conditions, compiler optimizations, and bit-vector rewrites.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/13/2018

On Solving Quantified Bit-Vectors using Invertibility Conditions

We present a novel approach for solving quantified bit-vector formulas i...
research
08/26/2019

Verifying Bit-vector Invertibility Conditions in Coq (Extended Abstract)

This work is a part of an ongoing effort to prove the correctness of inv...
research
07/21/2018

Delta-Decision Procedures for Exists-Forall Problems over the Reals

Solving nonlinear SMT problems over real numbers has wide applications i...
research
04/25/2019

Interpolation and the Array Property Fragment

Interpolation based software model checkers have been successfully emplo...
research
12/13/2022

SMT Sampling via Model-Guided Approximation

We investigate the domain of satisfiable formulas in satisfiability modu...
research
08/23/2020

An Incremental Abstraction Scheme for Solving Hard SMT-Instances over Bit-Vectors

Decision procedures for SMT problems based on the theory of bit-vectors ...
research
12/21/2017

Bit-Vector Model Counting using Statistical Estimation

Approximate model counting for bit-vector SMT formulas (generalizing #SA...

Please sign up or login with your details

Forgot password? Click here to reset