summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus/list-head-x.sy
blob: a5977d1e7c3891a26a2436c59a4f4f7d3f592a15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; EXPECT: unsat
; COMMAND-LINE: --cegqi-si --no-dump-synth
(set-logic ALL_SUPPORTED)

(declare-datatypes () ((List (cons (head Int) (tail List)) (nil))))

(synth-fun f ((x Int)) List)

(declare-var x Int)

(constraint (is-cons (f x)))
(constraint (= (head (f x)) (+ x 7)))
(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback