--- a/src/HOL/Library/Finite_Cartesian_Product.thy Thu Mar 05 02:32:46 2009 +0100
+++ b/src/HOL/Library/Finite_Cartesian_Product.thy Thu Mar 05 08:24:28 2009 +0100
@@ -15,7 +15,7 @@
definition "dimindex (S:: 'a set) = (if finite (UNIV::'a set) then card (UNIV:: 'a set) else 1)"
syntax "_type_dimindex" :: "type => nat" ("(1DIM/(1'(_')))")
-translations "DIM(t)" => "CONST dimindex (UNIV :: t set)"
+translations "DIM(t)" => "CONST dimindex (CONST UNIV :: t set)"
lemma dimindex_nonzero: "dimindex S \<noteq> 0"
unfolding dimindex_def