Matchete`
Matchete`

CollectOperators

CollectOperators[expr]

gathers a Lagrangian expression by unique operators.

Details and Options

  • CollectOperators identifies unique operators accounting for relabeling of dummy indices and obvious symmetries of objects. It does not attempt to apply a full set of simplification identities such as GreensSimplify.
  • The expression returned by CollectOperators typically contains many operators outside the (off-shell) basis.
  • By contrast to RelabelIndices, CollectOperators is much more robust, as it correctly identifies isomorphic graphs formed by the dummy index contractions
  • The following options can be given:
  • SimplifyTrueapplies simplification steps to the coefficient of each operator, seeking to identify similar index contraction of couplings.

Examples

Basic Examples  (1)

For a simple example we load the SM definitions with LoadModel. A call to CollectOperators groups the expression below by the unique operators.