Cluster k1031
Smith normal form, module lengths and discriminant bounds
About 85 files on integer-like matrices over valuation rings. They include Smith normal form (every matrix over a principal ideal ring can be turned into a diagonal one by invertible changes), a "length" that measures how big a module is, and the cokernel (the quotient left over) of a matrix, whose length equals the size of its determinant. Other statements compare the colength of lattices with a discriminant, and give lower bounds on cokernels in Hodge-Tate settings (a p-adic setting). There is also a result on diagonalising hermitian matrices over a local ring. Several named claims are only stated and used as assumptions in a larger argument.
5 import steps from the main theorem.
Proof status: on 21 Nov 2026 the Lean FRO and the Mathlib Initiative certified the Lean statement and proof (latest check). Names and descriptions on this map are written by Claude from samples of the code and may be wrong.
Prerequisite concepts
Valuation rings and lattices over themLinear algebraA stranger way to measure size: ultrametric absolute valuesDiscrete valuation rings: numbers with one prime, and reducing mod itRings, fields and algebras
References
Dummit and Foote, Abstract Algebra · ch. 12 (modules over a PID, Smith normal form)Background reading suggested by the AI namer · unchecked
Uses
Used by
85 Lean files, main folder ReciprocityTheory.DualLattices.