src/Pure/thm.ML
changeset 26665 2e363edf7578
parent 26640 92e6d3ec91bd
child 26832 46b90bbc370d
--- a/src/Pure/thm.ML	Tue Apr 15 18:49:18 2008 +0200
+++ b/src/Pure/thm.ML	Tue Apr 15 18:49:19 2008 +0200
@@ -420,8 +420,8 @@
   let
     val Thm {thy_ref, der, tags, maxidx, shyps, hyps, tpairs, prop} = thm;
     val thy = Theory.deref thy_ref;
-    val _ = subthy (thy, thy') orelse raise THM ("transfer: not a super theory", 0, [thm]);
-    val is_eq = eq_thy (thy, thy');
+    val _ = Theory.subthy (thy, thy') orelse raise THM ("transfer: not a super theory", 0, [thm]);
+    val is_eq = Theory.eq_thy (thy, thy');
     val _ = Theory.check_thy thy;
   in
     if is_eq then thm