| 1 |
; COMMAND-LINE: --solve-bv-as-int=iand |
| 2 |
; EXPECT: unsat |
| 3 |
|
| 4 |
;; produced by cvc4_16.drv ;; |
| 5 |
(set-logic AUFBVFPDTNIRA) |
| 6 |
;; produced by cvc4_16.drv |
| 7 |
(set-info :smt-lib-version 2.6) |
| 8 |
;;; generated by SMT-LIB2 driver |
| 9 |
;;; SMT-LIB2 driver: bit-vectors, common part |
| 10 |
;;; SMT-LIB2: integer arithmetic |
| 11 |
(declare-datatypes ((tuple0 0)) |
| 12 |
(((Tuple0)))) |
| 13 |
|
| 14 |
(declare-sort us_private 0) |
| 15 |
|
| 16 |
(declare-const us_null_ext__ us_private) |
| 17 |
|
| 18 |
;; "in_range" |
| 19 |
(define-fun in_range ((x Int)) Bool |
| 20 |
(and (<= (- 2147483648) x) (<= x 2147483647))) |
| 21 |
|
| 22 |
;; "value" |
| 23 |
(declare-fun value (tuple0) Int) |
| 24 |
|
| 25 |
;; "value__function_guard" |
| 26 |
(declare-fun value__function_guard (Int |
| 27 |
tuple0) Bool) |
| 28 |
|
| 29 |
;; "value__post_axiom" |
| 30 |
(assert |
| 31 |
(forall ((us_void_param tuple0)) |
| 32 |
(! (let ((result (value us_void_param))) |
| 33 |
(=> (value__function_guard result us_void_param) (in_range result))) :pattern ( |
| 34 |
(value |
| 35 |
us_void_param)) ))) |
| 36 |
|
| 37 |
;; "f1" |
| 38 |
(declare-fun f1 (tuple0) Int) |
| 39 |
|
| 40 |
;; "f1__function_guard" |
| 41 |
(declare-fun f1__function_guard (Int |
| 42 |
tuple0) Bool) |
| 43 |
|
| 44 |
;; "f1__post_axiom" |
| 45 |
(assert |
| 46 |
(forall ((us_void_param tuple0)) |
| 47 |
(! (let ((result (f1 us_void_param))) |
| 48 |
(=> (f1__function_guard result us_void_param) (in_range result))) :pattern ( |
| 49 |
(f1 |
| 50 |
us_void_param)) ))) |
| 51 |
|
| 52 |
;; "f1__def_axiom" |
| 53 |
(assert |
| 54 |
(forall ((us_void_param tuple0)) |
| 55 |
(! (= (f1 us_void_param) 1) :pattern ((f1 us_void_param)) ))) |
| 56 |
|
| 57 |
;; Goal "def'vc" |
| 58 |
;; File "main.adb", line 4, characters 0-0 |
| 59 |
(assert |
| 60 |
(not |
| 61 |
(let ((temp___210 (value Tuple0))) |
| 62 |
(=> |
| 63 |
(and (value__function_guard temp___210 Tuple0) (in_range temp___210)) |
| 64 |
(forall ((spark__branch Bool)) |
| 65 |
(=> |
| 66 |
(= spark__branch (ite (= temp___210 0) true false)) |
| 67 |
(=> |
| 68 |
(= spark__branch true) |
| 69 |
(=> (f1__function_guard (f1 Tuple0) Tuple0) (= (f1 Tuple0) 1))))))))) |
| 70 |
|
| 71 |
(check-sat) |
| 72 |
|