test/regress/cli/regress1/sygus/nia-max-square-ns.sy
raw| 1 | ; EXPECT: feasible |
| 2 | ; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status --nl-ext-tplanes |
| 3 | (set-logic NIA) |
| 4 | |
| 5 | (synth-fun max ((x Int) (y Int)) Int) |
| 6 | |
| 7 | (declare-var x Int) |
| 8 | (declare-var y Int) |
| 9 | |
| 10 | (constraint (>= (max x y) (* x x))) |
| 11 | (constraint (>= (max x y) (* y y))) |
| 12 | |
| 13 | (check-synth) |