Skip to content

Assertion violation on NRA formula II  #2567

@wintered

Description

@wintered

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions