Under , the field strength is unchanged, but the mass term in the Proca action changes by
which is not generally a total derivative. The mass therefore breaks gauge invariance.
The Euler-Lagrange field equation is
Taking its divergence and using the antisymmetry of gives . Since , the Lorenz constraint in Proca theory follows. Substitution back into the field equation then gives