src/HOL/Tools/hologic.ML
changeset 38864 4abe644fcea5
parent 38857 97775f3e8722
child 39250 548a3e5521ab
--- a/src/HOL/Tools/hologic.ML	Sat Aug 28 20:24:40 2010 +0800
+++ b/src/HOL/Tools/hologic.ML	Sat Aug 28 16:14:32 2010 +0200
@@ -236,10 +236,10 @@
 fun dest_not (Const ("HOL.Not", _) $ t) = t
   | dest_not t = raise TERM ("dest_not", [t]);
 
-fun eq_const T = Const ("op =", T --> T --> boolT);
+fun eq_const T = Const ("HOL.eq", T --> T --> boolT);
 fun mk_eq (t, u) = eq_const (fastype_of t) $ t $ u;
 
-fun dest_eq (Const ("op =", _) $ lhs $ rhs) = (lhs, rhs)
+fun dest_eq (Const ("HOL.eq", _) $ lhs $ rhs) = (lhs, rhs)
   | dest_eq t = raise TERM ("dest_eq", [t])
 
 fun all_const T = Const ("HOL.All", [T --> boolT] ---> boolT);