X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Flibrary%2FlibrarySync.mli;h=d8e432e75b9035888478ed3d1277dbe730344dcc;hb=6e49a280ab1710e4bd08b8f7c6d44e8dfd90f06a;hp=e9f2bd0369ee45b9df98a984985f64184f1a4291;hpb=d8f4d935054a6f9fff6de0c171dc4a181389219e;p=helm.git diff --git a/helm/software/components/library/librarySync.mli b/helm/software/components/library/librarySync.mli index e9f2bd036..d8e432e75 100644 --- a/helm/software/components/library/librarySync.mli +++ b/helm/software/components/library/librarySync.mli @@ -25,15 +25,17 @@ exception AlreadyDefined of UriManager.uri +val set_object_declaration_hook : (UriManager.uri -> Cic.obj -> unit) -> unit + (* 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,9 +48,10 @@ 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 -> - UriManager.uri list + add_composites:bool -> + RefinementTool.kit -> UriManager.uri -> int (* arity *) -> + int (* saturations *) -> string (* baseuri *) -> + (UriManager.uri * int * int) list (* URI, arity, saturations *) (* inverse of add_coercion, removes both the eventually created composite *) (* coercions and the information that [uri] and the composites are coercion *)