#5293 pointed to assertion failures when employing --bv-to-int, starting from commit
94e3d9a.
The bug is not reproduced on current master, and so we would have this PR close #5293 .
This PR adds the benchmarks from #5293 .
regress0/bv/bv_to_int_5230_missing_op.smt2
regress0/bv/bv_to_int_5230_shift_const.smt2
regress0/bv/bv_to_int_5281.smt2
+ regress0/bv/bv_to_int_5293_1.smt2
+ regress0/bv/bv_to_int_5293_2.smt2
regress0/bv/bv_to_int_bvmul2.smt2
regress0/bv/bv_to_int_bvuf_to_intuf_sorts.smt2
regress0/bv/bv_to_int_bvuf_to_intuf.smt2
--- /dev/null
+; COMMAND-LINE: -q
+; EXPECT: sat
+(set-logic UFBV)
+(set-option :solve-bv-as-int sum)
+(declare-const bv_56-0 (_ BitVec 56))
+(assert (forall ((q2 (_ BitVec 7)) (q3 (_ BitVec 56)) (q4 (_ BitVec 56))) (=> (bvugt q4 (bvudiv bv_56-0 bv_56-0)) false)))
+(check-sat)
\ No newline at end of file
--- /dev/null
+; COMMAND-LINE: -q
+; EXPECT: sat
+(set-logic ALL)
+(set-option :solve-bv-as-int sum)
+(declare-const v4 Bool)
+(declare-const bv_34-0 (_ BitVec 34))
+(assert (or (not (forall ((q26 Bool) (q27 (_ BitVec 4)) (q28 Bool) (q29 (_ BitVec 4)) (q30 (_ BitVec 34)) (q31 (_ BitVec 38))) (xor (= #x9 #x9 q29 (_ bv11 4) #x9) (= q30 (bvudiv bv_34-0 bv_34-0) bv_34-0 (bvudiv bv_34-0 bv_34-0) (bvudiv bv_34-0 bv_34-0)) (not v4)))) (not (forall ((q26 Bool) (q27 (_ BitVec 4)) (q28 Bool) (q29 (_ BitVec 4)) (q30 (_ BitVec 34)) (q31 (_ BitVec 38))) (xor (= #x9 #x9 q29 (_ bv11 4) #x9) (= q30 (bvudiv bv_34-0 bv_34-0) bv_34-0 (bvudiv bv_34-0 bv_34-0) (bvudiv bv_34-0 bv_34-0)) (not v4))))))
+(check-sat)
\ No newline at end of file