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_ANIRA #7017

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

Invalid model on QF_ANIRA #7017

merlinsun opened this issue Nov 26, 2023 · 0 comments

Comments

@merlinsun
Copy link

Hi,
For the following instance, z3 2354998 gives an invalid model.

$ cat small.smt2 
(declare-const x1 Int)
(declare-const x Real)
(declare-fun a () Real)
(declare-fun r () (Array (Array Real Bool) Real))
(declare-fun v () (Array Real Bool))
(assert (and (< 0.0 x) (= 0.0 x1) (= x (/ x a)) (= 0.0 (/ 1.0 0.0)) (= 2 (* (select r v) (select r v)))))
(check-sat)
$ z3 model_validate=true rewriter.eq2ineq=true small.smt2
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