This question regards the manipulation of derivatives as if they were fractions. But more generally it also regards doing calculus in a "Leibnizian" way.
Before asking I checked out the current poll of question regarding this topic: link, link and another one for good measure; my objective with this question is to fill in the holes that I think are left open in the discussion of this topic on this site.
In the cited questions is clarified why is incorrect to define the derivate not as a limit but as a fraction, and the consequent importance of knowing the proper definition of the derivative as a limit. This is clear. But when working whit derivatives and integrals I think the usefulness of working with Leibniz notation, and interpreting derivatives as fractions, is beyond any doubt, as this answer points out.
Problem is: when working with imprecise assumptions things can go wrong really fast, and for this reason interpreting the derivative as a fraction has the nomea of a pretty dangerous gamble.
Here are some examples on how this can go terribly wrong:
Example 1:
$$\int \nabla \phi \cdot d\vec{x}=\int \frac{d\phi}{dx}dx+\frac{d\phi}{dy}dy+\frac{d\phi}{dz}dz=\int \frac{d\phi}{dx}dx+\int\frac{d\phi}{dy}dy+\int\frac{d\phi}{dz}dz=\phi+\phi+\phi=3\phi$$
but on the other hand if we state that: $d\phi+d\phi+d\phi=d\phi$ we get the correct result:
$$\int \nabla \phi \cdot d\vec{x}=\int \frac{d\phi}{dx}dx+\frac{d\phi}{dy}dy+\frac{d\phi}{dz}dz=\int d\phi+d\phi+d\phi=\int d\phi=\phi$$
But if we write it with the proper notation of partial derivative then we should elide $\partial x$ with $dx$, even more chaos.
Example 2:
$$\frac{\partial \phi}{\partial x}/\frac{\partial \phi}{\partial y}=\frac{\partial y}{\partial x}$$
by "eliding the $\partial \phi$".
And I am sure I could go on with more example, but I think there is no need.
Question is: is there a ruleset to follow to ensure to not fall for mistakes like this when working with Leibniz notation? I feel like this question hasn't been properly answered in the previous discussion on this topic. And if there is such ruleset, why it works?
Also it's often said that this way of handling derivatives and integrals no longer works when dealing with multivariable calculus, but from my experience it seems to give the correct answer even in this case, what is up with this exactly? Why should it no longer work? For example let's take the integral: $$\int \frac{\partial \vec{A}}{\partial t} \cdot d\vec{x}$$ It would seem a bit difficult to solve this integral "rigorously", but by interpreting it in a somewhat Leibnizian way we get: $$\int \frac{\partial \vec{A}}{\partial t} \cdot d\vec{x}=\int \frac{\partial A_x}{\partial t}dx+\frac{\partial A_y}{\partial t}dy+\frac{\partial A_z}{\partial t}dz=\int dA_x \frac{dx}{dt}+dA_y\frac{dy}{dt}+dA_z\frac{dz}{dt}=\int \vec{v} \cdot d\vec{A}=\vec{v}\cdot \vec{A}$$ This seems like a miracle, should we not use this way of working with things like this?