renamed "()" to Unity, made local;
authorwenzelm
Thu, 27 Sep 2001 22:22:58 +0200
changeset 11602 bf6700f4c010
parent 11601 9273cef990f5
child 11603 c3724decadef
renamed "()" to Unity, made local;
src/HOL/Product_Type.thy
--- a/src/HOL/Product_Type.thy	Thu Sep 27 22:22:08 2001 +0200
+++ b/src/HOL/Product_Type.thy	Thu Sep 27 22:22:58 2001 +0200
@@ -96,21 +96,15 @@
 
 (** unit **)
 
-global
-
 typedef unit = "{True}"
 proof
   show "True : ?unit"
     by blast
 qed
 
-consts
-  "()"          :: unit                           ("'(')")
-
-local
-
-defs
-  Unity_def:    "() == Abs_unit True"
+constdefs
+  Unity :: unit    ("'(')")
+  "() == Abs_unit True"