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)))
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)))