summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus/list-head-x.sy
blob: 21362dc2cfd4ee25f569c7d2ae2df53b5098a0a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; EXPECT: unsat
; COMMAND-LINE: --cegqi-si=all --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