开发者

Labeling Z3 scopes and popping back to a specific one

Is it possible to labe开发者_运维百科l Z3 scopes (SMTLib2 syntax) and to then pop back to a specific one? For example:

(push foo)
  ; ...
(push)
  ; ...
(pop foo) ; pops two scopes

I know that I can pop two scopes with (pop 2), but in my scenario this means that I have to keep track of the number of yet unclosed scopes opened in between a push-pop pair that must match, i.e. that must restore the Z3 context as it existed before (push foo).


No, Z3 does not have support for named scopes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜