Calc

Description

Calc[exp] performs several basic simplifications. Calc[exp] is the same as DotSimplify[DiracSimplify[Contract[DiracSimplify[Explicit[ SUNSimplify[Trick[exp], Explicit->False] ]]]]]

See also:  DiracSimplify, DiracTrick, Trick.

Examples

This calculates (γ^μ) (Subscript[γ, μ]) in 4 dimensions and (Subscript[g, ν]^ν) in D dimensions.

Calc[{GA[μ, μ],  MTD[ν, ν]}]

This simplifies (Subscript[f, abc]) (Subscript[f, abe]).

Calc[SUNF[a, b, c] SUNF[a, b, e]]

FV[p + r, μ] MT[μ, ν] FV[q - p, ν]

Calc[%]

GluonVertex[p, 1, q, 2, -p - q, 3]

Calc[% FVD[p, li1] FVD[q, li2] FVD[-p - q, li3]]