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

(proof) Invalid model for datatype formula #4865

Closed
rainoftime opened this issue Dec 6, 2020 · 0 comments
Closed

(proof) Invalid model for datatype formula #4865

rainoftime opened this issue Dec 6, 2020 · 0 comments

Comments

@rainoftime
Copy link
Contributor

rainoftime commented Dec 6, 2020

Hi, for the following formula,
z3 4d55f83

(set-option :produce-proofs true)
(declare-datatypes () ((rec nil (mk (a Int)))))
(declare-const x rec)
(assert ((_ is mk) ((_ update-field a) x 1)))
(check-sat)
(get-model)
./z3 model_validate=true ../delta.out.smt2                                                                                                       sat
(error "line 5 column 10: an invalid model was generated")
(
  (define-fun x () rec
    nil)
)
@rainoftime rainoftime changed the title Invalid model for datatype formula Invalid model for datatype formula (proof) Dec 6, 2020
@rainoftime rainoftime changed the title Invalid model for datatype formula (proof) (proof) Invalid model for datatype formula Dec 6, 2020
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