types -> type_synonym
authorhuffman
Sun, 19 Dec 2010 18:11:20 -0800
changeset 41295 5b5388d4ccc9
parent 41294 53df0095b5e4
child 41296 6aaf80ea9715
types -> type_synonym
src/HOL/HOLCF/One.thy
src/HOL/HOLCF/Tr.thy
src/HOL/HOLCF/Universal.thy
--- a/src/HOL/HOLCF/One.thy	Sun Dec 19 18:10:54 2010 -0800
+++ b/src/HOL/HOLCF/One.thy	Sun Dec 19 18:11:20 2010 -0800
@@ -8,14 +8,14 @@
 imports Lift
 begin
 
-types one = "unit lift"
-translations
-  (type) "one" <= (type) "unit lift" 
+type_synonym
+  one = "unit lift"
 
-definition
-  ONE :: "one"
-where
-  "ONE == Def ()"
+translations
+  (type) "one" <= (type) "unit lift"
+
+definition ONE :: "one"
+  where "ONE == Def ()"
 
 text {* Exhaustion and Elimination for type @{typ one} *}
 
--- a/src/HOL/HOLCF/Tr.thy	Sun Dec 19 18:10:54 2010 -0800
+++ b/src/HOL/HOLCF/Tr.thy	Sun Dec 19 18:11:20 2010 -0800
@@ -10,7 +10,7 @@
 
 subsection {* Type definition and constructors *}
 
-types
+type_synonym
   tr = "bool lift"
 
 translations
--- a/src/HOL/HOLCF/Universal.thy	Sun Dec 19 18:10:54 2010 -0800
+++ b/src/HOL/HOLCF/Universal.thy	Sun Dec 19 18:11:20 2010 -0800
@@ -12,7 +12,7 @@
 
 subsubsection {* Basis datatype *}
 
-types ubasis = nat
+type_synonym ubasis = nat
 
 definition
   node :: "nat \<Rightarrow> ubasis \<Rightarrow> ubasis set \<Rightarrow> ubasis"