| 1 |
; EXPECT: sat |
| 2 |
; EXPECT: sat |
| 3 |
(set-logic QF_AFP) |
| 4 |
(set-option :check-models true) |
| 5 |
(set-option :incremental true) |
| 6 |
(declare-fun a () (Array (_ BitVec 32) (_ BitVec 32))) |
| 7 |
(assert (fp.geq ((_ to_fp 8 24) (select a (_ bv0 32))) (_ +zero 8 24))) |
| 8 |
(assert (fp.leq ((_ to_fp 8 24) (select a (_ bv0 32))) (fp (_ bv0 1) (_ bv159 8) (_ bv0 23)))) |
| 9 |
(assert (not (bvslt ((_ fp.to_ubv 32) RTZ ((_ to_fp 8 24) (select a (_ bv0 32)))) (_ bv5 32)))) |
| 10 |
(assert (distinct (_ -oo 8 24) ((_ to_fp 8 24) (select a (_ bv2 32))))) |
| 11 |
(assert (fp.geq ((_ to_fp 8 24) (select a (_ bv2 32))) (_ +zero 8 24))) |
| 12 |
(assert (fp.leq ((_ to_fp 8 24) (select a (_ bv2 32))) (fp (_ bv0 1) (_ bv159 8) (_ bv0 23)))) |
| 13 |
(check-sat) |
| 14 |
(assert (bvslt (_ bv0 32) ((_ fp.to_ubv 32) RTZ ((_ to_fp 8 24) (select a (_ bv2 32)))))) |
| 15 |
(check-sat) |