Skip to content

NRA formula assertion violation #2566

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

Closed
wintered opened this issue Sep 17, 2019 · 1 comment
Closed

NRA formula assertion violation #2566

wintered opened this issue Sep 17, 2019 · 1 comment

Comments

@wintered
Copy link

wintered commented Sep 17, 2019

On the following formula z3 crashes with assertion violation (We configured z3 with the -d option).

(set-logic NRA)
(declare-fun a () Real)
(assert  
    (forall ((|| Real) )
        (exists ((b Real) )
            (forall ((c Real) )
                (exists ((d Real) )
                    (forall ((r Real) )
                        (exists ((e Real) )
                            (forall ((y Real) )
                                (exists ((f Real) )
                                    (let ((t (<= r 3)) (g 7)(h 7)(i 5)(j y)) 
                                    (let ((k (<= j i)) (l 0)) 
                                    (let ((u (<= b l)) (v (<= e h)) (m 0)(n  ||)) 
                                    (let ((o (<= n m)) (w (<=  c g)) (p f))                       
                                    (let ((q (<= (+ d p) 2))) (or  q  w o  v  u  k t)))))))))))))) 
)
(assert (exists ((s Real)) (forall ((x Real)) (or (and (>= a 0) (= x 0)) (= s 0))) ))
(check-sat)
ASSERTION VIOLATION
File: ../src/nlsat/nlsat_solver.cpp
Line: 1284
check_satisfied(m_clauses)
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

OS: Ubuntu 18.04
Revision: 77ef40a

@NikolajBjorner
Copy link
Contributor

duplicate of #2567

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants