I am reading Kobayashi's book "Differential geometry of complex vector bundles". More precisely, I am on section 2 of chapter 1, page 5.


Kobayashi is trying to prove that if $E$ is a vector bundle on some manifold $M$, with a flat connection $D$, then it admits a "flat structure" $\{U,s\_U\}$ which consists on an open cover of $M$ and a local frame of $E$ such that the transition functions are locally constant.


In order to do this, he starts with some arbitrary local frame $s'$ and looks for functions $a:U \rightarrow GL(r,\mathbb{C})$ such that in the frame $s\_U= s' a$ the connection $1$-form is $0$.


Therefore, if $\omega'$ is the connection $1$-form in the frame $s'$, what he is trying to do is solve the following equation for $a$


$$
\omega' a + da = 0.
$$


He claims that solutions exists since the "integrability condition" for this equation is obtained by differentiating it


$$
0=(d\omega') a -\omega' \wedge da = (d\omega')a + (\omega' \wedge \omega')a = \Omega' a,
$$


which is true since we assumed that the connection is flat.


My question is what does he mean by the "integrability condition". Moreover, why is that the integrability condition for that equation? And, also, why can he use the fact $da=-\omega' a$ when computing it?


I think he might be using some form of the Frobenius theorem, since I know that it is what you use from a "global" point of view.


In any way, I want to know precisely in this context what he means by that "integrability condition", maybe it is just something basic or standard that I am missing.



Integrability condition for flat connections
On the manifold $X=U\times \operatorname{GL}\_r$, with points written $x=(m,a)$, each tangent space $T\_x X$ contains a linear subspace $V\_x$ consisting of tangent vectors on which $a^{-1}da=-\omega'$. The problem is to prove that these $V\_x$ spaces form a smooth subbundle $V \subset TX$, and that this subbundle is closed under bracket. For this we can take any framing $e\_1,\dots,e\_n$ of tangent vector fields on $U$, and associate to each the vector field $e'\_i$ which projects to $e\_i$ and satisfies $da=-\omega'a$. These are a basis for $V\_x$, for each $x$, so $V$ is a smooth subbundle. Note that the $e\_i'$ project to the $e\_i$, so brackets project to the brackets. Bracket closure (i.e. we can apply the Frobenius theorem to $V$) is precisely flatness of the connection, using the equations $L\_v \xi=d(i\_v \xi)+i\_vd\xi$ and $d\omega'(e\_i,e\_j)=L\_{e\_i}(\omega'(e\_j))-L\_{e\_j}(\omega'(e\_i))-\omega'([e\_i,e\_j])$.


