FORM2FeynCalc

Description

FORM2FeynCalc[expr] translates the FORM expr into FeynCalc notation. FORM2FeynCalc[file] translates the FORM expresssions in file into FeynCalcnotation. FORM2FeynCalc[file, x1, x2, ...] reads in a file in FORM-format and translates the assignments for the variables a, b, ... into FeynCalc syntax. If the option Set is True, the variables x1, x2 are assigned to the right hand sides defined in the FORM - file.

See also:  FeynCalc2FORM.

Options[FORM2FeynCalc]

Examples

FORM2FeynCalc["p.q + 2*x m^2"]

% // StandardForm

Functions are automatically converted right, but bracketed expressions need to be substituted explicitly.

FORM2FeynCalc["x +f(z)+ log(x)^2+[li2(1-x)]", 
      Replace -> {"[li2(1-x)]" -> "PolyLog[2,1-x]"}]

% // StandardForm

FORM2FeynCalc["x + [(1)]*y -[(-1)^m]"]

ReleaseHold[%]

FORM2FeynCalc["p(mu)*q(nu)+d_(mu,nu)"]

% // StandardForm

FORM2FeynCalc["p(mu)*q(nu)+d_(mu,nu)", 
      Replace -> {mu -> μ, nu -> ν}]

FORM2FeynCalc["i_*az*bz*aM^2*D1*[(1)]*b_G1 * ( \
4*eperp(mu,nu)*avec.bvec*blam )"]