Beispiel #1
0
 def testForallElim(self):
     P = Var("P", TFun(Ta, boolT))
     th = Thm([], Term.mk_all(x, P(x)))
     self.assertEqual(Thm.forall_elim(y, th), Thm([], P(y)))
Beispiel #2
0
 def testForallElim(self):
     P = Var("P", TFun(Ta, BoolType))
     th = Thm([], Forall(x, P(x)))
     self.assertEqual(Thm.forall_elim(y, th), Thm([], P(y)))