Lemma. (A finite algebra over a DVR). Let be a DVR, and let be a commutative finite free -algebra of rank . If is a non-zero-divisor, then is nonzero, has finite -length, and All maximal ideals of lie above . Terms with a unit are zero. Full residue-field degrees and unreduced quotient rings are used. The assertion does not require to be a domain or reduced, or any residue extension to be separable.
Proof
Proof. Choose an -basis of , and let be the matrix of . Its kernel is zero. Over , a nonzero kernel vector could be multiplied by one nonzero common denominator to give a nonzero kernel vector in . Thus is invertible over that field and .
Here is the required matrix reduction over . Choose a nonzero entry of smallest order and move it to the upper-left corner by row and column permutations. Multiply its row by a unit to make this entry . It divides every matrix entry. Elementary row operations therefore clear its column; elementary column operations then clear its row. These operations are invertible over . The remaining square block has nonzero determinant, so induction reduces to a diagonal matrix with . It follows that The successive powers of give a composition series of length for . Length is additive in a short exact sequence: intersect a chain with the submodule and project it to the quotient for one inequality, and concatenate a submodule chain with inverse images of a quotient chain for the other. This proves the first equality and finite length.
A finite algebra is integral: on its finite generating module, the adjugate of the matrix of multiplication gives a monic equation for each element. If is maximal in , integrality makes its contraction maximal in . Indeed, if a field is integral over a subdomain, then that subdomain is a field: a monic equation for the inverse of a nonzero element, multiplied by a suitable power of the element, puts its inverse in the subdomain. Therefore , and is finite.
The ring has finite length over itself, since every chain of its ideals is a chain of its -submodules. Tag 00JB decomposes into its finitely many Artinian local factors. In a -composition series for , every simple factor is . Its -length is its full -dimension: the action factors through , so its -submodules are precisely its -subspaces. Adding the lengths of all factors gives the second equality in (C.1.42). If , the sum is zero and the same equality holds. Neither step removes nilpotents or counts embeddings instead of field dimensions. ◻