Substituting into the curvature and collecting terms gives the covariant transformation
Equivalently, in the stated conventions. Since is proportional to , cyclicity of the matrix trace gives
Thus the Yang-Mills action is gauge-invariant.
The Yang-Mills action is BRST invariant because its field strength transforms covariantly, and the gauge-fixing contribution is BRST exact. Nilpotence therefore gives
The gauge-fixing functional itself is generally not closed: . Applying the graded Leibniz rule gives
The Nakanishi-Lautrup field is auxiliary. Its algebraic equation turns the middle terms into , while the final term is the Faddeev-Popov ghost field action.
Because , the exterior algebra of two-forms has the orthogonal decomposition
where for a self-dual differential form and for an anti-self-dual differential form. The Hodge star is self-adjoint, so
It follows that
For an connection, use the positive norm
and define the Second Chern number by
Orthogonality gives
Therefore the Euclidean Yang-Mills action
obeys the Yang-Mills instanton Bogomolny bound
Equality holds precisely when or , according to the sign of ; these are the self-dual and anti-self-dual Yang-Mills instantons. Other trace and orientation conventions may reverse but leave the absolute-value bound unchanged.