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 for String formula (smt.random_seed 3) #4034

Closed
rainoftime opened this issue Apr 20, 2020 · 1 comment
Closed

Invalid model for String formula (smt.random_seed 3) #4034

rainoftime opened this issue Apr 20, 2020 · 1 comment

Comments

@rainoftime
Copy link
Contributor

Hi, for the following formula, z3 (commit c8b9eba) gives an invalid model

(set-option :model_validate true)
(set-option :smt.random_seed 3)
(declare-const i7 Int)
(declare-const Str6 String)
(declare-const Str8 String)
(declare-const Str12 String)
(declare-const Str17 String)
(declare-const Str18 String)
(declare-const v10 Bool)
(declare-const v13 Bool)
(declare-const v14 Bool)
(assert (or v10 v14))
(assert (or v10 v13))
(assert (distinct Str12 Str18 (str.++ Str6 (int.to.str i7) Str8 Str17)))
(assert (distinct Str12 Str6))
(check-sat)
@rainoftime
Copy link
Contributor Author

fixed in dd064a5

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