Benchmark

non-incremental/QF_BV/20230221-oisc-gurtner/SRLI-SAFE-256-256.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
Size481474
Compressed Size74612
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 481465
Compressed Size74619
Max. Term Depth3
Asserts 4
Declared Functions0
Declared Constants140
Declared Sorts 0
Defined Functions0
Defined Recursive Functions 0
Defined Sorts0
Constants9455
Declared Datatypes0

Symbols

Bool5250 ite1906 not1041 or1306
and1475 =1401 BitVec4205 bvand1
bvor9 bvneg271 bvadd783 bvsmod2
bvult10 bvule4 bvslt1 bvsle12
bvshl1020 bvlshr268

Evaluations

Evaluation Rating Solver Variant Result Wallclock CPU Time
SMT-COMP 2023 0.67 (2/6) Bitwuzla Bitwuzla-fixed_default unknown ❌ 1200.10000 1199.90000
cvc5 cvc5-default-2023-05-16-ea045f305_sq unknown ❌ 1200.03000 1199.47000
STP STP 2022.4_default unsat ✅ 1130.97000 1130.87000
STP 2022.4_default unsat ✅ 1122.20000 1122.16000
UltimateEliminator UltimateIntBlastingWrapper+SMTInterpol_default unknown ❌ 4.44115 11.65370
Yices2 Yices 2 for SMTCOMP 2023_default unknown ❌ 1200.02000 1199.96000
Z3-Owl z3-Owl-Final_default unsat ✅ 407.79700 407.70900
z3-Owl-Final_default unsat ✅ 280.28100 280.26200
SMT-COMP 2025 0.56 (4/9) Bitwuzla Bitwuzla unsat ✅ 1144.20348 1143.93113
Bitwuzla-MachBV-base unknown ❌ 1201.30403 1200.93899
Bitwuzla-MachBV Bitwuzla-MachBV unsat ✅ 147.97412 147.83718
BVDecide bv_decide unknown ❌ 1201.38706 1200.99795
bv_decide-nokernel unknown ❌ 1201.38655 1201.05496
cvc5 cvc5 unknown ❌ 1201.75408 1201.21211
SMTInterpol SMTInterpol unknown ❌ 1201.88936 3864.35399
Yices2 Yices2 unsat ✅ 509.58793 509.38764
Z3alpha Z3-alpha unknown ❌ 50.54331 201.63609
Z3 Z3-alpha-base unknown ❌ 1201.30970 1200.96687
Z3-Owl-base unknown ❌ 1201.29481 1201.05865
z3siri-base unknown ❌ 1201.29264 1201.00299
Z3-Owl Z3-Owl unsat ✅ 818.74894 818.57574