Let $M$ be a smooth manifold, let $E\to M$ be a smooth complex vector bundle of rank $r$, let $\nabla^0$ and $\nabla^1$ be smooth connections on $E$, and define
be its curvature. Let $k\ge 1$, and let $P:\mathfrak{gl}(r,\mathbb C)\to \mathbb C$ be a [homogeneous polynomial](/page/Homogeneous%20Polynomial) of degree $k$ invariant under the adjoint action of $GL(r,\mathbb C)$. Write the same symbol $P$ for its associated symmetric $k$-linear polarization, extended to $\operatorname{End}(E)$-valued differential forms by the standard Chern-Weil wedge-composition convention. Then