'then' vs 'and-then' Z3 组合子
'then' vs 'and-then' Z3 combinator
In Z3 and-then
和 then
以及两个有效的组合子。有什么区别,如果有的话? and-then
给出来自 (help-tactic)
的以下消息:
- (and-then <tactic>+) executes the given tactics sequencially.
然而,then
似乎没有在任何地方定义。
没有区别。如果我们在 Z3 源代码树中查找 "then"
或 "and-then"
,那么我们会发现这些字符串只出现一次并且它们是同义词:
grep -rE '"and-then"|"then"'
src/cmd_context/tactic_cmds.cpp: if (cmd_name == "and-then" || cmd_name == "then")
In Z3 and-then
和 then
以及两个有效的组合子。有什么区别,如果有的话? and-then
给出来自 (help-tactic)
的以下消息:
- (and-then <tactic>+) executes the given tactics sequencially.
然而,then
似乎没有在任何地方定义。
没有区别。如果我们在 Z3 源代码树中查找 "then"
或 "and-then"
,那么我们会发现这些字符串只出现一次并且它们是同义词:
grep -rE '"and-then"|"then"'
src/cmd_context/tactic_cmds.cpp: if (cmd_name == "and-then" || cmd_name == "then")