summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/double.sy
blob: f3fea312254f6a80a49c12b21a67d2c0c3c1779b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
; EXPECT: unsat
; COMMAND-LINE: --sygus-out=status

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

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