test/regress/cli/regress0/sygus/cegqi-si-string-triv-2fun.sy
raw| 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 | (synth-fun g ((x String) (y String)) String) |
| 7 | |
| 8 | (declare-var x String) |
| 9 | (declare-var y String) |
| 10 | |
| 11 | (constraint (= (f x y) (str.replace (str.++ x y) "A" "ABCD"))) |
| 12 | (constraint (= (g x y) (str.replace (f x y) "B" "CDE"))) |
| 13 | |
| 14 | (check-synth) |