| 1 |
; COMMAND-LINE: --strings-eager-len-re |
| 2 |
; EXPECT: sat |
| 3 |
(set-logic QF_S) |
| 4 |
(declare-fun a () String) |
| 5 |
(declare-fun b () String) |
| 6 |
(assert (str.in_re (str.replace b a "") (re.++ (str.to_re "u") (re.union (str.to_re "b") (str.to_re ""))))) |
| 7 |
(assert (= (str.to_int (str.++ a a)) 0)) |
| 8 |
(check-sat) |