src/ZF/Sum.ML
changeset 6153 bff90585cce5
parent 5321 f8848433d240
child 8201 a81d18b0a9b1
--- a/src/ZF/Sum.ML	Mon Jan 25 20:35:19 1999 +0100
+++ b/src/ZF/Sum.ML	Wed Jan 27 10:31:31 1999 +0100
@@ -6,8 +6,6 @@
 Disjoint sums in Zermelo-Fraenkel Set Theory 
 *)
 
-open Sum;
-
 (*** Rules for the Part primitive ***)
 
 Goalw [Part_def]
@@ -102,6 +100,7 @@
 AddSDs [Inl_inject, Inr_inject];
 
 Addsimps [InlI, InrI, Inl_iff, Inr_iff, Inl_Inr_iff, Inr_Inl_iff, sum_empty];
+AddTCs   [InlI, InrI];
 
 Goal "Inl(a): A+B ==> a: A";
 by (Blast_tac 1);
@@ -150,6 +149,7 @@
 by (ALLGOALS (etac ssubst));
 by (ALLGOALS (asm_simp_tac (simpset() addsimps prems)));
 qed "case_type";
+AddTCs [case_type];
 
 Goal "u: A+B ==>   \
 \       R(case(c,d,u)) <-> \