Hi,
I was looking for a rule involving partial derivative action on a tensor. Suppose I have an expression like
\begin{align}
\partial_{a} A^{a}+ A_{a}B^{a} + (\partial_{a b}A_{a}) B^{b} + \partial_{b}A_{a} \partial^{b}B^{a}
\end{align}
I wish to define a rule such that I need to set the quadratic terms that involves the derivatives to vanish , i.e, I need to set $\partial_{a b}{A_{a}} B^{b} \rightarrow 0, \partial_{b}A_{a} \partial^{b}B^{a} \rightarrow 0$, I am not abe to get a proper rule to do this.
Also is there any way in which I can also set a partial derivative that involves any no f derivatives to zero, like I need to set
\begin{align}
\partial_{a} A^{c} =0;
\partial_{a b} A^{c}=0;
\end{align}
etc
I was thinking of something like
ex:= \partial{#}{A{#}} -> 0;
But didnt seem to work. can you please help me out