feynlag.pheno.line.check_ward_identities¶
- feynlag.pheno.line.check_ward_identities(summed, vectors, sums, total, kin, who)[source]¶
Verify
k_μ M^μ = 0for every massless external vector.The leg’s polarization sum is replaced by
k_μk_{μ'}while the other legs keep theirs, so with physical sums on the gluons this is the non-abelian identity.- Parameters:
summed – callable
{index: [(coeff, tensors)]} -> Σ|M|²with the given per-leg sums.vectors – the external
VectorLegs.sums – their polarization sums, as passed to
summed.total –
summed(sums)(the scale a float residue is compared to).kin – the kinematics (
s,tfor the numeric fallback).who – the caller’s name, for the message.
- Raises:
NotImplementedError – an identity fails.