src/Pure/thm.ML
changeset 59884 bbf49d7dfd6f
parent 59787 6e2a20486897
child 59917 9830c944670f
--- a/src/Pure/thm.ML	Tue Mar 31 20:07:37 2015 +0200
+++ b/src/Pure/thm.ML	Tue Mar 31 20:18:10 2015 +0200
@@ -590,8 +590,8 @@
 fun axiom theory name =
   let
     fun get_ax thy =
-      Name_Space.lookup_key (Theory.axiom_table thy) name
-      |> Option.map (fn (_, prop) =>
+      Name_Space.lookup (Theory.axiom_table thy) name
+      |> Option.map (fn prop =>
            let
              val der = deriv_rule0 (Proofterm.axm_proof name prop);
              val maxidx = maxidx_of_term prop;