[step:Apply the Chern-Weil homotopy formula to compare two connections]
Let $\nabla_0^E$ and $\nabla_1^E$ be smooth complex-linear connections on $E$. Define
\begin{align*}
A:=\nabla_1^E-\nabla_0^E\in\Omega^1(M;\operatorname{End}(E))
\end{align*}
and, for $t\in[0,1]$, define the affine path of connections
\begin{align*}
\nabla_t^E:=\nabla_0^E+tA.
\end{align*}
For each $n\ge 0$, the polynomial $\Phi_{Q,n}$ determines an invariant polynomial in the normalized curvature variables, so the Chern-Weil homotopy formula [Chern-Weil Homotopy Formula][citetheorem:9760] gives a form $T_{Q,n}(\nabla_0^E,\nabla_1^E)\in\Omega^{2n-1}(M;\mathbb C)$, with $T_{Q,0}=0$, such that
\begin{align*}
K_{Q,n}(\nabla_1^E)-K_{Q,n}(\nabla_0^E)=dT_{Q,n}(\nabla_0^E,\nabla_1^E).
\end{align*}
Since $K_{Q,n}(\nabla_i^E)=0$ for $2n>\dim M$ and $i\in\{0,1\}$, only finitely many terms contribute. Define
\begin{align*}
T_Q(\nabla_0^E,\nabla_1^E):=\sum_{n\ge 0}T_{Q,n}(\nabla_0^E,\nabla_1^E)\in\Omega^{\mathrm{odd}}(M;\mathbb C).
\end{align*}
Then
\begin{align*}
K_Q(\nabla_1^E)-K_Q(\nabla_0^E)=dT_Q(\nabla_0^E,\nabla_1^E).
\end{align*}
Thus the difference is exact.
[/step]