X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic_proof_checking%2FcicTypeChecker.mli;h=e1c113ef335609f9460efb981910518629f792ad;hb=fcdc755773839176c7206b579b6dd1ff665ed8f5;hp=e9419171e906140ea1c9685ff56e7deba12858d9;hpb=55b82bd235d82ff7f0a40d980effe1efde1f5073;p=helm.git diff --git a/helm/software/components/cic_proof_checking/cicTypeChecker.mli b/helm/software/components/cic_proof_checking/cicTypeChecker.mli index e9419171e..e1c113ef3 100644 --- a/helm/software/components/cic_proof_checking/cicTypeChecker.mli +++ b/helm/software/components/cic_proof_checking/cicTypeChecker.mli @@ -34,7 +34,8 @@ exception AssertFailure of string Lazy.t output). The callback is used to relocalize the error messages *) val debrujin_constructor : ?cb:(Cic.term -> Cic.term -> unit) -> - UriManager.uri -> int -> Cic.term -> Cic.term + ?check_exp_named_subst: bool -> + UriManager.uri -> int -> Cic.context -> Cic.term -> Cic.term val typecheck : UriManager.uri -> Cic.obj * CicUniv.universe_graph @@ -59,3 +60,8 @@ val typecheck_obj : UriManager.uri -> Cic.obj -> unit of the MutCase) *) val check_allowed_sort_elimination: UriManager.uri -> int -> Cic.sort -> Cic.sort -> bool + +(* does_not_occur ~subst context n nn t + checks if the semi-open interval of Rels (n,nn] occurs in t *) +val does_not_occur: + ?subst:Cic.substitution -> Cic.context -> int -> int -> Cic.term -> bool