tactic_cond method

Z3_tactic tactic_cond(
  1. Z3_context c,
  2. Z3_probe p,
  3. Z3_tactic t1,
  4. Z3_tactic t2,
)

\brief Return a tactic that applies \c t1 to a given goal if the probe \c p evaluates to true, and \c t2 if \c p evaluates to false.

def_API('Z3_tactic_cond', TACTIC, (_in(CONTEXT), _in(PROBE), _in(TACTIC), _in(TACTIC)))

Implementation

Z3_tactic tactic_cond(
  Z3_context c,
  Z3_probe p,
  Z3_tactic t1,
  Z3_tactic t2,
) {
  return _tactic_cond(
    c,
    p,
    t1,
    t2,
  );
}