X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fcomponents%2Fng_refiner%2FnCicCoercion.mli;h=0d96a74074943192b3acf2859afc00cd6edda71d;hb=e603c19e82c160362587cb0bc578287c87122b90;hp=73c88005c54e951385d127af692fcae23860bba8;hpb=dcdbb979433a61e2ef2842d96604098728824416;p=helm.git diff --git a/helm/software/components/ng_refiner/nCicCoercion.mli b/helm/software/components/ng_refiner/nCicCoercion.mli index 73c88005c..0d96a7407 100644 --- a/helm/software/components/ng_refiner/nCicCoercion.mli +++ b/helm/software/components/ng_refiner/nCicCoercion.mli @@ -13,19 +13,27 @@ type db +class status : + object ('self) + method coerc_db: db + method set_coerc_db: db -> 'self + method set_coercion_status: status -> 'self + end + +val empty_db: db + (* index (\x.c ?? x ??): A -> B index_coercion db c A B \arity_left(c ??x??) \position(x,??x??) *) val index_coercion: - db -> NCic.term -> NCic.term -> NCic.term -> int -> int -> db + #status as 'status -> + NCic.term -> NCic.term -> NCic.term -> int -> int -> 'status (* gets the old imperative coercion DB (list format) *) -val index_old_db: CoercDb.coerc_db -> db -> db - -val empty_db : db +val index_old_db: CoercDb.coerc_db -> (#status as 'status) -> 'status val look_for_coercion: - db -> + #status -> NCic.metasenv -> NCic.substitution -> NCic.context -> (* inferred type, expected type *) NCic.term -> NCic.term ->