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

(set-logic LIA)

(synth-fun comm ((x Int) (y Int)) Int
    ((Start Int (x
                 y
                 (+ Start Start)
                 (- Start Start)
                 ))
          ))

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

(constraint (= (comm x y) (comm y x)))


(check-synth)

; (+ x y) is a valid solution
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback