src/HOL/Set.ML
changeset 11223 fef9da0ee890
parent 11220 db536a42dfc5
child 11227 d9bda7cbdf56
--- a/src/HOL/Set.ML	Fri Mar 23 12:10:05 2001 +0100
+++ b/src/HOL/Set.ML	Mon Mar 26 12:51:14 2001 +0200
@@ -100,15 +100,28 @@
 
 Addsimps [ball_triv, bex_triv];
 
-Goalw [Bex_def] "(ALL x:A. x=a --> P x) = (a:A --> P a)";
+Goal "(EX x:A. x=a) = (a:A)";
 by(Blast_tac 1);
-qed "ball_one_point";
+qed "bex_triv_one_point1";
+
+Goal "(EX x:A. a=x) = (a:A)";
+by(Blast_tac 1);
+qed "bex_triv_one_point2";
 
 Goal "(EX x:A. x=a & P x) = (a:A & P a)";
 by(Blast_tac 1);
-qed "bex_one_point";
+qed "bex_one_point1";
+
+Goal "(ALL x:A. x=a --> P x) = (a:A --> P a)";
+by(Blast_tac 1);
+qed "ball_one_point1";
 
-Addsimps [ball_one_point,bex_one_point];
+Goal "(ALL x:A. a=x --> P x) = (a:A --> P a)";
+by(Blast_tac 1);
+qed "ball_one_point2";
+
+Addsimps [bex_triv_one_point1,bex_triv_one_point2,bex_one_point1,
+          ball_one_point1,ball_one_point2];
 
 let
 val ex_pattern = Thm.read_cterm (Theory.sign_of (the_context ()))