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

cvc5-cvc5-1.2.0.test.regress.cli.regress0.sygus.let-ringer.sy Maven / Gradle / Ivy

The newest version!
; EXPECT: feasible
; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-unif-pi=complete --sygus-out=status
(set-logic LIA)
(define-fun g ((x Int)) Int (ite (= x 1) 15 19))
(define-fun letf ((z Int) (w Int) (s Int) (x Int)) Int (+ z (+ x (+ x (+ s (+ 1 (+ (g w) z)))))))

(synth-fun f ((x Int)) Int
    ((Start Int))
    ((Start Int (x
                 0
                 1
                 (- Start Start)
                 (letf Start Start Start x)))))
                 
(declare-var x Int)
(constraint (= (f x) (+ (* 4 x) 15)))
(check-synth)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy