Skip to content
New issue

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

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

Already on GitHub? # to your account

Soundness bug in QF_NRA #4912

Closed
junzew opened this issue Dec 22, 2020 · 0 comments
Closed

Soundness bug in QF_NRA #4912

junzew opened this issue Dec 22, 2020 · 0 comments

Comments

@junzew
Copy link

junzew commented Dec 22, 2020

$cat bug.smt2 
(set-logic QF_NRA)
(declare-fun skoX () Real)
(declare-fun skoSQ3 () Real)
(declare-fun pi () Real)
(assert (or (> (* skoX (* skoX (- skoX (+ skoX (/ 1 24))))) 0) (and (not (>= skoSQ3 0)) (or (not (< skoX 0)) (and (not (>= (/ 31415927 10000000) pi)) (and (not (<= pi (/ 15707963 5000000))) (and (not (< (* (/ (- 1) 10000000) (- pi (/ 1 2))) skoX)) (= (+ skoSQ3 skoSQ3) 3))))))))
(check-sat)
(exit)
$cvc4 -q bug.smt2 
sat
$z3 bug.smt2 
unsat
$z3 --version
Z3 version 4.8.9 - 64 bit
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant