X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Flibrary%2FlibrarySync.mli;h=96e9231009b58cb4b7df425d6eee90db73f073fa;hb=3990759a81db3ce45bf4ec56e1985e532151f6e0;hp=b29a0aa0342b33442b57272f144556029cc24d46;hpb=ee3f8d6fa92b051394a2ff7c71c03ac33a05182b;p=helm.git diff --git a/helm/software/components/library/librarySync.mli b/helm/software/components/library/librarySync.mli index b29a0aa03..96e923100 100644 --- a/helm/software/components/library/librarySync.mli +++ b/helm/software/components/library/librarySync.mli @@ -26,7 +26,7 @@ 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.) *) @@ -47,8 +47,9 @@ val remove_obj: UriManager.uri -> unit (* The list of added objects is returned. *) val add_coercion: add_composites:bool -> - RefinementTool.kit -> UriManager.uri -> - UriManager.uri list + RefinementTool.kit -> UriManager.uri -> int (* arity *) -> + string (* baseuri *) -> + (UriManager.uri * int) list (* URI and arity *) (* inverse of add_coercion, removes both the eventually created composite *) (* coercions and the information that [uri] and the composites are coercion *)