X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Flibrary%2FlibrarySync.mli;h=a836dfd5788df205ac27ffd35ef539bd80dc05f0;hb=6d5f1a19aaa18813dca94b4e2e7e5ee3b97b4e4b;hp=e9f2bd0369ee45b9df98a984985f64184f1a4291;hpb=6f0fca547fdd3f4b57cee75d360262dc910f8854;p=helm.git diff --git a/components/library/librarySync.mli b/components/library/librarySync.mli index e9f2bd036..a836dfd57 100644 --- a/components/library/librarySync.mli +++ b/components/library/librarySync.mli @@ -26,14 +26,14 @@ exception AlreadyDefined of UriManager.uri (* this is a pointer to the function which builds the inversion principle *) -val build_inversion_principle: (UriManager.uri-> Cic.obj -> (UriManager.uri * Cic.obj) option) ref +val build_inversion_principle: (UriManager.uri-> Cic.obj -> (UriManager.uri * Cic.obj) list) ref (* 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: RefinementTool.kit -> - UriManager.uri -> Cic.obj -> basedir:string -> + UriManager.uri -> Cic.obj -> UriManager.uri list (* inverse of add_obj; *) @@ -46,8 +46,9 @@ 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 -> - RefinementTool.kit -> UriManager.uri -> + add_composites:bool -> + RefinementTool.kit -> UriManager.uri -> int (* arity *) -> + string (* baseuri *) -> UriManager.uri list (* inverse of add_coercion, removes both the eventually created composite *)