TransWikia.com

How to evaluate an expression with FeynCalc?

Mathematica Asked on March 28, 2021

How can I evaluate specific expressions in FeynCalc? For example, if there is a $delta^i_j$, how can I set $i$ to 1 and $j$ to 2 and make it evaluate to zero?

I’ve tried

TR[GA[µ,v]] /. {µ -> 1, v -> 2}

but that does not work, it just yields $4g^{12}$ instead of 0.

One Answer

I think I found a solution, albeit not a very pretty one.

One can manually set the elements of the metric tensor via

Pair[LorentzIndex[1], LorentzIndex[2]] = 0

however one has to do this for every entry.

Answered by Stephan on March 28, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP