src/HOL/TPTP/mash_export.ML
changeset 59058 a78612c67ec0
parent 58922 1f500b18c4c6
child 59582 0fbed69ff081
--- a/src/HOL/TPTP/mash_export.ML	Wed Nov 26 16:55:43 2014 +0100
+++ b/src/HOL/TPTP/mash_export.ML	Wed Nov 26 20:05:34 2014 +0100
@@ -65,7 +65,7 @@
 fun all_facts ctxt =
   let val css = Sledgehammer_Fact.clasimpset_rule_table_of ctxt in
     Sledgehammer_Fact.all_facts ctxt true false Keyword.empty_keywords [] [] css
-    |> sort (crude_thm_ord o pairself snd)
+    |> sort (crude_thm_ord o apply2 snd)
   end
 
 fun filter_accessible_from th = filter (fn (_, th') => thm_less (th', th))