Skip to content

Assertion violation at src/util/old_vector.h:375 #3747

@wintered

Description

@wintered

Triggers the same assertion violation as the fixed issue #3739.

[556] % z3 bug3739.smt2 
(smt.diff_logic: non-diff logic expression (>= (+ b (a c!0)) 0))
unknown
[557] % 
[557] % z3 small.smt2
ASSERTION VIOLATION
File: ../src/util/old_vector.h
Line: 375
idx < size()
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB
a
[558] % 
[558] % cat small.smt2
(set-option :smt.arith.solver 6)
(set-option :rewriter.push_to_real false)
(declare-fun a () Int)
(declare-fun b () Int)
(declare-fun c () Int)
(assert (forall ((d Int)) (= (/ 1 (- 3 d (ite (= d a) b c))) 0)))
(check-sat)
[559] %

OS: Ubuntu 18.04
Commit: 64d157d

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