X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_refiner%2FnCicUnifHint.mli;h=862c9808efc0193b00d78257cfd1f48f5ecbd2b7;hb=d6ba7f4b8fbd98f2f1c848857022ef5fba80db53;hp=21820ace4f98ca6a70f81bdf9227de790aa25633;hpb=c7a74f0ef29118fc97c1a6283f4249a0ed4b0ba1;p=helm.git diff --git a/helm/software/components/ng_refiner/nCicUnifHint.mli b/helm/software/components/ng_refiner/nCicUnifHint.mli index 21820ace4..862c9808e 100644 --- a/helm/software/components/ng_refiner/nCicUnifHint.mli +++ b/helm/software/components/ng_refiner/nCicUnifHint.mli @@ -13,16 +13,32 @@ type db -val index_hint: - db -> NCic.context -> NCic.term -> NCic.term -> int -> db +exception HintNotValid + +class type g_status = + object + method uhint_db: db + end -val add_user_provided_hint : db -> NCic.term -> int -> db +class status : + object ('self) + inherit g_status + method set_uhint_db: db -> 'self + method set_unifhint_status: #g_status -> 'self + end -val empty_db : db +val index_hint: + #status as 'status -> NCic.context -> NCic.term -> NCic.term -> int -> 'status + +val add_user_provided_hint : + #status as 'status -> NCic.term -> int -> 'status val look_for_hint: - db -> + #status -> NCic.metasenv -> NCic.substitution -> NCic.context -> NCic.term -> NCic.term -> (NCic.metasenv * (NCic.term * NCic.term) * (NCic.term * NCic.term) list) list + +val eq_class_of: + #status -> NCic.term -> NCic.term list