SNF Coefficients with Diagonalizing Bases over
ProvedWeilConjectures.exists_snf_coeffs_of_poly_matrixlinear-algebrapidsmith-normal-formweil-conjectures
Let be a field and a finite index type. There exists an assignment sending each matrix to a diagonal together with bases of such that the matrix of in these bases is diagonal:
This is the coefficient-extraction phase of the PID-lift of Mathlib's Submodule.smithNormalForm / smithNormalFormCoeffs (A44).
Preamble
import Mathlib /-- A44 SNF-UNIT-EQUIV (coeffs phase): PID-lift of `Submodule.smithNormalForm` / `smithNormalFormCoeffs` yields a diagonal assignment `d` together with bases of `K[X]^ι` in which `toLin' M` is represented by `diagonal (d M)`. **REUSE:** `Submodule.smithNormalForm`, `smithNormalFormCoeffs`, `Module.Basis.SmithNormalForm`, `Polynomial.instEuclideanDomain`, `EuclideanDomain.to_principal_ideal_domain`, `LinearMap.toMatrix`. -/
Formal statement
theorem WeilConjectures.exists_snf_coeffs_of_poly_matrix
{K ι : Type*} [Field K] [Fintype ι] [DecidableEq ι] :
∃ (d : Matrix ι ι (Polynomial K) → (ι → Polynomial K)),
∀ M, ∃ (bSrc bTgt : Module.Basis ι (Polynomial K) (ι → Polynomial K)),
LinearMap.toMatrix bSrc bTgt (Matrix.toLin' M) = Matrix.diagonal (d M) := by
sorrySource
Smith normal form over Euclidean domains; Mathlib Submodule.smithNormalForm / smithNormalFormCoeffs; LinearMap.toMatrix; Hoffman–Kunze, Linear Algebra, Ch. 6