SortCovDsToBox

SortCovDsToBox[tensor][expr]
commutes derivatives in expr such that all possible boxes act on the specified tensor.
SortCovDsToBox[tensor, cd][expr]
only commutes the covariant derivative cd.
  • A 'box' is a derivative contracted with itself, □=∇_a∇^a.