FeynCalc2FORM

Description

FeynCalc2FORM[expr] displays expr in FORM syntax. FeynCalc2FORM[file, x] writes x in FORM syntax to a file. FeynCalc2FORM[file, x==y] writes x=y to a file in FORM syntax.

See also:  FORM2FeynCalc.

Options[FeynCalc2FORM]

Examples

MT[μ, ν] FV[p, ρ] y^2/d

FeynCalc2FORM[%];

LC[α, β, δ, ρ]

FeynCalc2FORM[%];

DiracTrace[GA[μ, ν, ρ, σ]]

FeynCalc2FORM[%];

DiracTrace[GA[μ, ν]] DiracTrace[GA[μ, ρ]]

FeynCalc2FORM[%];

FeynCalc2FORM["fc2ftest.f", 
      MT[μ, ν] FV[p, μ]];

\(ReadList[
      If[$OperatingSystem === "MacOS", ":", ""] <> "fc2ftest.f", String]\)

t = Tr[GA[μ, ν, ρ, σ] . GS[p, q]]

FeynCalc2FORM["fc2ftest.f", L  == t];

\(TableForm[
      ReadList[If[$OperatingSystem === "MacOS", ":", ""] <> "fc2ftest.f", String]]\)

If[FileNames["fc2ftest.f"] =!= {}, 
      DeleteFile["fc2ftest.f"]];

Clear[t];