Record the computed substitution.