You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking to somehow retrieve the information about uninterpreted functions produced as part of a Model object in some concise manner.
At the moment, I can "reconstruct" the function input-by-input by running Model::eval, but this is tedious at best (for finite domains) and impossible at worst (for infinite domains).
I noticed z3-sys has some low level representation for this (Z3_func_interp) which isn't exposed in z3 yet. I'd be perfectly happy to write a PR with a wrapper for it myself (and maybe also wrap some other utility methods of the Model struct).
I just wanted to ask whether such PR would be welcome (e.g. there isn't already a larger work-in-progress which implements this) and whether there are any possible issues that you can foresee arising while implementing this?
The text was updated successfully, but these errors were encountered:
Not yet :( I still have it on my todo list, but unfortunately it hasn't really been a priority and I'm not quite sure how soon it will be. So if you have the need and the time, feel free to go for it :D
Hi!
I am looking to somehow retrieve the information about uninterpreted functions produced as part of a
Model
object in some concise manner.At the moment, I can "reconstruct" the function input-by-input by running
Model::eval
, but this is tedious at best (for finite domains) and impossible at worst (for infinite domains).I noticed
z3-sys
has some low level representation for this (Z3_func_interp
) which isn't exposed inz3
yet. I'd be perfectly happy to write a PR with a wrapper for it myself (and maybe also wrap some other utility methods of theModel
struct).I just wanted to ask whether such PR would be welcome (e.g. there isn't already a larger work-in-progress which implements this) and whether there are any possible issues that you can foresee arising while implementing this?
The text was updated successfully, but these errors were encountered: