replaced UN_constant, INT_constant by unconditional versions that rewrite
authorpaulson
Tue, 29 Feb 2000 10:41:08 +0100
changeset 8313 c7a87e79e9b1
parent 8312 b470bc28b59d
child 8314 463f63a9a7f2
replaced UN_constant, INT_constant by unconditional versions that rewrite to if-then-else expressions
src/HOL/equalities.ML
--- a/src/HOL/equalities.ML	Mon Feb 28 13:39:45 2000 +0100
+++ b/src/HOL/equalities.ML	Tue Feb 29 10:41:08 2000 +0100
@@ -558,13 +558,13 @@
 qed "Inter_image_eq";
 Addsimps [Inter_image_eq];
 
-Goal "u: A ==> (UN y:A. c) = c";
-by (Blast_tac 1);
+Goal "(UN y:A. c) = (if A={} then {} else c)";
+by Auto_tac;
 qed "UN_constant";
 Addsimps[UN_constant];
 
-Goal "u: A ==> (INT y:A. c) = c";
-by (Blast_tac 1);
+Goal "(INT y:A. c) = (if A={} then UNIV else c)";
+by Auto_tac;
 qed "INT_constant";
 Addsimps[INT_constant];