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_ABV formula #6525

Closed
zhendongsu opened this issue Jan 6, 2023 · 0 comments
Closed

invalid model on QF_ABV formula #6525

zhendongsu opened this issue Jan 6, 2023 · 0 comments

Comments

@zhendongsu
Copy link

It might be related to #5345.

[620] % z3release model_validate=true small.smt2
sat
(error "line 9 column 39: an invalid model was generated")
[621] % cat small.smt2
(set-option :rewriter.expand_nested_stores true)
(declare-fun a () (_ BitVec 1))
(declare-fun b () (Array (_ BitVec 32) (_ BitVec 8)))
(declare-fun c () (Array (_ BitVec 32) (_ BitVec 8)))
(declare-fun d () (_ BitVec 1))
(assert (= (_ bv1 32) ((_ zero_extend 31) a)))
(assert (= d (bvcomp (_ bv0 32) ((_ zero_extend 24) (select c (_ bv0 32))))))
(assert (= c (store (store (store b (_ bv1 32) (_ bv0 8)) (_ bv0 32) (_ bv0 8)) ((_ zero_extend 31) a) (_ bv1 8))))
(check-sat-using (then qfnra-nlsat smt))
hgvk94 pushed a commit to hgvk94/z3 that referenced this issue Mar 27, 2023
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