Use an SU(2) connection one-form with Skew-Hermitian generators , so . Absorb the gauge coupling into , and write its gauge curvature as . The Yang-Mills gauge transformation convention is , giving .
In four dimensions the Second Chern form and Second Chern number of the associated fundamental rank-two bundle are
Here is a closed oriented four-manifold. This sign follows by expanding the total Chern class and using . The first Chern class vanishes for SU(2); the second is the degree-four characteristic class relevant here. With the same curvature convention the commonly positive self-dual instanton number is
Both sign conventions occur; fixing them at the outset avoids identifying opposite-oriented integers.
The form is gauge-invariant by conjugation and cyclicity of the matrix trace. The gauge-theory Bianchi identity makes it closed. To see that its integral is independent of the connection, vary :
On a closed the integral of this exact form vanishes. This is Chern-Weil connection transgression, showing that depends on the bundle's topology rather than on a particular gauge field.
Locally the same four-form is an exterior derivative. The Chern-Simons 3-form
satisfies
For verification, differentiating gives ; expansion of gives these terms and . Graded cyclicity moves the first one-form through the other three, changing the sign, so . This local exactness does not make the Second Chern number zero on every closed manifold: on a nontrivial bundle the gauge potentials and are only patchwise defined.
For the usual finite-action sector on , impose pure-gauge behavior at infinity. Compactification gives a bundle over , with transition map . The Maurer-Cartan equation gives , hence
With the outward boundary orientation, Stokes theorem therefore gives
These are opposite choices of the winding number, and either becomes the topological degree of after specifying the orientation of the target SU(2) sphere. Thus integrality also follows from . Smooth deformations preserving the asymptotic sector cannot change it.
The positive Euclidean Yang-Mills action is
Define . Since the Hodge star has square one on two-forms in Euclidean dimension four,
Choosing gives the Yang-Mills instanton Bogomolny bound
The self-dual Yang-Mills equations and their anti-self-dual version imply the Yang-Mills equations by the Bianchi identity. Their finite-action solutions are Yang-Mills instantons.
For a concrete self-dual example, the BPST instanton with center and size has
where are self-dual 't Hooft symbols. Their contraction is . Thus , and
This gives and . Reversing duality gives . The free center, size and framed gauge orientation illustrate the instanton moduli space.
On a three-dimensional slice , there is no four-form Chern integral intrinsic to the slice. Its transgression is the Chern-Simons number of a gauge field, in the instanton-charge convention
It is a real number for a general connection, not necessarily an integer, and is not strictly gauge invariant. Set and . Substituting , using and graded trace cyclicity, gives the gauge change of the Chern-Simons three-form
The mixed terms collect into the displayed exact form; the last term is also fixed by the pure-gauge case . Therefore on a closed , or with boundary conditions making the exact-form integral vanish,
Thus , or , is gauge invariant. Gauge maps homotopic to the identity have ; maps of nonzero winding are large transformations even when they equal the identity at infinity.
For a Yang-Mills vacuum on , zero magnetic energy requires . On simply connected space this is a pure gauge , and is an integer after fixing the asymptotic trivialization. Quotienting only by transformations homotopic to the identity leaves integer-labelled vacuum representatives. Allowing all winding transformations identifies them classically; quantum states can instead transform by a phase, producing the theta vacuum. A three-dimensional pure-gauge representative carries a winding number but is not a localized positive-energy monopole. In fact no static finite-energy lump in three-dimensional pure Yang-Mills theory exists with the usual decay conditions: gives , and stationarity forces .
Finally, on an oriented spacetime slab , with no side-boundary contribution, the transgression identity gives
A Yang-Mills instanton therefore interpolates between vacuum representatives whose Chern-Simons numbers differ by its integer charge. In a four-dimensional quantum theory a Yang-Mills theta term weights such sectors by , making periodic modulo . In an intrinsically three-dimensional theory an action has a gauge-invariant phase only for integer level under all winding gauge maps. These statements distinguish the gauge-invariant integer four-dimensional Chern charge from the three-dimensional connection-dependent quantity defined modulo integers.