]> matita.cs.unibo.it Git - helm.git/commitdiff
does_not_occur exported to be used in oCic2NCic
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 10 Apr 2008 18:09:01 +0000 (18:09 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 10 Apr 2008 18:09:01 +0000 (18:09 +0000)
helm/software/components/cic_proof_checking/cicTypeChecker.mli

index e9419171e906140ea1c9685ff56e7deba12858d9..26dfce3888d7730a0a9433dee93ea696c8958d5d 100644 (file)
@@ -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