You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(declare-fun a () Real)
(declare-fun b () Real)
(declare-fun c () Real)
(assert (< a 0))
(assert (= a (/ b c)))
(check-sat)
(get-model)
Z3 gives a valid model:
(model
(define-fun c () Real
0.0)
(define-fun b () Real
1.0)
(define-fun a () Real
(- 1.0))
)
if model validator is enabled, it will report this valid model is invalid:
z3 model_validate=true file.smt2
sat
(error "line 6 column 10: an invalid model was generated")
(model
(define-fun c () Real
0.0)
(define-fun b () Real
1.0)
(define-fun a () Real
(- 1.0))
)
Hi,
For this formula:
Z3 gives a valid model:
if model validator is enabled, it will report this valid model is invalid:
OS: Ubuntu 18.04
Revision: a78f899
The text was updated successfully, but these errors were encountered: