src/HOL/Tools/Nitpick/nitpick_model.ML
changeset 35845 e5980f0ad025
parent 35807 e4d1b5cbd429
child 36384 76d5fd5a45fb
equal deleted inserted replaced
35844:65258d2c3214 35845:e5980f0ad025
   324   | mk_tuple _ (t :: _) = t
   324   | mk_tuple _ (t :: _) = t
   325   | mk_tuple T [] = raise TYPE ("Nitpick_Model.mk_tuple", [T], [])
   325   | mk_tuple T [] = raise TYPE ("Nitpick_Model.mk_tuple", [T], [])
   326 
   326 
   327 (* theory -> typ * typ -> bool *)
   327 (* theory -> typ * typ -> bool *)
   328 fun varified_type_match thy (candid_T, pat_T) =
   328 fun varified_type_match thy (candid_T, pat_T) =
   329   strict_type_match thy (candid_T, Logic.varifyT pat_T)
   329   strict_type_match thy (candid_T, Logic.varifyT_global pat_T)
   330 
   330 
   331 (* atom_pool -> (string * string) * (string * string) -> scope -> nut list
   331 (* atom_pool -> (string * string) * (string * string) -> scope -> nut list
   332    -> nut list -> nut list -> nut NameTable.table -> KK.raw_bound list -> typ
   332    -> nut list -> nut list -> nut NameTable.table -> KK.raw_bound list -> typ
   333    -> term list *)
   333    -> term list *)
   334 fun all_values_of_type pool wacky_names (scope as {card_assigns, ...} : scope)
   334 fun all_values_of_type pool wacky_names (scope as {card_assigns, ...} : scope)