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 sat answer on unsat Real formula #2548

Closed
muchang opened this issue Sep 10, 2019 · 0 comments
Closed

Incorrect sat answer on unsat Real formula #2548

muchang opened this issue Sep 10, 2019 · 0 comments

Comments

@muchang
Copy link

muchang commented Sep 10, 2019

Hi,
For this formula:

(set-logic NRA)
(assert
    (forall
      ((b Real))
      (exists
        ((c Real))
        (and
          (< c 4)
          (not (= c (- 2)))
          (not (= c 0))
          (or
            (and
              (not
                (= (+ (* 8 b) (* 5 c)) 8)
              )
              (<
                (+ (* (- 80) b) (* (- 6) c))
                5
              )
            )
            (and
              (< (* (- 3) b) 1)
              (>= b 8)
            )
        )
      )
    )
  )
)
(check-sat)

latest Z3 reports sat on this unsat formula, while z3-4.8.5-stable reports unsat.

OS: Ubuntu 18.04
Revision: 6384080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant