def walk_bv_comp (self, formula, args, **kwargs): a,b = args eq = libyices.yices_bveq_atom(a, b) self._check_term_result(eq) one = libyices.yices_bvconst_int32(1, 1) zero = libyices.yices_bvconst_int32(1, 0) res = libyices.yices_ite(eq, one, zero) self._check_term_result(res) return res
def walk_ite(self, formula, args, **kwargs): i, t, e = args res = libyices.yices_ite(i, t, e) self._check_term_result(res) return res
def walk_ite(self, formula, args): i, t, e = args return libyices.yices_ite(i, t, e)