src/HOL/Tools/Predicate_Compile/predicate_compile.ML
changeset 37003 a393a588b82e
parent 36960 01594f816e3a
child 38664 7215ae18f44b
--- a/src/HOL/Tools/Predicate_Compile/predicate_compile.ML	Wed May 19 18:24:04 2010 +0200
+++ b/src/HOL/Tools/Predicate_Compile/predicate_compile.ML	Wed May 19 18:24:05 2010 +0200
@@ -74,7 +74,8 @@
   end
 
 fun preprocess_strong_conn_constnames options gr ts thy =
-  if forall (fn (Const (c, _)) => Predicate_Compile_Core.is_registered thy c) ts then
+  if forall (fn (Const (c, _)) =>
+      Predicate_Compile_Core.is_registered (ProofContext.init_global thy) c) ts then
     thy
   else
     let