equal
deleted
inserted
replaced
329 map_types (map_type_tvar (fn ((a, i), S) => |
329 map_types (map_type_tvar (fn ((a, i), S) => |
330 TFree (if i = 0 then a else a ^ "_" ^ string_of_int i, S))) |
330 TFree (if i = 0 then a else a ^ "_" ^ string_of_int i, S))) |
331 |
331 |
332 fun thms_of all thy = |
332 fun thms_of all thy = |
333 filter |
333 filter |
334 (fn th => (all orelse Thm.theory_name th = Context.theory_name thy) |
334 (fn th => (all orelse Thm.theory_base_name th = Context.theory_base_name thy) |
335 (* andalso is_executable_thm thy th *)) |
335 (* andalso is_executable_thm thy th *)) |
336 (map snd (filter_out is_forbidden_theorem (Global_Theory.all_thms_of thy false))) |
336 (map snd (filter_out is_forbidden_theorem (Global_Theory.all_thms_of thy false))) |
337 |
337 |
338 fun elapsed_time description e = |
338 fun elapsed_time description e = |
339 let val ({elapsed, ...}, result) = Timing.timing e () |
339 let val ({elapsed, ...}, result) = Timing.timing e () |