Example #1
0
 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))
Example #2
0
 def testImpliesElim(self):
     th1 = Thm([], Implies(A,B))
     th2 = Thm([], A)
     self.assertEqual(Thm.implies_elim(th1, th2), Thm([], B))