Added theorem distinct_lemma (needed for datatypes).
authorberghofe
Fri, 24 Jul 1998 13:35:47 +0200
changeset 5189 362e4d6213c5
parent 5188 633ec5f6c155
child 5190 4ae031622592
Added theorem distinct_lemma (needed for datatypes).
src/HOL/equalities.ML
--- a/src/HOL/equalities.ML	Fri Jul 24 13:34:59 1998 +0200
+++ b/src/HOL/equalities.ML	Fri Jul 24 13:35:47 1998 +0200
@@ -727,6 +727,11 @@
 by (ALLGOALS Blast_tac);
 qed "Pow_insert";
 
+(** for datatypes **)
+Goal "f x ~= f y ==> x ~= y";
+by (Fast_tac 1);
+qed "distinct_lemma";
+
 
 (** Miniscoping: pushing in big Unions and Intersections **)
 local