I'm trying to understand the proof of this version of the fundamental lemma of Riemannian geometry.
Let $\pi : \mathcal{F}_{on}(M) \rightarrow M $ the orthonormal frame bundle of an n-dimensional Riemannian manifold $M$ and let $\eta$ ∈ $\Omega^1(\mathcal{F}_{on}(M), \mathbb{R}^n )$ be the tautological form. Then there exists a unique $\mathfrak{so}(V)$-valued 1-form $\theta \in \Omega^1(\mathcal{F}_{on}(M), \mathbb{R}^n )$ such that $$ d\eta= \theta \wedge \eta $$ or equivalently, if we call $\theta= (e_i \otimes \eta^j) \otimes \eta^i_J$ where $e_i$ is the dual of $\eta^i$ we have $$ d \eta^i=\eta^i_j \wedge \eta^j $$ $$ \eta^i_j+\eta^j_i=0 $$ The proof is the following:
On $M$, let $\bar{\eta}$ be an orthonormal coframe, giving a local trivialization of $\mathcal{F}_{on}(M)$ such that $\eta = g^{−1}\pi^∗\bar{\eta}$ for some $O(\mathbb{R^n})$-valued function $g$ on the frame bundle. Then $$ d\eta = −g^{−1}dg ∧ η + g^{−1}\pi^∗d\bar{\eta}. $$ So, there exist 1-forms $\alpha^i_{j}$ on the frame bundle such that $d\eta^i=\alpha^i_j \wedge \eta^j$ [...]
(source : Cartan for beginners, second edition lemma 3.1.4 )
i don't understand why this statement is true. How is the term $g^{−1}\pi^∗d\bar{\eta}$ handled?
Edit
As suggested by Ted Shifrin in the comments i looked up to a comprehensive introduction to differential geometry and i found It a more "beginners friendly" book