replaced typedecl interpretation by ObjectLogic.typedecl (based on base_sort);
authorwenzelm
Wed, 28 Nov 2007 16:44:18 +0100
changeset 25494 b2484a7912ac
parent 25493 50d566776a26
child 25495 98f3596bec44
replaced typedecl interpretation by ObjectLogic.typedecl (based on base_sort);
src/HOL/HOL.thy
--- a/src/HOL/HOL.thy	Wed Nov 28 16:26:53 2007 +0100
+++ b/src/HOL/HOL.thy	Wed Nov 28 16:44:18 2007 +0100
@@ -37,11 +37,7 @@
 
 classes type
 defaultsort type
-
-setup {*
-  Typedecl.interpretation (fn a => fn thy => AxClass.axiomatize_arity
-    (a, replicate (Sign.arity_number thy a) @{sort type}, @{sort type}) thy)
-*}
+setup {* ObjectLogic.add_base_sort @{sort type} *}
 
 arities
   "fun" :: (type, type) type