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