How should one understand the "indefinite integral" notation $\int f(x)\;dx$ in calculus?
Unless the equal sign "=" in the first identity of (1) is not considered [the same] as the equal sign in "3+5=8" ...
This is precisely what is done.
When you move on to studying measure theory and consider $L^p$ spaces, two functions are considered "equal" if they only differ on a "small" set of points (where "small" has a precise measure-theoretic definition). Mathematicians are not computers, and know how to use the context of a statement to understand what version of equals is being used.
In the world of computing anti-derivatives, "=" means "differ by a constant", or more generally, "differ only by a constant on each connected component of their domains".
You can get into problems when you forget which version of "=" is intended, and think "=" means more than it does. (There are a few math brain-teasers out there based on that.) I think of it as the same problem as if you went into the teacher's lounge and asked for "the calculus teacher", as you were expecting Professor Liang, who is 6'4" tall and you wanted help getting something off a high shelf, but you didn't realize that Professor Smith, who is 4'11", also teaches calculus, and that's who shows up. You thought that specifying "calculus teacher" carried with it Prof. Liang's height, but that's not the case.