feynlag.pheno.epsilon.epsilon_pair_tensor

feynlag.pheno.epsilon.epsilon_pair_tensor(slots_a, slots_b)[source]

ε^{a…}ε^{b…} for two 4-slot index/momentum assignments, expanded.

Implements ε^{a1a2a3a4}ε^{b1b2b3b4} = s_det·det[g^{a_ib_j}] as the signed sum over the 24 permutations pairing slot i of slots_a with slot perm(i) of slots_b, each pairing resolved by _resolve_slot_pair(). Any free Lorentz indices among the slots stay open in the result — reduction happens later, alongside the rest of the diagram, via .contract_metric/ contract_to_dots().

Parameters:
  • slots_a – each a 4-tuple of ('m', TensorHead)/ ('i', TensorIndex) slots (see epsilon_structure()).

  • slots_b – each a 4-tuple of ('m', TensorHead)/ ('i', TensorIndex) slots (see epsilon_structure()).