]> matita.cs.unibo.it Git - helm.git/blobdiff - components/library/librarySync.mli
added support for "polymorphic" coercions
[helm.git] / components / library / librarySync.mli
index d063b3282734b354c6b822467329e7a558149f14..812685c5361816b701eb3fabae9b816ab3453eee 100644 (file)
 
 exception AlreadyDefined of UriManager.uri
 
-val merge_coercions: Cic.term -> Cic.term
-
 (* adds an object to the library together with all auxiliary lemmas on it *)
 (* (e.g. elimination principles, projections, etc.)                       *)
 (* it returns the list of the uris of the auxiliary lemmas generated      *)
-val add_obj: UriManager.uri -> Cic.obj -> basedir:string -> UriManager.uri list
+val add_obj: 
+  RefinementTool.kit -> 
+  UriManager.uri -> Cic.obj -> basedir:string -> 
+    UriManager.uri list
 
 (* inverse of add_obj;                                                   *)
 (* Warning: it does not remove the dependencies on the object and on its *)
@@ -42,7 +43,8 @@ val remove_obj: UriManager.uri -> unit
 (* is true are added to the library.                                     *)
 (* The list of added objects is returned.                                *)
 val add_coercion: 
-  basedir:string -> add_composites:bool -> UriManager.uri -> 
+  basedir:string -> add_composites:bool -> 
+  RefinementTool.kit -> UriManager.uri -> 
     UriManager.uri list
 
 (* inverse of add_coercion, removes both the eventually created composite   *)