FreeIndexFreeQ[exp, {head1, head2, ...}]
returns
True
if the expression contains uncontracted indices with
heads head1
, head2
, … and False
otherwise.
As always in FeynCalc, Einstein summation convention is implicitly
assumed. The function is optimized for large expressions, i.e. it is not
so good as a criterion in e.g. Select
.
Overview, FCRenameDummyIndices, Contract, DummyIndexFreeQ.
[FV[p, \[Mu]] FV[q, \[Nu]]]
FCI
[%, {LorentzIndex}] FreeIndexFreeQ
\overline{p}^{\mu } \overline{q}^{\nu }
\text{False}
[FV[p, \[Mu]] FV[q, \[Mu]]]
FCI
[%, {LorentzIndex}] FreeIndexFreeQ
\overline{p}^{\mu } \overline{q}^{\mu }
\text{True}
[SUNT[a, b]]
FCI
[%, {SUNIndex}] FreeIndexFreeQ
T^a.T^b
\text{False}
[SUNT[a, a]]
FCI
[%, {SUNIndex}] FreeIndexFreeQ
T^a.T^a
\text{True}