Skip to content

Invalid model for string formulas #5121

@jiwonparc

Description

@jiwonparc

Tell me if I should continue holding off the invalid model bugs for string formulas.

commit: b918f12

$ z3release model_validate=true t1.smt2 
sat
(error "line 4 column 10: an invalid model was generated")
$ cat t1.smt2 
(declare-fun a () String)
(declare-fun b () String)
(assert (str.in_re (str.++ "z" b) (re.* (str.to_re (str.substr "z" (str.len a) (str.len b))))))
(check-sat)

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