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

Debug branch: proof Assertion violation at ../src/ast/ast.cpp Line: 2910 #3339

Closed
muchang opened this issue Mar 15, 2020 · 1 comment
Closed

Comments

@muchang
Copy link

muchang commented Mar 15, 2020

Hi,
For this formula:

(set-option :proof true) 
(declare-sort a$) 
(declare-sort c$) 
(declare-sort d$) 
(declare-sort f$) 
(declare-sort e$)   
(declare-fun comp$b (f$) e$) 
(declare-fun m$g (e$ d$) f$) 
(declare-fun m$ac (f$ a$) c$) 
(declare-fun m$aw (d$ a$) a$)  
(assert (forall ((?h f$) (?i d$) (?j f$) (?k d$)) (= (= (m$g (comp$b ?h) ?i) (m$g (comp$b ?j) ?k)) 
(forall ((?l a$)) (= (m$ac ?h (m$aw ?i ?l)) (m$ac ?j (m$aw ?k ?l)))) false)))  
(check-sat)

Z3 debug branch throws out an assertion violation:

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

OS: Ubuntu 18.04
Commit: f913f29

@NikolajBjorner
Copy link
Contributor

not taking proof bugs in debug branch. They are largely orthogonal

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