-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Invalid model in string formula #5140
Copy link
Copy link
Closed
Labels
Description
commit: c629f09
$ z3release model_validate=true small.smt2
sat
(error "line 13 column 10: an invalid model was generated")
$ cat small.smt2
(declare-fun a () String)
(assert
(str.in_re a
(re.++
(re.diff
(re.++ (re.* (re.union (str.to_re "a") (str.to_re "b"))) (str.to_re "b"))
(re.++
(re.inter
(re.++ (re.++ (re.* (re.union (str.to_re "a") (str.to_re "b"))) (str.to_re "b")) (str.to_re a))
(re.++ (re.* (re.union (str.to_re "a") (str.to_re "b")))))
(str.to_re "a")))
(str.to_re (ite (str.in_re a (re.union (str.to_re "b"))) "b" "a""b")))))
(check-sat)
Reactions are currently unavailable