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 ../src/ast/datatype_decl_plugin.cpp #6677

Closed
brutalsavage opened this issue Apr 10, 2023 · 0 comments
Closed

Assertion Violation at ../src/ast/datatype_decl_plugin.cpp #6677

brutalsavage opened this issue Apr 10, 2023 · 0 comments

Comments

@brutalsavage
Copy link

Hi all

Description: ASSERTION VIOLATION

small code small.smt2 to reproduce:

(declare-sort D)
(declare-datatypes () ((MyOption (Some (elem D)) None)))
(declare-fun f (MyOption D) D)
(assert (not (= (f (Some (elem 1))) (f (Some (elem 2))))))
(check-sat)
(exit)

output

ASSERTION VIOLATION
File: ../src/ast/datatype_decl_plugin.cpp
Line: 676
is_datatype(s)
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB
A

Command: running z3 (e6ea815) with debug build z3 small.smt2

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