src/Pure/theory.ML
changeset 22689 b800228434a8
parent 22684 a614c5f506ea
child 22697 92f8e9a8df78
--- a/src/Pure/theory.ML	Sat Apr 14 17:38:30 2007 +0200
+++ b/src/Pure/theory.ML	Sat Apr 14 23:56:36 2007 +0200
@@ -177,13 +177,8 @@
   end;
 
 fun read_axm thy (name, str) =
-  let
-    val ts = Syntax.read (ProofContext.init thy) (Sign.is_logtype thy) (Sign.syn_of thy) propT str;
-    val (t, _) =
-      Sign.infer_types (Sign.pp thy) thy (Sign.consts_of thy)
-        (K NONE) (K NONE) Name.context true (ts, propT);
-  in cert_axm thy (name, t) end
-  handle ERROR msg => err_in_axm msg name;
+  cert_axm thy (name, Sign.read_prop thy str)
+    handle ERROR msg => err_in_axm msg name;
 
 fun inferT_axm thy (name, pre_tm) =
   let