tactic_or_else method

Z3_tactic tactic_or_else(
  1. Z3_context c,
  2. Z3_tactic t1,
  3. Z3_tactic t2
)

\brief Return a tactic that first applies \c t1 to a given goal, if it fails then returns the result of \c t2 applied to the given goal.

def_API('Z3_tactic_or_else', TACTIC, (_in(CONTEXT), _in(TACTIC), _in(TACTIC)))

Implementation

Z3_tactic tactic_or_else(
  Z3_context c,
  Z3_tactic t1,
  Z3_tactic t2,
) {
  return _tactic_or_else(
    c,
    t1,
    t2,
  );
}