FeynCalc manual (development version)

PairContract2

PairContract2 is like Pair, but with local contraction properties. It works best with products of Pairs that are expected to evaluate to a product of scalar products.

PairContract2 is an auxiliary function used in higher level FeynCalc functions that require fast contractions between multiple expressions, where Contract would be too slow.

See also

Overview, Contract, PairContract, PairContract3.

Examples

Pair[LorentzIndex[\[Mu]], Momentum[p]] Pair[LorentzIndex[\[Mu]], Momentum[q]] 
 
% /. Pair -> PairContract2

\overline{p}^{\mu } \overline{q}^{\mu }

\overline{p}\cdot \overline{q}

Pair[LorentzIndex[\[Mu]], Momentum[p + q]] Pair[LorentzIndex[\[Mu]], Momentum[r + s]] 
 
% /. Pair -> PairContract2

\left(\overline{p}+\overline{q}\right)^{\mu } \left(\overline{r}+\overline{s}\right)^{\mu }

(\overline{p}+\overline{q})\cdot (\overline{r}+\overline{s})