【发布时间】:2013-04-12 09:45:03
【问题描述】:
我想在 Z3 python 中对 If-the-else 进行编码,但找不到任何有关如何执行此操作的文档或示例。
我有如下示例代码。
F = True
tmp = BitVec('tmp', 1)
tmp1 = BitVec('tmp1', 8)
现在我怎样才能把这个条件编码成 F:
if tmp == 1, then tmp1 == 100. otherwise, tmp1 == 0
非常感谢。
【问题讨论】: