Subst.VarSourceget v subst returns the value associated with v in subst, if it exists.
get v subst returns wether there is a value associated with v in subst.
bind v t subst returns the same substitution as subst with the additional binding from v to t. Erases the previous binding of v if it exists.