Debian Codegraph @

test/regress/cli/regress0/bv/holes/ssubo-eliminate.smt2

raw
1 ; EXPECT: unsat
2 (set-info :smt-lib-version 2.6)
3 (set-logic QF_BV)
4 (set-info :status unsat)
5
6 ; This should be unsat but it is sat. What is going on here?
7 (declare-const x (_ BitVec 5))
8 (declare-const y (_ BitVec 5))
9 (assert (not (=
10 (bvssubo x y)
11 (or
12 (and
13 (= ((_ extract 4 4) x) #b1) ; x < 0
14 (not (= ((_ extract 4 4) y) #b1)) ; !(y < 0)
15 (not (= ((_ extract 4 4) (bvsub x y)) #b1)) ; !(s < 0)
16 )
17 (and
18 (not (= ((_ extract 4 4) x) #b1)) ; !(x < 0)
19 (= ((_ extract 4 4) y) #b1) ; y < 0
20 (= ((_ extract 4 4) (bvsub x y)) #b1) ; s < 0
21 )
22 ))))
23 (check-sat)
24 (exit)