src/HOL/Tools/inductive_package.ML
changeset 20872 528054ca23e3
parent 20548 8ef25fe585a8
child 20901 437ca370dbd7
--- a/src/HOL/Tools/inductive_package.ML	Fri Oct 06 15:39:29 2006 +0200
+++ b/src/HOL/Tools/inductive_package.ML	Sat Oct 07 01:30:58 2006 +0200
@@ -138,7 +138,7 @@
         | _ => [standard (thm' RS (thm' RS eq_to_mono2))]);
     val concl = concl_of thm
   in
-    if Logic.is_equals concl then
+    if can Logic.dest_equals concl then
       eq2mono (thm RS meta_eq_to_obj_eq)
     else if can (HOLogic.dest_eq o HOLogic.dest_Trueprop) concl then
       eq2mono thm