X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCicTypeChecker.mli;h=3cd11c0f8fa78744e1fc5eee50c4c6c1bdf081e5;hb=56d3455abc6bcffd9d0e2af3ed370bf0751057a0;hp=3308633d6737c909b3329b5043fa1a65614a7912;hpb=5c7b30c4b1033352578c6e38e4fcff4eb0930c44;p=helm.git diff --git a/helm/software/components/ng_kernel/nCicTypeChecker.mli b/helm/software/components/ng_kernel/nCicTypeChecker.mli index 3308633d6..3cd11c0f8 100644 --- a/helm/software/components/ng_kernel/nCicTypeChecker.mli +++ b/helm/software/components/ng_kernel/nCicTypeChecker.mli @@ -25,16 +25,15 @@ val set_logger: val set_trust : (NCic.obj -> bool) -> unit -(* typechecks the object, raising an exception if illtyped *) -val typecheck_obj : NCic.obj -> unit - val typeof: subst:NCic.substitution -> metasenv:NCic.metasenv -> NCic.context -> NCic.term -> NCic.term +val height_of_obj_kind: NUri.uri -> subst:NCic.substitution -> NCic.obj_kind -> int + val get_relevance : - subst:NCic.substitution -> + metasenv:NCic.metasenv -> subst:NCic.substitution -> NCic.context -> NCic.term -> NCic.term list -> bool list (* type_of_branch subst context leftno outtype @@ -53,3 +52,10 @@ val check_allowed_sort_elimination : NReference.reference -> NCic.context -> NCic.term -> NCic.term -> NCic.term -> unit +(* Functions to be used by the refiner *) +val debruijn: + NUri.uri -> int -> subst:NCic.substitution -> NCic.context -> NCic.term -> + NCic.term +val are_all_occurrences_positive: + subst:NCic.substitution -> + NCic.context -> NUri.uri -> int -> int -> int -> int -> NCic.term -> bool