Let π:PM\pi:P\to M be a principal GG-bundle, and let pp be an on the . Given a ω\omega with Ω\Omega, the Chern–Weil construction produces a differential form on MM by applying pp to Ω\Omega and using the fact that the resulting form is basic.

For each invariant polynomial pp of degree kk, there is a canonically defined

cwp(P)HdR2k(M)\mathrm{cw}_p(P)\in H^{2k}_{\mathrm{dR}}(M)

with the following property:

  • For any principal connection ω\omega on PP, the CWp(ω)Ω2k(M)\mathrm{CW}_p(\omega)\in \Omega^{2k}(M) satisfies dCWp(ω)=0d\,\mathrm{CW}_p(\omega)=0 (closedness, using ), and its class [CWp(ω)][\mathrm{CW}_p(\omega)] depends only on PP, not on ω\omega.

Equivalently, if ω0,ω1\omega_0,\omega_1 are two connections on PP, then

CWp(ω1)CWp(ω0)\mathrm{CW}_p(\omega_1)-\mathrm{CW}_p(\omega_0)

is an on MM. Thus Chern–Weil characteristic classes are invariants of the underlying principal bundle.

Examples

A symmetric kk-linear form on g\mathfrak g invariant under the adjoint action is one source of an Ad\mathrm{Ad}-invariant polynomial.

  1. First Chern class of a . For a principal U(1)U(1)-bundle (complex line bundle), choosing p(X)=i2πXp(X)=\frac{i}{2\pi}X on u(1)\mathfrak u(1) gives a closed 2-form representing the first Chern class in real cohomology; changing the connection changes the representative by an exact form.
  2. Pontryagin classes. For a principal SO(n)SO(n)-bundle, invariant polynomials built from traces of powers of curvature produce the Pontryagin classes. For TMTM, this shows Pontryagin classes are independent of the chosen Riemannian metric and its Levi–Civita connection.
  3. Second Chern class for SU(2)SU(2). For a principal SU(2)SU(2)-bundle over a 4-manifold, the normalized invariant polynomial p(X,Y)=18π2tr(XY)p(X,Y)=\frac{1}{8\pi^2}\mathrm{tr}(XY) yields a 4-form representing the second Chern class (), independent of the chosen connection.