Skip to content

nondeterministic assertion violation at ../src/ast/rewriter/rewriter_def.h Line: 589 #3268

@muchang

Description

@muchang

Hi,
For this formula:

(set-option :smt.threads 4)   
(declare-fun c () ( Array Int Int )) 
(declare-fun a () ( Array Int Int )) 
(declare-fun arr () ( Array Int Int ))
(declare-fun d () Int) 
(declare-fun u () Int) 
(declare-fun i () Int) 
(assert (let (( ?g (select arr i)) (?e (select a 0)) (d d)) 
(and (forall (( ?j Int )) (xor (and (= d u)) 
     (forall (( ?f Int )) (<= (select arr ?f) (select arr ?j)))))( <= ?e ?g ) 
     (forall (( ?h Int )) (= (and (<=  d ?h 0))(= (select arr ?h ) 0)))(= (select c d) d)))) 
(check-sat)

Z3 nondeterministicly throws out an assertion violation:

ASSERTION VIOLATION
File: ../src/ast/rewriter/rewriter_def.h
Line: 589
frame_stack().empty()
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

OS: Ubuntu 18.04
Commit: a6fcdec

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