src/Pure/Proof/proofchecker.ML
changeset 39557 fe5722fce758
parent 37310 96e2b9a6f074
child 43326 47cf4bc789aa
--- a/src/Pure/Proof/proofchecker.ML	Mon Sep 20 15:29:53 2010 +0200
+++ b/src/Pure/Proof/proofchecker.ML	Mon Sep 20 16:05:25 2010 +0200
@@ -16,7 +16,7 @@
 (***** construct a theorem out of a proof term *****)
 
 fun lookup_thm thy =
-  let val tab = fold_rev Symtab.update (PureThy.all_thms_of thy) Symtab.empty
+  let val tab = fold_rev Symtab.update (Global_Theory.all_thms_of thy) Symtab.empty
   in
     (fn s => case Symtab.lookup tab s of
        NONE => error ("Unknown theorem " ^ quote s)