tactic_when method

Z3_tactic tactic_when(
  1. Z3_context c,
  2. Z3_probe p,
  3. Z3_tactic t
)

\brief Return a tactic that applies \c t to a given goal is the probe \c p evaluates to true. If \c p evaluates to false, then the new tactic behaves like the skip tactic.

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

Implementation

Z3_tactic tactic_when(
  Z3_context c,
  Z3_probe p,
  Z3_tactic t,
) {
  return _tactic_when(
    c,
    p,
    t,
  );
}