added comment
authorblanchet
Wed, 21 May 2014 14:09:43 +0200
changeset 57039 1ddd1f75fb40
parent 57038 2114f3224b2c
child 57040 fc96f394c7e5
added comment
src/HOL/Tools/Sledgehammer/sledgehammer_mash.ML
--- a/src/HOL/Tools/Sledgehammer/sledgehammer_mash.ML	Wed May 21 14:09:42 2014 +0200
+++ b/src/HOL/Tools/Sledgehammer/sledgehammer_mash.ML	Wed May 21 14:09:43 2014 +0200
@@ -806,6 +806,8 @@
 fun crude_thm_ord p =
   (case crude_theory_ord (pairself theory_of_thm p) of
     EQUAL =>
+    (* The hack below is necessary because of odd dependencies that are not reflected in the theory
+       comparison. *)
     let val q = pairself nickname_of_thm p in
       (* Hack to put "xxx_def" before "xxxI" and "xxxE" *)
       (case bool_ord (pairself (String.isSuffix "_def") (swap q)) of