src/HOLCF/domain/theorems.ML
changeset 4008 2444085532c6
parent 3323 194ae2e0c193
child 4030 ca44afcc259c
--- a/src/HOLCF/domain/theorems.ML	Mon Oct 27 10:46:36 1997 +0100
+++ b/src/HOLCF/domain/theorems.ML	Mon Oct 27 11:34:33 1997 +0100
@@ -62,7 +62,7 @@
 fun theorems thy (((dname,_),cons) : eq, eqs :eq list) =
 let
 
-val dummy = writeln ("Proving isomorphism properties of domain "^dname^"...");
+val dummy = writeln ("Proving isomorphism   properties of domain "^dname^"...");
 val pg = pg' thy;
 (*
 infixr 0 y;
@@ -328,15 +328,16 @@
 end; (* let *)
 
 
-fun comp_theorems thy (comp_dname, eqs: eq list, casess, con_rews, copy_rews) =
+fun comp_theorems thy (comp_dnam, eqs: eq list, casess, con_rews, copy_rews) =
 let
 
+val dnames = map (fst o fst) eqs;
+val conss  = map  snd        eqs;
+val comp_dname = Sign.full_name (sign_of thy) comp_dnam;
+
 val dummy = writeln("Proving induction properties of domain "^comp_dname^"...");
 val pg = pg' thy;
 
-val dnames = map (fst o fst) eqs;
-val conss  = map  snd        eqs;
-
 (* ----- getting the composite axiom and definitions ------------------------ *)
 
 local val ga = get_axiom thy in