Choose Hermitian generators of the gauge Lie algebra, with , and write . For the usual compact gauge algebra choose . More generally use a nondegenerate invariant symmetric bilinear form on the algebra in place of this trace contraction; a completely arbitrary component metric would not give gauge invariance.
A matter vector is useful to fix conventions: with and , require . Acting on an arbitrary vector gives the Yang-Mills gauge transformation
For this becomes
Here the second denotes the induced derivative in the Adjoint representation.
Define the curvature by . Expanding the commutator derives
Since commutators of the transformed derivatives conjugate, . Cyclicity of the trace proves the invariant bilinear-form construction of a Yang-Mills action:
For a general invariant form , the corresponding proof is , applied to the two curvature factors. No matter field is required in this pure-gauge Lagrangian.
Introduce the adjoint Faddeev-Popov ghost and antighost , independent Grassmann-odd scalar fields of ghost numbers and , together with the Grassmann-even Nakanishi-Lautrup field of ghost number zero. The bar labels the independent antighost, not an additional propagating complex-conjugate matter field. Choose a left BRST symmetry differential:
It is an odd derivation: for homogeneous Grassmann parity . The two relevant properties are and off-shell nilpotence . The first is gauge invariance with parameter replaced by the ghost, and the second follows from the Lie algebra's graded Jacobi identities. Thus
Algebraically this holds for any ; a physical gauge-fixing addition uses an odd gauge-fixing fermion of ghost number so that is even and has ghost number zero.
For BRST-exact covariant gauge fixing, choose
The graded Leibniz rule supplies the essential minus sign:
Use Gaussian gauge fixing with an auxiliary field to integrate . Pointwise,
Translation of the regulated oscillatory Gaussian leaves only a field-independent normalization. The remaining Lagrangian is therefore
This is covariant Feynman gauge, with gauge parameter one. Eliminating need not retain manifest off-shell nilpotence in the reduced field variables; the original auxiliary-field action gives the off-shell BRST symmetry formulation.
Finally, the ungauge-fixed quadratic momentum kernel is
Gauge directions are null vectors, so there is no inverse defining a vector propagator, and the functional integral also counts an infinite gauge orbit volume. The added gauge-fixing term cancels the longitudinal part, leaving . With the vacuum prescription, the propagators are
The ghost action represents the Faddeev-Popov determinant and supplies ghost-vector vertices; closed ghost loops have the fermionic minus sign. Expanding the cubic and quartic Yang-Mills terms and this ghost interaction now defines consistent perturbative Feynman rules. Physical mass-shell poles remain, whereas the gauge degeneracy has been removed. Possible global gauge-fixing obstructions and boundary zero modes are separate from the perturbative inverse around the trivial vacuum.