Local freeness of a kernel lattice
Let $o$ be a commutative ring, $\Omega$ a field with an $o$-algebra structure, and $R\subseteq\Omega$ an $o$-subalgebra. Let $$0\longrightarrow E_1\xrightarrow{i}E\xrightarrow{q}E_2\longrightarrow0$$ be an exact sequence of $\Omega$-vector spaces. Let $L\subseteq E$ be an additive subgroup and $r_1,r_2\ge0$. If $L$ is locally free of rank $r_1+r_2$ over $R$ and $q(L)$ is locally free of rank $r_2$, then $i^{-1}(L)$ is locally free of rank $r_1$.
For an additive subgroup $M\subseteq W$, local freeness of rank $r$ means that $M$ is stable under $R$ and there are finitely many $f_j,c_j\in R$ with $\sum_jc_jf_j=1$ such that, for each $j$, there is an $\Omega$-basis $b_{j,1},\ldots,b_{j,r}$ of $W$ satisfying $$\{w\in W:\exists n\ge0,\ f_j^nw\in M\}=\sum_{a=1}^rR[f_j^{-1}]b_{j,a}.$$ The localization is taken inside $\Omega$, with $R[f_j^{-1}]=\{a\in\Omega:\exists n\ge0,\ f_j^na\in R\}$; this formula also specifies the convention when $f_j=0$.