src/HOL/Library/FuncSet.thy
changeset 20362 bbff23c3e2ca
parent 19736 d8d0f8f51d69
child 20770 2c583720436e
equal deleted inserted replaced
20361:1aaf9ebe248d 20362:bbff23c3e2ca
   217 lemma card_bij:
   217 lemma card_bij:
   218      "[|f \<in> A\<rightarrow>B; inj_on f A;
   218      "[|f \<in> A\<rightarrow>B; inj_on f A;
   219         g \<in> B\<rightarrow>A; inj_on g B; finite A; finite B|] ==> card(A) = card(B)"
   219         g \<in> B\<rightarrow>A; inj_on g B; finite A; finite B|] ==> card(A) = card(B)"
   220   by (blast intro: card_inj order_antisym)
   220   by (blast intro: card_inj order_antisym)
   221 
   221 
       
   222 
       
   223 (*The following declarations generate polymorphic Skolem functions for 
       
   224   these theorems. Eventually they should become redundant, once this 
       
   225   is done automatically.*)
       
   226 
       
   227 declare FuncSet.Pi_I [skolem]
       
   228 declare FuncSet.Pi_mono [skolem]
       
   229 declare FuncSet.extensionalityI [skolem]
       
   230 declare FuncSet.funcsetI [skolem]
       
   231 declare FuncSet.restrictI [skolem]
       
   232 declare FuncSet.restrict_in_funcset [skolem]
       
   233 
   222 end
   234 end