X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_refiner%2FnCicCoercion.mli;h=ca65aa953b9edcdf2d6dd28782107d06e3d0cd66;hb=0264ee034e3f485baf7070ad9b43cf69db94131b;hp=1a31172d203e33f131ec9896055b0fa6c4986038;hpb=8bc5bc0e8375a85736f6a5df317d129d5efa8de4;p=helm.git diff --git a/helm/software/components/ng_refiner/nCicCoercion.mli b/helm/software/components/ng_refiner/nCicCoercion.mli index 1a31172d2..ca65aa953 100644 --- a/helm/software/components/ng_refiner/nCicCoercion.mli +++ b/helm/software/components/ng_refiner/nCicCoercion.mli @@ -17,6 +17,7 @@ class status : object ('self) method coerc_db: db method set_coerc_db: db -> 'self + method set_coercion_status: -> 'self end val empty_db: db @@ -39,3 +40,8 @@ val look_for_coercion: (* enriched metasenv, new term, its type, metavriable to * be unified with the old term *) (NCic.metasenv * NCic.term * NCic.term * NCic.term) list + +(* returns (coercion,arity,arg) *) +val match_coercion: + #status -> metasenv:NCic.metasenv -> subst:NCic.substitution -> + context:NCic.context -> NCic.term -> (NCic.term * int * int) option