Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
0 votes

Hello,

did anyone experience that a term like

\partial_{\mu}(\partial_{\nu}\phi^{m})

was not simplified to

\partial_{\mu\nu}\phi^{m} ?

I did trial and error, for example, by writing \partial{#}::PartialDerivative; , \partial{#}::PartialDerivative: , \partial{#}::PartialDerivative. or \partial{#}::Derivative; etc...but I did not solve the problem in any way. canonicalise seemed not to work. Thank you.

in General questions by (700 points)

1 Answer

+1 vote

Might be because you mistyped the input; the following works just fine:

\partial{#}::PartialDerivative;
ex:= \partial_{\mu}{\partial_{\nu}{\phi^{m}};

produces $$\partial_{\mu\nu}{\phi^m}$$ immediately.

by (76.7k points)
...