Z3 C#API断言删除

时间:2016-06-06 13:22:36

标签: c# z3

我正在使用Z3求解器并添加和跟踪特定断言。我在itterations进行我的分析。我想知道是否有可能删除一个特定的断言并将其替换为另一个断言?

1 个答案:

答案 0 :(得分:2)

是的,这是可能的,但只能间接地通过假设(可以在以后禁用)或使用推/弹。另请参阅以下帖子及其中提供的链接:

Soft/Hard constraints in Z3

Incremental solving in Z3 using push command

What is the benifits of incremental solving?