Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect UNSAT in Z3 4.4.1 (incremental mode) #250

Closed
mschwerhoff opened this issue Oct 19, 2015 · 1 comment
Closed

Incorrect UNSAT in Z3 4.4.1 (incremental mode) #250

mschwerhoff opened this issue Oct 19, 2015 · 1 comment
Labels

Comments

@mschwerhoff
Copy link

Updating from Z3 4.4.0 (x64, Windows) to 4.4.1, I noticed that several of our tests (Smallfoot-style software verification) fail because Z3 reports UNSAT were it previously didn't and shouldn't.

Here is a minimal example:

(set-option :auto_config false)
(set-option :smt.mbqi false)

(push) ; Comment --> SAT

(declare-const k Real)
(assert (and
  (<= 0.0 k)
  (not (= k 0.0))
  (< k 1.0)))

; (push) ; No observable effect
(check-sat) ; UNSAT (or SAT, see above)

Z3 4.4.0 reported SAT (and so does CVC4), but Z3 4.4.1 reports

  • UNSAT for the above example
  • SAT if the first push is commented
  • SAT if the first push is commented and the second one is uncommented

At first glance, issue #240 looks related.

@mschwerhoff
Copy link
Author

Z3 4.4.2 2d2ec38 show the same behaviour.

NikolajBjorner added a commit to NikolajBjorner/z3 that referenced this issue Oct 28, 2015
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
NikolajBjorner added a commit that referenced this issue Oct 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants