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
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