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

Assertion violation at smt_internalizer.cpp:660 #3607

Closed
rainoftime opened this issue Mar 31, 2020 · 1 comment
Closed

Assertion violation at smt_internalizer.cpp:660 #3607

rainoftime opened this issue Mar 31, 2020 · 1 comment

Comments

@rainoftime
Copy link
Contributor

rainoftime commented Mar 31, 2020

Hi, for the following instance,

(set-logic QF_UFNRA)
(set-option :parallel.enable true)
(set-option :rewriter.arith_ineq_lhs true)
(set-option :parallel.conquer.delay 1)
(set-option :smt.random_seed 2)
(declare-const v0 Bool)
(declare-const v1 Bool)
(declare-const v2 Bool)
(declare-const r0 Real)
(declare-const r1 Real)
(declare-const v3 Bool)
(declare-const r2 Real)
(assert (or (> (/ r0 r0) r2 (* r1 r0 r2)) (= r2 r1) (> (/ r0 r0) r2 (* r1 r0 r2)) v2 (> (/ r0 r0) r2 (* r1 r0 r2)) (= (xor v0 v0) (= v3 v3 (xor v0 v0) v1 (xor v0 v0)) (> (/ r0 r0) r1 r2 r1 r2) (distinct r0 r1 r2 r1) (> (/ r0 r0) r1 r2 r1 r2) (xor (distinct v1 v2 (xor v0 v0) (> (/ r0 r0) (/ r0 r0) (/ r0 r0) (/ r0 r0) r0) (xor v0 v0) (= v3 v3 (xor v0 v0) v1 (xor v0 v0)) v2 v2) v2 v1) (xor (distinct r0 r1 r2 r1) v3 (distinct v1 v2 (xor v0 v0) (> (/ r0 r0) (/ r0 r0) (/ r0 r0) (/ r0 r0) r0) (xor v0 v0) (= v3 v3 (xor v0 v0) v1 (xor v0 v0)) v2 v2)) (xor (distinct r0 r1 r2 r1) v3 (distinct v1 v2 (xor v0 v0) (> (/ r0 r0) (/ r0 r0) (/ r0 r0) (/ r0 r0) r0) (xor v0 v0) (= v3 v3 (xor v0 v0) v1 (xor v0 v0)) v2 v2))) v2))
(assert (or v2))
(assert (or (> (/ r0 r0) r2 (* r1 r0 r2)) (= (xor v0 v0) (= v3 v3 (xor v0 v0) v1 (xor v0 v0)) (> (/ r0 r0) r1 r2 r1 r2) (distinct r0 r1 r2 r1) (> (/ r0 r0) r1 r2 r1 r2) (xor (distinct v1 v2 (xor v0 v0) (> (/ r0 r0) (/ r0 r0) (/ r0 r0) (/ r0 r0) r0) (xor v0 v0) (= v3 v3 (xor v0 v0) v1 (xor v0 v0)) v2 v2) v2 v1) (xor (distinct r0 r1 r2 r1) v3 (distinct v1 v2 (xor v0 v0) (> (/ r0 r0) (/ r0 r0) (/ r0 r0) (/ r0 r0) r0) (xor v0 v0) (= v3 v3 (xor v0 v0) v1 (xor v0 v0)) v2 v2)) (xor (distinct r0 r1 r2 r1) v3 (distinct v1 v2 (xor v0 v0) (> (/ r0 r0) (/ r0 r0) (/ r0 r0) (/ r0 r0) r0) (xor v0 v0) (= v3 v3 (xor v0 v0) v1 (xor v0 v0)) v2 v2))) v0 (distinct r0 r1 r2 r1)))
(check-sat-using (then simplify ctx-solver-simplify qfbv))

z3 commit cf0952c throws an assertion violation

File: ../src/smt/smt_internalizer.cpp
Line: 660
UNREACHABLE CODE WAS REACHED
@NikolajBjorner
Copy link
Contributor

why is this qfbv?

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