| 1 |
; EXPECT: unsat |
| 2 |
(set-logic ALL) |
| 3 |
(declare-fun s () (_ BitVec 4)) |
| 4 |
(declare-fun t () (_ BitVec 4)) |
| 5 |
(declare-fun r () (_ BitVec 8)) |
| 6 |
(assert (or |
| 7 |
|
| 8 |
(and (not (exists ((x (_ BitVec 4))) (= (bvmul x s) t))) (= (bvand (bvor (bvneg s) s) t) t)) |
| 9 |
(and (not (exists ((x (_ BitVec 4))) (= (bvudiv x s) t))) (= (bvudiv (bvmul s t) s) t)) |
| 10 |
(and (not (exists ((x (_ BitVec 4))) (= (bvudiv s x) t))) (= (bvudiv s (bvudiv s t)) t)) |
| 11 |
(and (not (exists ((x (_ BitVec 4))) (= (bvurem x s) t))) (bvuge (bvnot (bvneg s)) t)) |
| 12 |
(and (not (exists ((x (_ BitVec 4))) (= (bvurem s x) t))) (bvuge (bvand (bvsub (bvadd t t) s) s) t)) |
| 13 |
(and (not (exists ((x (_ BitVec 4))) (= (bvor s x) t))) (= t (bvor t s))) |
| 14 |
(and (not (exists ((x (_ BitVec 4))) (= (bvand s x) t))) (= t (bvand t s))) |
| 15 |
(and (not (exists ((x (_ BitVec 4))) (= (bvashr x s) t))) (let ((_let_1 (bvult s #b0100))) (and (=> _let_1 (= (bvashr (bvshl t s) s) t)) (=> (not _let_1) (or (= t #b1111) (= t #b0000)))))) |
| 16 |
(and (not (exists ((x (_ BitVec 4))) (= (bvashr s x) t))) (or (= s t) (= (bvashr s #b0001) t) (= (bvashr s #b0010) t) (= (bvashr s #b0011) t) (= (bvashr s #b0100) t))) |
| 17 |
(and (not (exists ((x (_ BitVec 4))) (= (bvshl x s) t))) (= (bvshl (bvlshr t s) s) t)) |
| 18 |
(and (not (exists ((x (_ BitVec 4))) (= (bvshl s x) t))) (or (= s t) (= (bvshl s #b0001) t) (= (bvshl s #b0010) t) (= (bvshl s #b0011) t) (= (bvshl s #b0100) t))) |
| 19 |
(and (not (exists ((x (_ BitVec 4))) (= (bvlshr x s) t))) (= (bvlshr (bvshl t s) s) t)) |
| 20 |
(and (not (exists ((x (_ BitVec 4))) (= (bvlshr s x) t))) (or (= s t) (= (bvlshr s #b0001) t) (= (bvlshr s #b0010) t) (= (bvlshr s #b0011) t) (= (bvlshr s #b0100) t))) |
| 21 |
|
| 22 |
|
| 23 |
)) |
| 24 |
(check-sat) |