In Michael Spivak's Calculus (p.368), he makes the following remark about integration by substitution:
The substitution formula is often written in the form $$\int f(u) \, du= \int f(g(x))g'(x) \, dx, \quad u=g(x) \, .$$This formula cannot be taken literally (after, all $\int f(u) \, du$ should mean a primitive of $f$ and $\int f(g(x))g'(x) \, dx$ should mean a primitive of $(f \circ g) \cdot g'$; these are certainly not equal). However, it may be regarded as a symbolic summary of the procedure which we have developed.
I don't understand what Spivak is referring to here. Say $F$ is a primitive of $f$. Then, \begin{align} \text{LHS} &= \int f(u) \, du = F(u)+C \\ \text{RHS} &= \int f(g(x))g'(x) = F(g(x))+C=F(u)+C \end{align} I'm also not quite on board with the view that the LHS is a primitive of $f$. If this were true, then wouldn't we simply write $$ \int f(u) \, du = F \, ? $$ I think if we were being precise then we would say the LHS is a primitive of $f$, evaluated at the point $u$. I'm probably misunderstanding something here, but I'm not what it exactly is.
I am aware that this question has been asked before, but I wasn't entirely satisfied with the answer, and I'm worried that I might have a deeper confusion about integration in general.