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 ctx_solver_simplify_tactic.cpp:131 (smt.threads 6) #4147

Closed
rainoftime opened this issue Apr 28, 2020 · 1 comment
Closed

Comments

@rainoftime
Copy link
Contributor

Hi, for the following formula,

(set-logic QF_AUFNIA)
(set-option :smt.threads 6)
(declare-const v0 Bool)
(declare-const v10 Bool)
(declare-const v18 Bool)
(declare-const arr (Array Bool Bool))
(assert (distinct (store (store arr v10 false) v18 v0) arr (store arr v10 false)))
(check-sat-using ctx-solver-simplify)

z3 (commit 38e0968) throws an assertion violation

ASSERTION VIOLATION
File: ../src/smt/tactic/ctx_solver_simplify_tactic.cpp
Line: 131
UNREACHABLE CODE WAS REACHED.
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB
@rainoftime rainoftime changed the title Assertion violation at ctx_solver_simplify_tactic.cpp (smt.threads 6) Assertion violation at ctx_solver_simplify_tactic.cpp:131 (smt.threads 6) Apr 28, 2020
NikolajBjorner added a commit that referenced this issue Apr 29, 2020
The change masks possible bugs in smt.threads and arrays.
@NikolajBjorner
Copy link
Contributor

I have to close this for now: the example illustrated a case where the context simplifier could be tuned. Furthermore, it stopped reproducing with and without the tuning.

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