[step:Rewrite the variation of the invariant polynomial as an exterior derivative]
Extend $P_0$ to $\mathfrak g$-valued differential forms by wedging the form parts and applying the symmetric $k$-[linear map](/page/Linear%20Map) $P_0$ to the $\mathfrak g$-components. For each $t\in[0,1]$, differentiating the $k$ curvature entries gives
\begin{align*}
\frac{d}{dt}P_0(F_t)=kP_0(d_{A_t}a,F_t,\dots,F_t).
\end{align*}
We compute the exterior derivative of the transgression integrand. Since $a$ has degree $1$ and $F_t$ has degree $2$, the graded Leibniz rule for $P_0$ gives
\begin{align*}
dP_0(a,F_t,\dots,F_t)=P_0(da,F_t,\dots,F_t)-\sum_{j=2}^{k}P_0(a,F_t,\dots,dF_t,\dots,F_t).
\end{align*}
The infinitesimal $\operatorname{Ad}$-invariance identity for $P_0$ applied to the $\mathfrak g$-valued $1$-form $A_t$, the $\mathfrak g$-valued $1$-form $a$, and the $\mathfrak g$-valued $2$-form $F_t$ in each of the remaining $k-1$ entries gives
\begin{align*}
P_0([A_t\wedge a],F_t,\dots,F_t)-\sum_{j=2}^{k}P_0(a,F_t,\dots,[A_t\wedge F_t],\dots,F_t)=0.
\end{align*}
The minus signs in the summation are the graded signs obtained when the degree-$1$ form $A_t$ is moved past the preceding degree-$1$ entry $a$ before acting on a later degree-$2$ curvature entry.
Adding this identity to the preceding Leibniz formula yields
\begin{align*}
dP_0(a,F_t,\dots,F_t)=P_0(d_{A_t}a,F_t,\dots,F_t)-\sum_{j=2}^{k}P_0(a,F_t,\dots,d_{A_t}F_t,\dots,F_t).
\end{align*}
The Bianchi identity $d_{A_t}F_t=0$ removes every term in the sum, so
\begin{align*}
dP_0(a,F_t,\dots,F_t)=P_0(d_{A_t}a,F_t,\dots,F_t).
\end{align*}
Therefore
\begin{align*}
\frac{d}{dt}P_0(F_t)=d\bigl(kP_0(a,F_t,\dots,F_t)\bigr).
\end{align*}
Here $P_0(a,F_t,\dots,F_t)$ has one entry equal to $a$ and $k-1$ entries equal to $F_t$.
[/step]