Example #1
0
 def walk_implies(self, formula, args, **kwargs):
     neg = self.walk_not(self.mgr.Not(formula.arg(0)), [args[0]])
     return mathsat.msat_make_or(self.msat_env(), neg, args[1])
Example #2
0
File: msat.py Project: idkwim/pysmt
 def walk_implies(self, formula, args, **kwargs):
     neg = self.walk_not(self.mgr.Not(formula.arg(0)), [args[0]])
     return mathsat.msat_make_or(self.msat_env, neg, args[1])
Example #3
0
 def walk_or(self, formula, args, **kwargs):
     res = mathsat.msat_make_false(self.msat_env())
     for a in args:
         res = mathsat.msat_make_or(self.msat_env(), res, a)
     return res
Example #4
0
File: msat.py Project: idkwim/pysmt
 def walk_or(self, formula, args, **kwargs):
     res = mathsat.msat_make_false(self.msat_env)
     for a in args:
         res = mathsat.msat_make_or(self.msat_env, res, a)
     return res