| 1 |
; EXPECT: unsat |
| 2 |
; COMMAND-LINE: --sygus-inference=try -q |
| 3 |
; DISABLE-TESTER: unsat-core |
| 4 |
; DISABLE-TESTER: proof |
| 5 |
(set-logic ALL) |
| 6 |
(declare-fun a () String) |
| 7 |
(declare-fun b () String) |
| 8 |
(declare-fun c () String) |
| 9 |
(declare-fun d () String) |
| 10 |
(declare-fun f () String) |
| 11 |
(declare-fun e () String) |
| 12 |
(assert |
| 13 |
(not |
| 14 |
(= |
| 15 |
(str.contains |
| 16 |
c |
| 17 |
(str.replace d (str.substr b 0 (str.len d)) "A") |
| 18 |
) |
| 19 |
(str.contains c "A") |
| 20 |
) |
| 21 |
) |
| 22 |
) |
| 23 |
(assert (= a (str.++ c f))) |
| 24 |
(assert (= b (str.++ d e))) |
| 25 |
(check-sat) |