adapted to new PureThy.add_axioms_i;
authorwenzelm
Wed, 29 Apr 1998 11:36:53 +0200
changeset 4862 613ce4cc303f
parent 4861 7ed04b370b71
child 4863 d29776582f8c
adapted to new PureThy.add_axioms_i; Theory.parent_path;
src/HOLCF/domain/axioms.ML
--- a/src/HOLCF/domain/axioms.ML	Wed Apr 29 11:36:08 1998 +0200
+++ b/src/HOLCF/domain/axioms.ML	Wed Apr 29 11:36:53 1998 +0200
@@ -86,6 +86,7 @@
     [take_def, finite_def])
 end; (* let *)
 
+val add_axioms_i = PureThy.add_axioms_i o map Attribute.none;
 
 in (* local *)
 
@@ -126,14 +127,14 @@
     in foldr' mk_conj (mapn one_comp 0 eqs)end ));
   fun add_one (thy,(dnam,axs,dfs)) = thy 
 	|> Theory.add_path dnam
-	|> PureThy.add_store_axioms_i (infer_types thy' dfs)(*add_store_defs_i*)
-	|> PureThy.add_store_axioms_i (infer_types thy' axs)
-	|> Theory.add_path "..";
+	|> add_axioms_i (infer_types thy' dfs)(*add_defs_i*)
+	|> add_axioms_i (infer_types thy' axs)
+	|> Theory.parent_path;
   val thy = foldl add_one (thy', mapn (calc_axioms comp_dname eqs) 0 eqs);
 in thy |> Theory.add_path comp_dnam  
-       |> PureThy.add_store_axioms_i (infer_types thy' 
+       |> add_axioms_i (infer_types thy' 
 		(bisim_def::(if length eqs>1 then [copy_def] else [])))
-       |> Theory.add_path ".."
+       |> Theory.parent_path
 end;
 
 end; (* local *)