src/HOL/String.thy
changeset 81113 6fefd6c602fa
parent 80932 261cd8722677
child 81118 9e2eb05cc2b7
equal deleted inserted replaced
81112:d9e3161080f9 81113:6fefd6c602fa
   178 lemma card_UNIV_char:
   178 lemma card_UNIV_char:
   179   "card (UNIV :: char set) = 256"
   179   "card (UNIV :: char set) = 256"
   180   by (auto simp add: UNIV_char_of_nat card_image)
   180   by (auto simp add: UNIV_char_of_nat card_image)
   181 
   181 
   182 context
   182 context
   183   includes lifting_syntax integer.lifting natural.lifting
   183   includes lifting_syntax and integer.lifting and natural.lifting
   184 begin
   184 begin
   185 
   185 
   186 lemma [transfer_rule]:
   186 lemma [transfer_rule]:
   187   \<open>(pcr_integer ===> (=)) char_of char_of\<close>
   187   \<open>(pcr_integer ===> (=)) char_of char_of\<close>
   188   by (unfold char_of_def) transfer_prover
   188   by (unfold char_of_def) transfer_prover