FeynCalc manual (development version)

MetricTensor

MetricTensor[mu, nu] is the metric tensor. The default dimension is 44.

The shortcut MetricTensor is deprecated, please use MT instead!

See also

Overview, FCI, MT, MTD.

Examples

MetricTensor[\[Alpha], \[Beta]] 
 
Contract[% %]

gˉαβ\bar{g}^{\alpha \beta }

44

MetricTensor[\[Alpha], \[Beta], Dimension -> D] 
 
Contract[% %]

gαβg^{\alpha \beta }

DD

StandardForm[MetricTensor[a, b]]

(*Pair[LorentzIndex[a], LorentzIndex[b]]*)

MetricTensor is scheduled for removal in the future versions of FeynCalc. The safe alternative is to use MT.

MT[\[Mu], \[Nu]]

gˉμν\bar{g}^{\mu \nu }

MTD[\[Mu], \[Nu]]

gμνg^{\mu \nu }

FCI[MT[\[Mu], \[Nu]]] === MetricTensor[\[Mu], \[Nu]] 
 
FCI[MTD[\[Mu], \[Nu]]] === MetricTensor[\[Mu], \[Nu], Dimension -> D]

True\text{True}

True\text{True}