X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Flibrary%2FlibrarySync.mli;h=e9f2bd0369ee45b9df98a984985f64184f1a4291;hb=d8f4d935054a6f9fff6de0c171dc4a181389219e;hp=d063b3282734b354c6b822467329e7a558149f14;hpb=55b82bd235d82ff7f0a40d980effe1efde1f5073;p=helm.git diff --git a/helm/software/components/library/librarySync.mli b/helm/software/components/library/librarySync.mli index d063b3282..e9f2bd036 100644 --- a/helm/software/components/library/librarySync.mli +++ b/helm/software/components/library/librarySync.mli @@ -25,12 +25,16 @@ exception AlreadyDefined of UriManager.uri -val merge_coercions: Cic.term -> Cic.term +(* 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 (* 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 +46,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 *)