Ejemplo n.º 1
0
 def testReflexive(self):
     self.assertEqual(Thm.reflexive(x), Thm.mk_equals(x, x))
Ejemplo n.º 2
0
 def testReflexive(self):
     self.assertEqual(Thm.reflexive(x), Thm([], Eq(x,x)))
Ejemplo n.º 3
0
 def eval(self, thy, x, ths):
     assert ths[0].prop.is_equals(), "fun_combination"
     return Thm.combination(ths[0], Thm.reflexive(x))
Ejemplo n.º 4
0
 def testTryConv(self):
     cv = try_conv(beta_conv())
     t = lf(x)
     self.assertEqual(cv.eval(thy, t), Thm.beta_conv(t))
     self.assertEqual(cv.eval(thy, x), Thm.reflexive(x))
Ejemplo n.º 5
0
 def eval(self, thy, f, ths):
     assert ths[0].prop.is_equals(), "arg_combination"
     return Thm.combination(Thm.reflexive(f), ths[0])