Declares overloading for set-theoretic constants
authorpaulson
Thu, 03 Apr 1997 10:29:57 +0200
changeset 2881 62ecde1015ae
parent 2880 a0fde30aa126
child 2882 2563063772d9
Declares overloading for set-theoretic constants
src/HOL/Set.ML
--- a/src/HOL/Set.ML	Thu Apr 03 09:46:42 1997 +0200
+++ b/src/HOL/Set.ML	Thu Apr 03 10:29:57 1997 +0200
@@ -116,6 +116,8 @@
 by (REPEAT (ares_tac (prems @ [ballI]) 1));
 qed "subsetI";
 
+Blast.declConsts (["op <="], [subsetI]);	(*overloading of <=*)
+
 (*Rule in Modus Ponens style*)
 val major::prems = goalw Set.thy [subset_def] "[| A <= B;  c:A |] ==> c:B";
 by (rtac (major RS bspec) 1);
@@ -165,6 +167,7 @@
 qed "subset_antisym";
 val equalityI = subset_antisym;
 
+Blast.declConsts (["op ="], [equalityI]);	(*overloading of equality*)
 AddSIs [equalityI];
 
 (* Equality rules from ZF set theory -- are they appropriate here? *)