summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/nflat-fwd.sy
blob: c36232a5ddc6ed8a3f60ea104fafe44ae2600535 (plain)
1
2
3
4
5
6
7
8
9
10
11
; EXPECT: unsat
; COMMAND-LINE: --lang=sygus2 --sygus-out=status
(set-logic LIA)
(synth-fun f ((x Int)) Int
    ((Start Int) (Con Int))
    ((Start Int ((+ Con Con) (+ (+ Start Start) Con) 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