| 1 |
(set-logic ALL) |
| 2 |
|
| 3 |
(set-info :status unsat) |
| 4 |
(declare-fun a () String) |
| 5 |
(declare-fun b () String) |
| 6 |
(declare-const c String) |
| 7 |
(declare-const d String) |
| 8 |
(declare-const g String) |
| 9 |
(declare-const e String) |
| 10 |
(declare-const f String) |
| 11 |
(assert (or |
| 12 |
(and (= d (str.++ e g)) (str.in_re e (re.* (str.to_re "HG4"))) (> 0 (str.to_int g)) (= 1 (str.len e)) (= 2 (str.len (str.substr b 0 (str.len d))))) |
| 13 |
(and |
| 14 |
(str.in_re (str.replace (str.replace a c "") "T" "") (re.* (re.union (str.to_re "a") (str.to_re "")))) |
| 15 |
(= 0 (str.to_int (str.replace (str.replace a c "") "T" ""))))) |
| 16 |
) |
| 17 |
(assert (= b (str.++ d f))) |
| 18 |
(check-sat) |