Z3 C# API 断言移除
Z3 C# API assertion removal
我正在使用 Z3 求解器并添加和跟踪特定断言。我正在反复进行我的分析。我想知道是否可以删除一个特定断言并将其替换为另一个断言?
是的,这是可能的,但只能通过假设(稍后可以禁用)或使用 push/pop 间接实现。另请参阅以下帖子和其中提供的链接:
Soft/Hard constraints in Z3
Incremental solving in Z3 using push command
What is the benifits of incremental solving?
我正在使用 Z3 求解器并添加和跟踪特定断言。我正在反复进行我的分析。我想知道是否可以删除一个特定断言并将其替换为另一个断言?
是的,这是可能的,但只能通过假设(稍后可以禁用)或使用 push/pop 间接实现。另请参阅以下帖子和其中提供的链接:
Soft/Hard constraints in Z3
Incremental solving in Z3 using push command
What is the benifits of incremental solving?