The index of the image of an endomorphism of a free module over a PID #
Let R be a principal ideal domain and f an endomorphism of a finite free R-module M with
nonzero determinant. Then M ⧸ range f has as many elements as R ⧸ (det f). The Smith normal
form of range f inside M splits the quotient into the residue rings R ⧸ (aᵢ) of the
diagonal coefficients, whose product is associated to det f, and the cardinality of a quotient
of a Dedekind domain is multiplicative in the ideal.
This is the principal ideal domain form of Mathlib's Submodule.natAbs_det_equiv and
AddSubgroup.index_eq_natAbs_det, where R = ℤ and Nat.card (ℤ ⧸ (d)) = |d|. Over a discrete
valuation ring, when the determinant is associated to ϖ ^ k for a uniformizer ϖ, the quotient
has q ^ k elements, where q is the cardinality of the residue field: this is the lattice index
behind the scaling law of Haar measure under linear maps of Kⁿ for a non-archimedean local
field K. No finiteness of the residue field is needed; when it is infinite both sides are 0
for k ≠ 0.
Main results #
LinearMap.card_quotient_range_eq_card_quotient_span_det: fordet f ≠ 0,Nat.card (M ⧸ range f) = Nat.card (R ⧸ Ideal.span {det f}).Matrix.card_quotient_range_mulVecLin_eq_card_quotient_span_det: the same for a square matrix acting onι → R.Matrix.card_quotient_range_mulVecLin_eq_pow: over a discrete valuation ring, ifdet Ais associated toϖ ^ kfor a uniformizerϖ, the quotient hasq ^ kelements.LinearMap.infinite_quotient_range_of_det_eq_zero: over an infinite domain, ifdet f = 0thenM ⧸ range fis infinite.
The index of the image of an endomorphism of a finite free module over a principal ideal domain is that of the principal ideal generated by its determinant, provided the determinant is nonzero.
An endomorphism with vanishing determinant has infinite cokernel. Over an infinite domain,
if det f = 0 then M ⧸ range f is infinite. Together with
card_quotient_range_eq_card_quotient_span_det, over an infinite principal ideal domain the
cokernel of f is finite exactly when det f ≠ 0 and R ⧸ (det f) is finite.
The index of the image lattice of a square matrix over a principal ideal domain with nonzero determinant is that of the principal ideal generated by its determinant.
The index of an image lattice over a discrete valuation ring. For a square matrix A
over a discrete valuation ring whose determinant is associated to ϖ ^ k for a uniformizer ϖ,
the integer box ι → R modulo the image of A has q ^ k elements, where q is the
cardinality of the residue field.