summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/only-const-grammar.sy
blob: 25effd154546be2608e63901a442e992ab400a1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; EXPECT: unsat
; COMMAND-LINE: --sygus-out=status --lang=sygus2
(set-logic LIA)

(synth-fun f ((x Int) (y Int)) Int
  ((Start Int) (CInt Int))
  (
    (Start Int ((+ x CInt)))
    (CInt Int ((Constant Int)))
  )
)

(declare-var x Int)
(declare-var y Int)

(constraint (= (f 0 0) 2))

(constraint (= (f 1 1) 3))

(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback