我想取z3表达式的导数。我知道这个功能在Dreal4中是可能的,使用变量类型,但是我在z3中找不到任何类似特性的文档。在z3中有这样的方法吗?如果不是的话,下一步的最佳选择是什么?在交感和z3变量之间转换?例如:x = Real('x')
#next line takes the derivative of f with r
在使用Z3::expr作为映射值类型时遇到了困难。编译器抱怨不能使用默认构造函数。一个玩具示例如下所示。#include <z3++.h>//#include <vector>
using namespace z3;
return 0;编译器(Clang++)抱怨
no matching constructor for initialization of