Module type Logtk__Subst.SPECIALIZED
type termtype t= subst
val find_exn : t -> var Logtk.Scoped.t -> term Logtk.Scoped.tval get_var : t -> var Logtk.Scoped.t -> term Logtk.Scoped.t optionval deref : t -> term Logtk.Scoped.t -> term Logtk.Scoped.tval apply : ?shift_vars:int -> Renaming.t -> t -> term Logtk.Scoped.t -> termApply the substitution to the given term/type.
- parameter renaming
used to desambiguate free variables from distinct scopes
val bind : t -> var Logtk.Scoped.t -> term Logtk.Scoped.t -> tAdd
v->tto the substitution. Both terms have a context.- raises InconsistentBinding
if
vis already bound in the same context, to another term.
val update : t -> var Logtk.Scoped.t -> term Logtk.Scoped.t -> tReplace
v-> ? byv->tin the substitution. Both terms have a context.- raises InconsistentBinding
if
vis not yet bound in the same context.
val of_list : ?init:t -> (var Logtk.Scoped.t * term Logtk.Scoped.t) list -> t