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

Invalid model on QF_NRA #7024

Closed
merlinsun opened this issue Nov 29, 2023 · 0 comments
Closed

Invalid model on QF_NRA #7024

merlinsun opened this issue Nov 29, 2023 · 0 comments

Comments

@merlinsun
Copy link

Hi,
For this following instance, z3 79bbbf7 gives an invalid model.

$ cat small.smt2 
(declare-const x Real)
(declare-const x4 Real)
(declare-const x44 Bool)
(declare-fun r () Real)
(check-sat)
(assert (xor x44 (= 0.0 (/ r 0.0)) (= 1.0 (/ x4 0.0)) x44 (= 1.0 (* r (- (abs x)) (+ r 5)))))
(check-sat)
$ z3 model_validate=true small.smt2                  
sat
sat
(error "line 7 column 10: an invalid model was generated")
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