summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/extract.sy
blob: f3cfa09a2084f4cabfec2f34db59a08d73b9e885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; EXPECT: unsat
; COMMAND-LINE: --lang=sygus2 --sygus-out=status

(set-logic ALL_SUPPORTED)
(declare-datatype Ex ((Ex2 (ex Int))))

(synth-fun ident ((x1 Ex)) Int
	((Start Int) (ntInt Int) (ntEx Ex))
	(
		(Start Int (ntInt))
		(ntInt Int
			(
				(ex ntEx)
			)
		)
		(ntEx Ex ( x1 ))
	)
)
(constraint (= (ident (Ex2 1)) 1))
(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback