X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Flibrary%2FcoercDb.mli;h=e6d7e46b30042778b6b3889970c56dac329741bd;hb=7a39300df548240641269857e40d5476ff88db16;hp=92d4b7f2484e231e1547a62899fe094ece785c79;hpb=6fb856f244035ba071d60a158fa800104f50072a;p=helm.git diff --git a/helm/software/components/library/coercDb.mli b/helm/software/components/library/coercDb.mli index 92d4b7f24..e6d7e46b3 100644 --- a/helm/software/components/library/coercDb.mli +++ b/helm/software/components/library/coercDb.mli @@ -36,10 +36,12 @@ type coerc_carr = | Uri of UriManager.uri (* const, mutind, mutconstr *) | Sort of Cic.sort (* Prop, Set, Type *) | Term of Cic.term (* nothing supported *) + | Fun of int +;; exception EqCarrNotImplemented of string Lazy.t exception EqCarrOnNonMetaClosed -val eq_carr: coerc_carr -> coerc_carr -> bool +val eq_carr: ?exact:bool -> coerc_carr -> coerc_carr -> bool val coerc_carr_of_term: Cic.term -> coerc_carr val name_of_carr: coerc_carr -> string val uri_of_carr: coerc_carr -> UriManager.uri option @@ -58,6 +60,8 @@ val find_coercion: (coerc_carr * coerc_carr -> bool) -> UriManager.uri list val is_a_coercion: UriManager.uri -> bool +val is_a_coercion': Cic.term -> bool +val is_a_coercion_to_funclass: Cic.term -> int option val get_carr: UriManager.uri -> coerc_carr * coerc_carr val term_of_carr: coerc_carr -> Cic.term