src/HOL/Tools/inductive.ML
changeset 56245 84fc7dfa3cd4
parent 56052 4873054cd1fc
child 56249 0fda98dd2c93
--- a/src/HOL/Tools/inductive.ML	Fri Mar 21 15:12:03 2014 +0100
+++ b/src/HOL/Tools/inductive.ML	Fri Mar 21 20:33:56 2014 +0100
@@ -258,7 +258,7 @@
       handle THM _ => thm RS @{thm le_boolD}
   in
     (case concl_of thm of
-      Const ("==", _) $ _ $ _ => eq_to_mono (thm RS meta_eq_to_obj_eq)
+      Const (@{const_name Pure.eq}, _) $ _ $ _ => eq_to_mono (thm RS meta_eq_to_obj_eq)
     | _ $ (Const (@{const_name HOL.eq}, _) $ _ $ _) => eq_to_mono thm
     | _ $ (Const (@{const_name Orderings.less_eq}, _) $ _ $ _) =>
       dest_less_concl (Seq.hd (REPEAT (FIRSTGOAL