test/regress/cli/regress1/sygus/finite-infeasible-2.sy
raw| 1 | ; COMMAND-LINE: --sygus-out=status |
| 2 | ; EXPECT: infeasible |
| 3 | (set-logic LIA) |
| 4 | (synth-fun g ((x Int)) Int |
| 5 | ((Start Int)) |
| 6 | ( |
| 7 | (Start Int (x 0 (+ Start Start))) |
| 8 | ) |
| 9 | ) |
| 10 | (synth-fun f ((x Int)) Int |
| 11 | ((Start Int)) |
| 12 | ( |
| 13 | (Start Int (x 0)) |
| 14 | ) |
| 15 | ) |
| 16 | (declare-var x Int) |
| 17 | (constraint (>= (g x) 0)) |
| 18 | (constraint (= (f 4) 1)) |
| 19 | (constraint (> (f x) 0)) |
| 20 | (check-synth) |