def testImpliesElim2(self): th1 = Thm([B], Term.mk_implies(A, B)) th2 = Thm([B], A) self.assertEqual(Thm.implies_elim(th1, th2), Thm([B], B))
def testImpliesElim(self): th1 = Thm([], Implies(A,B)) th2 = Thm([], A) self.assertEqual(Thm.implies_elim(th1, th2), Thm([], B))