X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCicTypeChecker.mli;h=24701683e39e36c7421f433824b7badb3374da0d;hb=4446f96e1829f1a82fc71cb49d8ddc392e73b155;hp=b13edc5408e5518e615ba8ddd80d9e15bf542c38;hpb=32522cf70b6bc38f0c3cc5d25b9bd1a93f05862f;p=helm.git diff --git a/helm/software/components/ng_kernel/nCicTypeChecker.mli b/helm/software/components/ng_kernel/nCicTypeChecker.mli index b13edc540..24701683e 100644 --- a/helm/software/components/ng_kernel/nCicTypeChecker.mli +++ b/helm/software/components/ng_kernel/nCicTypeChecker.mli @@ -9,6 +9,8 @@ \ / This software is distributed as is, NO WARRANTY. V_______________________________________________________________ *) +(* $Id$ *) + (* These are the only exceptions that will be raised *) exception TypeCheckerFailure of string Lazy.t exception AssertFailure of string Lazy.t @@ -30,3 +32,26 @@ val typeof: subst:NCic.substitution -> metasenv:NCic.metasenv -> NCic.context -> NCic.term -> NCic.term + +val get_relevance : + metasenv:NCic.metasenv -> subst:NCic.substitution -> + NCic.context -> NCic.term -> NCic.term list -> bool list + +(* type_of_branch subst context leftno outtype + * (constr @ lefts) (ty_constr @ lefts) *) +val type_of_branch : + subst:NCic.substitution -> + NCic.context -> int -> NCic.term -> NCic.term -> NCic.term -> + NCic.term + +(* ind = indtype @ lefts + * arity1 = constructor type @ lefts + * arity2 = outtype *) +val check_allowed_sort_elimination : + subst:NCic.substitution -> + metasenv:NCic.metasenv -> + NReference.reference -> NCic.context -> + NCic.term -> NCic.term -> NCic.term -> unit + +val debruijn: NUri.uri -> int -> NCic.context -> NCic.term -> NCic.term +