-
Notifications
You must be signed in to change notification settings - Fork 0
/
Float-no-simp6-main-sfxp_16.16_RU_WP.smt2
19 lines (19 loc) · 1.48 KB
/
Float-no-simp6-main-sfxp_16.16_RU_WP.smt2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(set-info :smt-lib-version 2.6)
(set-logic QF_FXP)
(set-info :source |ESBMC floating-point test cases contributed by Mikhail Ramalho.|)
(set-info :category "crafted")
(set-info :status unsat)
(declare-fun |c::main::multiply::1::res@1!0&0#1| () (_ SFXP 32 16))
(declare-fun |c::multiply::$tmp::tmp$1@1!0&0#1| () Bool)
(declare-fun |c::main::divide::1::res@1!0&0#1| () (_ SFXP 32 16))
(declare-fun |c::divide::$tmp::tmp$1@1!0&0#1| () Bool)
(declare-fun |c::cast::$tmp::tmp$1@1!0&0#1| () Bool)
(declare-fun |execution_statet::guard_exec@0!0| () Bool)
(assert (= (sfxp.mul wrapAround roundUp ((_ sfxp 16) #x00008000) ((_ sfxp 16) #x00000000)) |c::main::multiply::1::res@1!0&0#1|))
(assert (= (= |c::main::multiply::1::res@1!0&0#1| ((_ sfxp 16) #x00000000)) |c::multiply::$tmp::tmp$1@1!0&0#1|))
(assert (= (sfxp.div wrapAround roundUp ((_ sfxp 16) #x00000000) ((_ sfxp 16) #x00020000)) |c::main::divide::1::res@1!0&0#1|))
(assert (= (= |c::main::divide::1::res@1!0&0#1| ((_ sfxp 16) #x00000000)) |c::divide::$tmp::tmp$1@1!0&0#1|))
(assert (= (= ((_ sfxp 16) #x00000000) ((_ sfxp 16) #x00000000)) |c::cast::$tmp::tmp$1@1!0&0#1|))
(assert (let ((a!1 (=> true (=> |execution_statet::guard_exec@0!0| (=> (not |c::multiply::$tmp::tmp$1@1!0&0#1|) false)))) (a!2 (=> true (=> |execution_statet::guard_exec@0!0| (=> (not |c::divide::$tmp::tmp$1@1!0&0#1|) false)))) (a!3 (=> true (=> |execution_statet::guard_exec@0!0| (=> (not |c::cast::$tmp::tmp$1@1!0&0#1|) false))))) (or (not a!1) (not a!2) (not a!3))))
(check-sat)
(exit)