feynlag.pheno.boson

An amplitude with no fermion line: four external bosons (gg→gg).

Tier 5, stage 5c of docs/manual/scattering_roadmap.md. The four-fermion engine (diagrams) and the line engine (line) both hang their Lorentz structure on a Dirac trace. A pure-boson amplitude has none: every term is a scalar coefficient times loose tensors — metrics and momentum vectors — on the external vector indices and on internal (propagator) dummies,

M = Σ_terms coeff × ∏ tensors,

and BosonAmplitude.squared() evaluates

Σ|M|² = Σ_{d,d'} C_{dd'} Σ_{a∈d, b∈d'} c_a c̄_b (T_a · ∏_V P_V · T_b)

with contract_tensors(), the trace-free sibling of contract_trace.

How the sum is organised. Done term by term this is slow: gg→gg has 33 terms and four three-piece polarization sums, i.e. 33² × 3⁴ contractions (over ten minutes). Two exact reductions bring it to seconds:

  1. each diagram is rewritten as a few canonical monomials — metrics and single momenta on the four external indices. A vector on external index μ_V is taken modulo momentum conservation and modulo the momenta the leg’s polarization sum annihilates (k and the reference n for a physical sum). Those are computed from the sum actually used (_null_heads()), so the Ward probes, which replace one sum by k k, are reduced correctly too;

  2. the contraction of two monomials through the sums factorises over the connected components of its index graph, and a component only sums over the pieces of the legs it contains.

Everything else is shared with the line engine on purpose: the external legs are the same VectorLegs (a massless non-abelian vector must carry a reference for its physical polarization sum), and the polarization sums are trusted only after the same computed Ward check (check_ward_identities()).

Signs. There is no fermion sign. The relative phase between an exchange diagram and the contact term is that of the Feynman rules: two cubic couplings and −i for the vector propagator against the quartic coupling, which carries its own i. A process built from cubic vertices in pairs is blind to the overall sign of the cubic coupling; it is the contact term’s sign that the Ward identity tests.

Classes

BosonAmplitude(diagrams[, vectors])

A sum of diagrams with bosons only.

BosonTerm(coeff[, tensors])

One term of a pure-boson amplitude.