English 中文(简体)
Labeling Z3 scopes and popping back to a specific one
原标题:

Is it possible to label 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.

问题回答

暂无回答




相关问题
Scope with a self-invoking function in Javascript

Take below code iterates over 6 input buttons and attaches an onclick event to every button that alerts the index number of the respective iteration: for (var i = 1; i < 6; ++i) { var but = ...

Check session from a view in CodeIgniter

What is the best way to check session from a view in CodeIgniter, it shows no way in their user guide, otherwise I will have to make two views on everything, which is kinda weird...still a newbie to ...

preventing data from being freed when vector goes out of scope

Is there a way to transfer ownership of the data contained in a std::vector (pointed to by, say T*data) into another construct, preventing having "data" become a dangling pointer after the vector goes ...

定型语言是否具有范围概念?

定型语言是否具有范围概念? 在我看来,如果职能参数被放在职能执行之前的位置上,这些参数就会以不正统的方式出现。

"Global" variable scope in PHP

I have a section of code like the following: ---- file.php ---- require_once("mylib.php"); function($a,$b) { $r = $_GLOBALS[ someGlobal ]; echo $r; } ---- mylib.php ---- $_GLOBALS[ ...

Type reference scope

I m studying databases and am currently working on a object-relational DB project and I ve encountered a small problem with the number of possible constraints in an object table. I m using "Database ...

热门标签