| 1 |
; EXPECT: feasible |
| 2 |
; COMMAND-LINE: --sygus-out=status --sygus-si=none --sygus-repair-const --lang=sygus2 |
| 3 |
(set-logic LIA) |
| 4 |
|
| 5 |
(synth-fun f ((x Int) (y Int)) Int |
| 6 |
((Start Int) (CInt Int)) |
| 7 |
( |
| 8 |
(Start Int ((+ (* CInt x) (* CInt y) CInt))) |
| 9 |
(CInt Int ((Constant Int))) |
| 10 |
) |
| 11 |
) |
| 12 |
|
| 13 |
(declare-var x Int) |
| 14 |
(declare-var y Int) |
| 15 |
|
| 16 |
(constraint (= (f 0 0) 100)) |
| 17 |
|
| 18 |
(constraint (= (f 1 1) 110)) |
| 19 |
|
| 20 |
(constraint (= (f 2 1) 117)) |
| 21 |
|
| 22 |
(constraint (>= (- (* 3 (f x y)) (f (* 2 x) (+ y 1))) (+ (* 7 x) (* 6 y)))) |
| 23 |
|
| 24 |
(check-synth) |