All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cvc5-cvc5-1.2.0.test.regress.cli.regress1.sygus.double.sy Maven / Gradle / Ivy

The newest version!
; EXPECT: feasible
; COMMAND-LINE: --lang=sygus2 --sygus-out=status

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

(synth-fun double ((x1 Ex)) Int
	((ntInt Int) (ntEx Ex))
	(
		(ntInt Int
			(
				(ex ntEx)
				(+ ntInt ntInt)
			)
		)
		(ntEx Ex
			( 
				x1
				(Ex2 ntInt)
			)
		)
	)
)
(constraint (= (double (Ex2 1)) 2))
(constraint (= (double (Ex2 4)) 8))
(check-synth)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy