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

(HORN) Assertion violation at ../src/muz/spacer/spacer_context.cpp Line: 929 #4165

Closed
muchang opened this issue Apr 30, 2020 · 0 comments · Fixed by #4170
Closed

(HORN) Assertion violation at ../src/muz/spacer/spacer_context.cpp Line: 929 #4165

muchang opened this issue Apr 30, 2020 · 0 comments · Fixed by #4170
Assignees

Comments

@muchang
Copy link

muchang commented Apr 30, 2020

Hi,
For this formula:

(set-logic HORN)
(declare-fun a (Bool Bool Int) Bool)
(assert (forall ((b Bool) (f Bool) (g Int))
     (=> (not b) (= g 0) (a b f g))))
(assert (forall ((b Bool) (f Bool) (g Int) (c Bool) (d Int) (e Bool))
     (=> (a b f g) (= c b) e (a c e d))))
(assert (forall ((b Bool) (f Bool ))
     (=> (a b f 1) (= b f) false)))
(check-sat)

Z3 throws out an assertion violation:

ASSERTION VIOLATION
File: ../src/muz/spacer/spacer_context.cpp
Line: 929
!lemma->is_ground() || is_clause(m, l)
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

OS: Ubuntu 18.04
Commit: 9f6a733

@agurfinkel agurfinkel self-assigned this Apr 30, 2020
@agurfinkel agurfinkel linked a pull request Apr 30, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants