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, rewriter.pull_cheap_ite) Assertion violation at ../src/ast/rewriter/rewriter_def.h Line: 176 #4187

Closed
muchang opened this issue May 2, 2020 · 0 comments

Comments

@muchang
Copy link

muchang commented May 2, 2020

Hi,
For this formula:

(set-option :proof true)
(set-option :rewriter.pull_cheap_ite true)
(declare-datatypes ((a 0)) (((j) (b))))
(declare-sort c 0)
(declare-fun d () (Array c a))
(declare-fun f () (Array c a))
(declare-fun h () (Array c a))
(declare-fun k () (Array c (Array c a)))
(declare-fun l () (Array c (Array c a)))
(assert (forall ((e c)) (= (select k e) d)))
(assert (forall ((m c)) (= (select f m) j)))
(assert (forall ((g c)) (= (select l g) f)))
(assert (forall ((i c)) (= (select h i) b)))
(check-sat)

Z3 throws out an assertion violation:

ASSERTION VIOLATION
File: ../src/ast/rewriter/rewriter_def.h
Line: 176
rewrites_to(r, pr)
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

OS: Ubuntu 18.04
Commit: 2695221

hgvk94 pushed a commit to hgvk94/z3 that referenced this issue May 7, 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