test/regress/cli/regress1/sygus/int-any-const.sy
raw| 1 | ; EXPECT: feasible |
| 2 | ; COMMAND-LINE: --lang=sygus2 --sygus-out=status --no-sygus-pbe --sygus-si=none --sygus-grammar-cons=any-term-concise |
| 3 | |
| 4 | (set-logic LIA) |
| 5 | (synth-fun f ((x Int) (y Int)) Int) |
| 6 | (constraint (= (f 1 7) 15)) |
| 7 | (constraint (= (f 0 27) 27)) |
| 8 | (constraint (= (f 2 27) 43)) |
| 9 | ; this example does not fit the polynomial solution to the above example, thus, we expect to construct an ITE |
| 10 | (constraint (= (f 3 27) 43)) |
| 11 | (check-synth) |