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)