Lebniz's notation for ordinary derivatives as quotients of differentials is a convenient abuse of notation, since it lets you express things like the chain rule and the derivative of the inverse function in a suggestive form:
$$\frac{dz}{dx} = \frac{dy}{dx} \cdot \frac{dz}{dy}$$
$$\frac{dx}{dy} = \frac{1}{\frac{dy}{dx}}$$
where $x,y,z$ are interdependent variables. This approach completely breaks down with second and higher order derivatives, since for example the second derivative of the inverse is
$$\frac{d^2x}{dy^2} =-\frac{d^2y}{dx^2} \left(\frac{dy}{dx} \right)^{-3} \neq \frac{1}{\frac{dy^2}{d^2x}}$$
where the left hand side isn't even defined.
I know that the concept of differential can be formalized, for example as infinitesimal variables in nonstandard analysis, and that this, in a sense, explains why these formal manipulations work. I know the concept of second degree differential exists, that's why I suspect that the reason they don't work in the case of higher degree derivatives is because the notation must be "wrong". My question is:
Is it possible to modify Leibniz's notation for second and higher order derivatives, so that the corresponding "differentiation rules" can be obtained by formal algebraic manipulation of the differentials $dx$, $d^2x$, etc. involved?