Module Logtk__InnerTerm.DB
type env= t Logtk.DBEnv.t
val closed : t -> boolcheck whether the term is closed (all DB vars are bound within the term). If this returns
truethen the term doesn't depend on its environment.
val contains : t -> int -> boolDoes t contains the De Bruijn variable of index n?
val unbound : t -> int listReturn a list of all unbound DB indices in a term
val unshift : ?depth:int -> int -> t -> tunshift n tunshifts the termt's bound variables byn. In other words it decrements indices of all free De Bruijn variables inside byn. Variables bound withintare left untouched.
val replace : t -> sub:t -> treplace t ~subreplacessubby a fresh De Bruijn index int. Shifts other De Bruijn indices by 1
val replace_l : t -> l:t list -> tN-ary version of
replaceShifts other De Bruijn indices bylength t