]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/tactics/closeCoercionGraph.ml
...
[helm.git] / helm / software / components / tactics / closeCoercionGraph.ml
index 07308b4077fddd603a1f3088e9240c6b2ca2eeb7..64df14a4243b3f67ef66daa81a26a369ad9a96bb 100644 (file)
@@ -199,7 +199,7 @@ let generate_composite' (c1,sat1,arity1) (c2,sat2,arity2) context metasenv univ=
     let l_c2 = skip_appl (purge_lambdas term) in
     let l_c2_b,l_c2_a =
      try
-      HExtlib.split_nth "CCG 1" (c2_pis - sat2 - 1) l_c2
+      HExtlib.split_nth (c2_pis - sat2 - 1) l_c2
      with
       Failure _ -> assert false in
     let l_c1,l_c2_a =
@@ -476,7 +476,7 @@ let number_if_already_defined buri name l =
  *)
 let close_coercion_graph src tgt uri saturations baseuri =
   (* check if the coercion already exists *)
-  let coercions = CoercDb.to_list () in
+  let coercions = CoercDb.to_list (CoercDb.dump ()) in
   let todo_list = get_closure_coercions src tgt (uri,saturations,0) coercions in
   debug_print (lazy("composed " ^ string_of_int (List.length todo_list)));
   let todo_list = filter_duplicates todo_list coercions in