src/HOL/Import/shuffler.ML
changeset 38549 d0385f2764d8
parent 37778 87b5dfe00387
child 38558 32ad17fe2b9c
--- a/src/HOL/Import/shuffler.ML	Thu Aug 19 10:27:12 2010 +0200
+++ b/src/HOL/Import/shuffler.ML	Thu Aug 19 11:02:14 2010 +0200
@@ -60,14 +60,14 @@
 
 fun mk_meta_eq th =
     (case concl_of th of
-         Const("Trueprop",_) $ (Const("op =",_) $ _ $ _) => th RS eq_reflection
+         Const(@{const_name "Trueprop"},_) $ (Const(@{const_name "op ="},_) $ _ $ _) => th RS eq_reflection
        | Const("==",_) $ _ $ _ => th
        | _ => raise THM("Not an equality",0,[th]))
     handle _ => raise THM("Couldn't make meta equality",0,[th])  (* FIXME avoid handle _ *)
 
 fun mk_obj_eq th =
     (case concl_of th of
-         Const("Trueprop",_) $ (Const("op =",_) $ _ $ _) => th
+         Const(@{const_name "Trueprop"},_) $ (Const(@{const_name "op ="},_) $ _ $ _) => th
        | Const("==",_) $ _ $ _ => th RS meta_eq_to_obj_eq
        | _ => raise THM("Not an equality",0,[th]))
     handle _ => raise THM("Couldn't make object equality",0,[th])  (* FIXME avoid handle _ *)