Kernel lengths under ramified extension of discrete valuation rings
Let $O\to O'$ be an algebra homomorphism of discrete valuation rings, with fraction fields $K,K'$, and let $e\ge0$. Suppose their normalized additive valuations satisfy $$v_{O'}(a)=e\,v_O(a)\qquad(a\in O),$$ where on the left $a$ denotes its image in $O'$. For finite sets $I,J$ and a matrix $A\in M_{I,J}(O)$, let $$A:(K/O)^J\to(K/O)^I,\qquad A':(K'/O')^J\to(K'/O')^I$$ be the induced linear maps, using the image matrix over $O'$ for $A'$. Then $$\operatorname{length}_{O'}\ker A'=e\,\operatorname{length}_O\ker A.$$
Valuations take the value $\infty$ at zero, and module lengths are allowed to be infinite.