Skip to content

Soundness issue in string logic #8023

@wintered

Description

@wintered

11fb5c7

$ cat bug.smt2
(declare-fun a () String)
(assert (str.<= (str.replace a (str.substr a (str.indexof (str.at a 0) a 1) (+ 1 1)) a) ""))
(check-sat)
$ cvc5 -q --check-models bug.smt2
sat
$ z3 model_validate=true bug.smt2
unsat

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