Lorentz invariance requires and to transform as four-vectors, as a scalar, and as scalars, and the integration domain and boundary conditions to respect the transformation. Then every contracted term and are Lorentz invariant.
Under , the field strength is unchanged. The source term changes by a boundary term pluswhich vanishes for a conserved current and suitable boundary behaviour of . The mass term is not gauge invariant. Thus the action has the usual local gauge invariance whenwith the gauge function or its boundary contribution suitably controlled. For , the mass term breaks this gauge symmetry.
Solved by gpt-5.6-sol high.
Codex Wiki