-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Description
This bug has to be triggered with (check-sat-using smt), so I filed as a new bug.
[514] % z3release model_validate=true small.smt2
sat
(error "line 4 column 20: an invalid model was generated")
(
(define-fun b () Float16
(_ +zero 5 11))
(define-fun a () Float16
(fp #b0 #b10000 #b0000001000))
)
unsat
[515] % cat small.smt2
(declare-fun a () Float16)
(declare-fun b () Float16)
(assert (= b (fp.roundToIntegral RNE a) (fp #b0 #b10000 #b0000000000)))
(check-sat-using smt)
(get-model)
(reset)
(define-fun b () Float16 (_ +zero 5 11))
(define-fun a () Float16 (fp #b0 #b10000 #b0000001000))
(assert (= b (fp.roundToIntegral RNE a) (fp #b0 #b10000 #b0000000000)))
(check-sat-using smt)
[516] %
Commit: 0c93c7a
Reactions are currently unavailable