test/regress/cli/regress1/sygus/only-const-grammar2.sy
raw| 1 | ; EXPECT: feasible |
| 2 | ; COMMAND-LINE: --sygus-out=status --lang=sygus2 --no-sygus-pbe |
| 3 | (set-logic LIA) |
| 4 | |
| 5 | (synth-fun f ((x Int) (y Int)) Int |
| 6 | ((Start Int) (CInt Int)) |
| 7 | ( |
| 8 | (Start Int ((+ x CInt) (+ y CInt) (+ Start Start CInt) x y)) |
| 9 | (CInt Int ((Constant Int))) |
| 10 | ) |
| 11 | ) |
| 12 | |
| 13 | (declare-var x Int) |
| 14 | (declare-var y Int) |
| 15 | |
| 16 | (constraint (= (f 3 3) 20006)) |
| 17 | (constraint (= (f 4 5) 20009)) |
| 18 | |
| 19 | (check-synth) |