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
sat
(
;; universe for T:;; T!val!0 ;; -----------;; definitions for universe elements:
(declare-funT!val!0 () T)
;; cardinality constraint:
(forall ((x T)) (= x T!val!0))
;; -----------
(define-funb () Boolfalse)
(define-funf ((x!0 T)) Booltrue)
(define-funf ((x!0Int)) Boolfalse)
)
unsat
In particular the model produced for b is false even though after the first check-sat, b must be true. Interestingly after asserting (not b) (which agrees with the previous model) z3 correctly reports unsat.
z3 also gives the expected model when the quatifier is (forall ((x Int)) (f x)) instead of (forall ((x T)) (f x))
This is with Z3 version 4.12.5 - 64 bit
The text was updated successfully, but these errors were encountered:
Running the following smt2 file
produces the output:
In particular the model produced for
b
isfalse
even though after the firstcheck-sat
,b
must betrue
. Interestingly after asserting(not b)
(which agrees with the previous model) z3 correctly reportsunsat
.z3 also gives the expected model when the quatifier is
(forall ((x Int)) (f x))
instead of(forall ((x T)) (f x))
This is with Z3 version 4.12.5 - 64 bit
The text was updated successfully, but these errors were encountered: