equal
deleted
inserted
replaced
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) |