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
[548] % z3 small.smt2
unsat
sat
[549] % cat small.smt2
(declare-fun a () Real)
(declare-fun b () Real)
(declare-fun c () Real)
(declare-fun d () Real)
(declare-fun e () Real)
(declare-fun f () Real)
(declare-fun h () Real)
(assert (forall ((g Real)) (and (= (= g f) (= g e)) (= (/ b d) h) (> (/ a c) h))))
(assert (= (/ a c) (/ b d)))
(check-sat)
(check-sat-using (then qfnra smt))
[550] %
Nikolaj, I can still reproduce it on my release build (as well as debug build) of the latest commit (b571e43) on Ubuntu 18.04:
[571] % z3 bug4144.smt2
unsat
sat
[572] % z3release bug4144.smt2
unsat
sat
[573] % cat bug4144.smt2
(declare-fun a () Real)
(declare-fun b () Real)
(declare-fun c () Real)
(declare-fun d () Real)
(declare-fun e () Real)
(declare-fun f () Real)
(declare-fun h () Real)
(assert (forall ((g Real)) (and (= (= g f) (= g e)) (= (/ b d) h) (> (/ a c) h))))
(assert (= (/ a c) (/ b d)))
(check-sat)
(check-sat-using (then qfnra smt))
[574] %
Hi,
For this case, Z3 gives an incorrect answer:
OS: Ubuntu 18.04
Commit: 38e0968
The text was updated successfully, but these errors were encountered: