src/HOL/Tools/Quickcheck/find_unused_assms.ML
changeset 60638 16d80e5ef2dc
parent 59936 b8ffc3dc9e24
child 60825 bacfb7c45d81
--- a/src/HOL/Tools/Quickcheck/find_unused_assms.ML	Thu Jul 02 16:14:20 2015 +0200
+++ b/src/HOL/Tools/Quickcheck/find_unused_assms.ML	Fri Jul 03 14:32:55 2015 +0200
@@ -13,8 +13,9 @@
 structure Find_Unused_Assms : FIND_UNUSED_ASSMS =
 struct
 
-fun thms_of thy thy_name = Global_Theory.all_thms_of thy false
-  |> filter (fn (_, th) => Context.theory_name (Thm.theory_of_thm th) = thy_name)
+fun thms_of thy thy_name =
+  Global_Theory.all_thms_of thy false
+  |> filter (fn (_, th) => Thm.theory_name_of_thm th = thy_name)
 
 fun do_while P f s list =
   if P s then