Benchmark

non-incremental/QF_BV/20230221-oisc-gurtner/SRAI-SAFE-16-1024.smt2

Publications: "A Formally Verified Reduction of the RV32I ISA", Sonja Gurtner
(https://epub.jku.at/obvulihs/content/titleinfo/8237703)

The benchmarks come from the master thesis from Sonja Gurtner "A Formally Verified Reduction of the
RV32I ISA" about translating RISC-V instructions using only memory operations, jump, and sub. The
translation was done by Rosette, a tool to translate constraints from a Racket-like language to the
SMT-LIB.

There are two parameters in the translation:

- the bitwidth we are considering

- the upper bound on the number of loop iterations (for
correctness, it must be larger than the bitwidth)

One limitation of the work is that the translation was verified one replacement at a time. We verify
that addition (RISC-V instruction add) can be replaced by two subtraction (RISC-V instruction sub),
but subsequently use the usual addition. Thanks to this, verification scales up to large
bitwidth. Otherwise, the verification of such nested instructions is very challenging.


Naming convention: <instruction_to_replace>[-nested]-<bitwidth>-<upper_bound>[-<counterexample-cause>.smt2
Benchmark
Size2781132
Compressed Size430706
License Creative Commons Attribution 4.0 International (CC-BY-4.0)
Categoryindustrial
First Occurrence2023-07-06
Generated BySonja Gurtner and Mathias Fleury
Generated On2023-02-19 00:00:00
GeneratorRosette
Dolmen OK1
strict Dolmen OK1
check-sat calls1
Query 1
Status unsat
Inferred Status unsat
Size 2781123
Compressed Size430711
Max. Term Depth3
Asserts 4
Declared Functions0
Declared Constants140
Declared Sorts 0
Defined Functions0
Defined Recursive Functions 0
Defined Sorts0
Constants55515
Declared Datatypes0

Symbols

Bool34673 ite7795 not8206 or10260
and10429 =5751 BitVec20842 bvand1
bvor9 bvneg1039 bvadd5132 bvsmod2
bvult10 bvule4 bvslt1 bvsle12
bvshl5116 bvlshr1035 bvashr1

Evaluations

Evaluation Rating Solver Variant Result Wallclock CPU Time
SMT-COMP 2024 0.17 (5/6) Bitwuzla Bitwuzla unsat ✅ 41.27741 41.17589
cvc5 cvc5 unsat ✅ 242.59223 242.40893
SMTInterpol SMTInterpol unknown ❌ 1202.22017 1256.63640
STP STP unsat ✅ 55.39522 55.28483
Yices2 Yices2 unsat ✅ 71.33352 71.20388
Z3alpha Z3-alpha unsat ✅ 910.38300 910.18953
SMT-COMP 2025 0.22 (7/9) Bitwuzla Bitwuzla unsat ✅ 28.42556 28.28808
Bitwuzla-MachBV-base unsat ✅ 27.31278 27.19195
Bitwuzla-MachBV Bitwuzla-MachBV unsat ✅ 16.36606 16.24172
BVDecide bv_decide unknown ❌ 1201.35480 1201.01844
bv_decide-nokernel unknown ❌ 1201.39170 1201.00889
cvc5 cvc5 unsat ✅ 185.00186 184.85830
SMTInterpol SMTInterpol unknown ❌ 1201.75543 1246.60695
Yices2 Yices2 unsat ✅ 31.80503 31.67182
Z3alpha Z3-alpha unsat ✅ 140.41376 411.12813
Z3 Z3-alpha-base unsat ✅ 14.97482 14.84103
Z3-Owl-base unsat ✅ 50.33900 50.20507
z3siri-base unsat ✅ 15.52959 15.40948
Z3-Owl Z3-Owl unsat ✅ 60.87033 60.73214