| 1 |
(set-info :smt-lib-version 2.6) |
| 2 |
(set-logic QF_S) |
| 3 |
(set-info :status unsat) |
| 4 |
|
| 5 |
|
| 6 |
(declare-const x String) |
| 7 |
(declare-const y String) |
| 8 |
(assert (and (= y "foobar") (str.in_re x (re.++ (str.to_re "ab") (re.* re.allchar) (str.to_re "b") (re.* re.allchar) (str.to_re "b") (re.* re.allchar) (str.to_re "b"))))) |
| 9 |
(assert (not (and (= y "foobar") (str.in_re x (re.++ (str.to_re "a") (re.* re.allchar) (str.to_re "b") (re.* re.allchar) (str.to_re "b") (re.* re.allchar) (str.to_re "b")))))) |
| 10 |
(check-sat) |