Skip to content

nlsat assertion violation at ../src/nlsat/tactic/goal2nlsat.cpp Line: 208 #3011

@muchang

Description

@muchang

Hi,
For this formula:

(declare-fun a () String)
(assert (ite true (str.in.re a (str.to.re "")) false))
(check-sat-using nlsat)

Z3 throws out an assertion violation:

ASSERTION VIOLATION
File: ../src/nlsat/tactic/goal2nlsat.cpp
Line: 208
UNREACHABLE CODE WAS REACHED.
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

While Z3 does not throw out assertion violation on this equivalent formula:

declare-fun a () String)
(assert (str.in.re a (str.to.re "")))
(check-sat-using nlsat)

OS: Ubuntu 18.04
Commit: aaf2c3b

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