def testReflexive(self): self.assertEqual(Thm.reflexive(x), Thm.mk_equals(x, x))
def testReflexive(self): self.assertEqual(Thm.reflexive(x), Thm([], Eq(x,x)))
def eval(self, thy, x, ths): assert ths[0].prop.is_equals(), "fun_combination" return Thm.combination(ths[0], Thm.reflexive(x))
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))
def eval(self, thy, f, ths): assert ths[0].prop.is_equals(), "arg_combination" return Thm.combination(Thm.reflexive(f), ths[0])