summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/int-any-const.sy
blob: 18e7ed06e76576809dd205dc908d7f2dcc2ef0e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
; EXPECT: unsat
; COMMAND-LINE: --lang=sygus2 --sygus-out=status --no-sygus-pbe --cegqi-si=none --sygus-grammar-cons=any-term-concise

(set-logic LIA)
(synth-fun f ((x Int) (y Int)) Int)
(constraint (= (f 1 7) 15))
(constraint (= (f 0 27) 27))
(constraint (= (f 2 27) 43))
; this example does not fit the polynomial solution to the above example, thus, we expect to construct an ITE
(constraint (= (f 3 27) 43))
(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback