| 1 |
; EXPECT: feasible |
| 2 |
; COMMAND-LINE: --lang=sygus2 --sygus-out=status |
| 3 |
(set-logic ALL) |
| 4 |
|
| 5 |
(synth-fun f ((x String) (y String)) String) |
| 6 |
|
| 7 |
(declare-var x String) |
| 8 |
(declare-var y String) |
| 9 |
|
| 10 |
(constraint (= (f x y) (str.replace (str.++ x y) "A" "ABCD"))) |
| 11 |
|
| 12 |
(check-synth) |