exp subst preserves typing