src/HOL/Library/Predicate_Compile_Alternative_Defs.thy
changeset 61180 e4716b792713
parent 61140 78ece168f5b5
child 61424 c3658c18b7bc
equal deleted inserted replaced
61179:16775cad1a5c 61180:e4716b792713
   222 by(simp_all add: List.member_def)
   222 by(simp_all add: List.member_def)
   223 
   223 
   224 code_pred List.member
   224 code_pred List.member
   225   by(auto simp add: List.member_def elim: list.set_cases)
   225   by(auto simp add: List.member_def elim: list.set_cases)
   226 
   226 
       
   227 code_identifier constant member_i_i
       
   228    \<rightharpoonup> (SML) "List.member_i_i"
       
   229   and (OCaml) "List.member_i_i"
       
   230   and (Haskell) "List.member_i_i"
       
   231   and (Scala) "List.member_i_i"
       
   232 
       
   233 code_identifier constant member_i_o
       
   234    \<rightharpoonup> (SML) "List.member_i_o"
       
   235   and (OCaml) "List.member_i_o"
       
   236   and (Haskell) "List.member_i_o"
       
   237   and (Scala) "List.member_i_o"
       
   238 
   227 section \<open>Setup for String.literal\<close>
   239 section \<open>Setup for String.literal\<close>
   228 
   240 
   229 setup \<open>Predicate_Compile_Data.ignore_consts [@{const_name "STR"}]\<close>
   241 setup \<open>Predicate_Compile_Data.ignore_consts [@{const_name "STR"}]\<close>
   230 
   242 
   231 section \<open>Simplification rules for optimisation\<close>
   243 section \<open>Simplification rules for optimisation\<close>