src/HOL/equalities.ML
changeset 4674 248b876c2fa8
parent 4662 73ba4d19f802
child 4686 74a12e86b20b
--- a/src/HOL/equalities.ML	Tue Mar 03 15:12:25 1998 +0100
+++ b/src/HOL/equalities.ML	Tue Mar 03 15:12:57 1998 +0100
@@ -504,6 +504,10 @@
 by (Blast_tac 1);
 qed "Int_Union";
 
+goal thy "Union(B) Int A = (UN C:B. C Int A)";
+by (Blast_tac 1);
+qed "Int_Union2";
+
 (* Devlin, Fundamentals of Contemporary Set Theory, page 12, exercise 5: 
    Union of a family of unions **)
 goal thy "(UN x:C. A(x) Un B(x)) = Union(A``C)  Un  Union(B``C)";
@@ -573,6 +577,10 @@
 qed "Diff_cancel";
 Addsimps[Diff_cancel];
 
+goal thy "!!A B. A Int B = {} ==> A-B = A";
+by (blast_tac (claset() addEs [equalityE]) 1);
+qed "Diff_triv";
+
 goal thy "{}-A = {}";
 by (Blast_tac 1);
 qed "empty_Diff";