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 on NRA formula II #2567

Closed
wintered opened this issue Sep 17, 2019 · 0 comments
Closed

Assertion violation on NRA formula II #2567

wintered opened this issue Sep 17, 2019 · 0 comments

Comments

@wintered
Copy link

wintered commented Sep 17, 2019

For the following formula z3 (configured with d option) crashes with an assertion error.

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

Revision: 69abe16
OS: Ubuntu 18.04

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