X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic_proof_checking%2FcicTypeChecker.mli;h=26dfce3888d7730a0a9433dee93ea696c8958d5d;hb=6a95acad523131e0775e703d5d4bfac756609fb0;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..26dfce388 100644 --- a/helm/software/components/cic_proof_checking/cicTypeChecker.mli +++ b/helm/software/components/cic_proof_checking/cicTypeChecker.mli @@ -59,3 +59,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