| 1 |
(set-logic ALL) |
| 2 |
(set-info :status unsat) |
| 3 |
(declare-fun x () String) |
| 4 |
(declare-fun y () String) |
| 5 |
(declare-fun z () String) |
| 6 |
(declare-fun w () String) |
| 7 |
|
| 8 |
(assert |
| 9 |
(str.in_re w (re.++ (re.* re.allchar) (str.to_re "ABC")))) |
| 10 |
|
| 11 |
(assert |
| 12 |
(or |
| 13 |
(= w (str.++ x y z)) |
| 14 |
(= w (str.++ z y x)) |
| 15 |
(= w (str.++ x z y)) |
| 16 |
) |
| 17 |
) |
| 18 |
|
| 19 |
(assert |
| 20 |
(or (= x "D") (= x "E") (= x "F")) |
| 21 |
) |
| 22 |
(assert |
| 23 |
(or (= y "D") (= y "E") (= y "F")) |
| 24 |
) |
| 25 |
(assert |
| 26 |
(or (= z "D") (= z "E") (= z "F")) |
| 27 |
) |
| 28 |
|
| 29 |
(check-sat) |