Using Z3 with the textual format, I can use define-fun to define functions for reuse later on. For example:
(define-fun test((a Int) (b Int)) Int
(ite (and (> a 2) (<= b 3))
1
(ite (and (<= a 2)(> b 10))
2
a
)
)
)
so I wonder how to define fun using C# api, since Context.MkFuncDecl is used to generate uninterpreted functions only.