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

Issues with bvsmul_noovfl #5794

Closed
rainoftime opened this issue Jan 27, 2022 · 2 comments
Closed

Issues with bvsmul_noovfl #5794

rainoftime opened this issue Jan 27, 2022 · 2 comments

Comments

@rainoftime
Copy link
Contributor

Hi, for the following formula

(set-option :model_validate true)
(declare-fun bv_4-0 () (_ BitVec 1))
(assert (not (bvsmul_noovfl bv_4-0 bv_4-0)))
(check-sat)

z3 461e710 yields an invalid model

z3 delta.out.smt2 
sat
(error "line 4 column 10: an invalid model was generated")
@rainoftime
Copy link
Contributor Author

(set-option :rewriter.flat false)
(declare-fun bv_18-0 () (_ BitVec 9))
(assert (exists ((q64 (_ BitVec 9))) (bvsmul_noovfl q64 bv_18-0)))
(check-sat-using qe_rec)
ASSERTION VIOLATION
File: ../src/qe/qsat.cpp
Line: 651
validate_defs("check_sat")
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

NikolajBjorner added a commit that referenced this issue Jan 27, 2022
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
@NikolajBjorner
Copy link
Contributor

First one is taken care of. qe_rec and bvsmul is too exotic to merit time to debug. There are more important bugs.

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

2 participants