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 issue on a QF_DT instance #7037

Closed
zhendongsu opened this issue Dec 4, 2023 · 0 comments
Closed

invalid model issue on a QF_DT instance #7037

zhendongsu opened this issue Dec 4, 2023 · 0 comments

Comments

@zhendongsu
Copy link

[539] % z3release model_validate=true small.smt2
sat
(error "line 5 column 10: an invalid model was generated")
[540] % cat small.smt2
(declare-datatypes ((a 0)(b 0)(c 0)) (((d (pred a)) (zero)) ((cons (car c) (cdr b)) (e)) ((f (children b)) (g (data a)))))
(declare-fun h () b)
(declare-fun i () c)
(assert (or (distinct zero (data i)) (= (f (cons i h)) (f h))))
(check-sat)
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