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.
A Chern number turns local curvature data into a global integer. Let be a complex vector bundle over a compact oriented manifold without boundary, with a unitary connection represented locally by an anti-Hermitian matrix-valued one-form . Its curvature form of a connection is . The Chern-Weil theory representative of the total Chern class is
The coefficients are closed differential forms. They represent the images of integral Chern classes in de Rham cohomology. On an oriented -manifold, a product with pairs with the fundamental class to give a Chern number, an integer independent of the unitary connection.
For example,
For an bundle with , . On an oriented four-manifold the Second Chern number is then
using the fundamental matrix trace and the stated anti-Hermitian convention. The trace-product correction is required for a general bundle; it cannot simply be omitted. The sign of a physical instanton number also depends on the trace and orientation convention, so these conventions must accompany the formula.
The local origin of closure is the Bianchi identity and the cyclic matrix trace: . Independence of the connection one-form follows more concretely by varying a family . Since , the Chern-Weil connection transgression is
Its integral on a closed four-manifold is zero by the Generalized Stokes theorem. This proves connection independence of ; the integrality is the global Chern class statement, not merely a consequence of the local formula.
The local primitive of the Second Chern form is the Chern-Simons three-form
Here we continue to use , so . The cubic coefficient is forced by the exterior derivative. In the graded cyclic matrix trace, and , the latter because cycling one degree-one factor past the other three changes its sign. Therefore
Matrix-valued differential forms require both matrix order and the graded signs; treating all factors as commuting scalars would lose this derivation.
The Chern-Simons three-form depends on a local trivialization and is not itself gauge-invariant. For the Yang-Mills gauge transformation convention , set . The gauge change of the Chern-Simons three-form is
The last term is closed by the Maurer-Cartan equation. On a closed three-manifold its integral is an integer with the fundamental normalization. Consequently the Chern-Simons integral is naturally defined modulo integers, while its exponential is invariant under large Yang-Mills gauge transformations for integer level .
This also explains why a nonzero Chern number is compatible with : need not be a globally defined three-form. On , trivialize over two hemispheres and let on their common equator , oriented as the boundary of the northern hemisphere. The Generalized Stokes theorem and the gauge-change formula give
For , this is the degree of the transition map, with compatible group orientation; for it is the corresponding integer in . Thus the Second Chern number measures the obstruction to choosing one trivialization over the whole four-sphere.
A simpler First Chern class example is a line bundle over . Write and choose local real potentials
They have common curvature , so . Their difference corresponds to the transition function , which is single-valued exactly when . This illustrates how the global integer arises from patching, rather than from an arbitrary flux normalization.
In physics, these constructions distinguish topological sectors of Yang-Mills instantons and relate four-dimensional characteristic densities to three-dimensional boundary actions. The Chern-Simons three-form itself gives a metric-independent gauge action in three dimensions. On a closed manifold its first variation is
so its classical equation is . The common thread is that a local expression in the connection one-form records global topology: curvature produces the invariant Chern number, while its local Chern-Simons three-form primitive retains gauge and boundary information.