summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/dup-op.sy
blob: 517849b2a2d3ea81e32681e9ece6fd990f51af28 (plain)
1
2
3
4
5
6
7
8
9
10
11
; EXPECT: unsat
; COMMAND-LINE: --lang=sygus2 --cegqi-si=none --sygus-out=status
(set-logic LIA)
(synth-fun f ((x Int)) Int
    ((Start Int) (Con Int))
    ((Start Int ((+ Con Con) (+ Start Start) x))
     (Con Int (0 1))))

(declare-var x Int)
(constraint (= (f x) (* 2 x)))
(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback