summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus/constant.sy
blob: 1bb3e59fa551d0f9e7c352e9adf8e2f7d5b143f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; EXPECT: unsat
; COMMAND-LINE: --sygus-out=status

(set-logic LIA)

(synth-fun constant ((x Int)) Int
    ((Start Int (x
                 0
                 1
                 (+ Start Start)
                 (- Start Start)
                 ))
          ))

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

(constraint (= (constant x) (constant y)))


(check-synth)

; 0, 1, (- x x) are valid solutions
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback