Beispiel #1
0
 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
Beispiel #2
0
 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
Beispiel #3
0
 def walk_ite(self, formula, args, **kwargs):
     i, t, e = args
     res = yicespy.yices_ite(i, t, e)
     self._check_term_result(res)
     return res
Beispiel #4
0
 def walk_ite(self, formula, args, **kwargs):
     i, t, e = args
     res = yicespy.yices_ite(i, t, e)
     self._check_term_result(res)
     return res