Skip to content

Assertion violation z3str3 #2713

@wintered

Description

@wintered

Hi,
For the following logic Z3 with --smt.string_solver=z3str3 gives an assertion violation

(set-logic QF_S)
(declare-fun a () String)
(assert (= (str.indexof (str.++ "x" a) "y" 0) (str.indexof (str.++ a "x") "y" 2)))
(check-sat)
ASSERTION VIOLATION
File: ../src/util/rational.h
Line: 113
is_unsigned()
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

OS: Ubuntu 18.04
Revision: d95b549

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions