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

(smt.arith.solver=2) Invalid model on QF_SLIA formula #4026

Closed
muchang opened this issue Apr 20, 2020 · 0 comments
Closed

(smt.arith.solver=2) Invalid model on QF_SLIA formula #4026

muchang opened this issue Apr 20, 2020 · 0 comments

Comments

@muchang
Copy link

muchang commented Apr 20, 2020

Hi,
For this case, Z3 gives an invalid model:

[670] % z3release model_validate=true small.smt2
sat
[671] % z3release smt.arith.solver=2 model_validate=true small.smt2
sat
(error "line 5 column 10: an invalid model was generated")
[672] % 
[672] % cat small.smt2
(declare-fun a () Int)
(declare-fun b () String)
(declare-fun c () String)
(assert (str.<= "ABCD" (str.++ b (int.to.str a) c)))
(check-sat)
[673] %

OS: Ubuntu 18.04
Commit: e1fa04b

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