DiracTrick

Description

DiracTrick[exp] contracts gamma matrices with each other and performs several simplifications, but no expansion, use Calc or DiracSimplify for non-commutative expansion.

Options[DiracTrick]

See also:  Calc, DiracGammaExpand, DiracSimplify.

Examples

This is a string of Dirac matrices in four dimensions.

t1 = GA[μ, ν, μ]

DiracTrick[t1]

This is a string of Dirac matrices in D dimensions.

t2 = GAD[μ, ν, μ]

DiracTrick[t2]

t3 = GA[5, μ, ν]

By default (γ^5)is moved to the right.

DiracTrick[t3]

t4 = GA[6, μ, 7]

DiracTrick[t4]

t5 = GS[a + b]  .  GS[p] . GS[p] . GS[c + d]

DiracTrick[t5]

Calc[t5]

GAD @@ Join[{μ}, Table[(Subscript[ν, i]), {i, 6}], {μ}]

DiracTrick[%]