--- a/src/HOL/Prod.ML Thu Apr 03 10:36:54 1997 +0200
+++ b/src/HOL/Prod.ML Thu Apr 03 19:29:53 1997 +0200
@@ -302,7 +302,7 @@
goalw Prod.thy [Unity_def]
"u = ()";
-by (stac (rewrite_rule [unit_def] Rep_unit RS CollectD RS sym) 1);
+by (stac (rewrite_rule [unit_def] Rep_unit RS singletonD RS sym) 1);
by (rtac (Rep_unit_inverse RS sym) 1);
qed "unit_eq";
--- a/src/HOL/Prod.thy Thu Apr 03 10:36:54 1997 +0200
+++ b/src/HOL/Prod.thy Thu Apr 03 19:29:53 1997 +0200
@@ -79,7 +79,7 @@
(** unit **)
-typedef unit = "{p. p = True}"
+typedef unit = "{True}"
consts
"()" :: unit ("'(')")