ExpandSToSpinors

ExpandSToSpinors[x]
converts the invariants s[i, j] in x into products of spinor products.
  • The following options can be given:
"Massive"Truewhether to expand s invariants containing massive LVectors
"UOrVFunction"1&
function that accept LVector label and returns +1 for u spinor or -1 for v spinor
Takes into account scalar coefficients next to LVectors:
With "Massive" set to True (default value) s invariants containing massive LVectors are also expanded:
With "Massive" set to False only s invariants containing massless Spinors are expanded:
"UOrVFunction" should be a function accepting one argument, LVector label, and returning +1 or -1 which will be used as second argument of SpM when given label is used at end of spinor chain: