Procedural Attachment in Z3

 ̄綄美尐妖づ 提交于 2020-01-06 19:47:12

问题


I am using z3py I have a predicate over two integers that needs to be evaluated using a custom algorithm. I have been trying to get it implemented, without much success. Apparently, what I need is a procedural attachment, which is now deprecated. Could anybody tell me how I might impelement this in z3py? I understand that it involves use of Tactics, but I am afraid I haven't managed to figure out how to use them. I wouldn't mind using the deprecated way either, as long as it works.


回答1:


There is no procedural attachment tactic. All tactics are implemented inside of Z3; you can compose tactics from outside. Previous versions of Z3 exposed a way to register a "user theory". This was deprecated since (1) the source of Z3 is now available so users can compile with their custom theories directly, (2) the user-theory abstraction lacked proper support for model generation. You can of course try previous versions of Z3 that have the user theory extension, but it is not supported.



来源:https://stackoverflow.com/questions/20877005/procedural-attachment-in-z3

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!