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 when enabling proof generation: src/ast/ast.cpp:2820 #3153

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

Comments

@rainoftime
Copy link
Contributor

rainoftime commented Mar 5, 2020

Hi,
For this formula:

(set-option :model_validate true)
(set-option :model true)
(set-option :proof true)

(declare-const v0 Bool)
(declare-const v1 Bool)
(declare-const v2 Bool)
(declare-const v3 Bool)
(declare-const v4 Bool)
(assert (forall ((q0 Bool) (q1 Bool) (q2 Bool) (q3 Bool)) (not (= v1 v1 q3 q1 v4 v0 v3 q2))))
(assert v4)
(check-sat)

Z3 throws out an assertion violation:

ASSERTION VIOLATION
File: ../src/ast/ast.cpp
Line: 2820
to_app(get_fact(p2))->get_arg(0) == get_fact(p1)
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

OS: Ubuntu 16.04
Debug branch commit : c716978
Master branch commit: 6cbcd13

@rainoftime rainoftime changed the title Debug branch: Assertion violation at sr/ast/ast.cpp:2820 Debug branch: assertion violation at sr/ast/ast.cpp:2820 Mar 5, 2020
@rainoftime
Copy link
Contributor Author

Both the master and debug branches have the issue.

@rainoftime rainoftime changed the title Debug branch: assertion violation at sr/ast/ast.cpp:2820 Assertion violation when enabling proof generation: src/ast/ast.cpp:2820 Mar 5, 2020
NikolajBjorner added a commit that referenced this issue Jun 15, 2020
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
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