toMatrix Diagonal from Unit Factorization
ProvedWeilConjectures.exists_toMatrix_diag_of_unit_facchange-of-basislinear-algebrasmith-normal-formweil-conjectures
Let be a field and a finite index type. Suppose have unit determinants and for some family . Then there exist bases of in which is represented by .
This is the converse change-of-basis to exists_unit_cob_of_toMatrix_diagonal (A64c).
Preamble
import Mathlib /-- A64c REV-COB: unit-determinant factorization `P M Q = diag(a)` yields bases of `K[X]^ι` in which `toLin' M` is represented by `diag(a)`. Converse direction to `exists_unit_cob_of_toMatrix_diagonal` (503effa6). **REUSE:** `Pi.basisFun`, `Basis.map`, `Matrix.toLin'`, `LinearMap.toMatrix`, `Matrix.isUnit_iff_isUnit_det`. -/
Formal statement
theorem WeilConjectures.exists_toMatrix_diag_of_unit_fac
{K ι : Type*} [Field K] [Fintype ι] [DecidableEq ι]
{M : Matrix ι ι (Polynomial K)} {a : ι → Polynomial K}
{P Q : Matrix ι ι (Polynomial K)}
(hP : IsUnit P.det) (hQ : IsUnit Q.det)
(h : P * M * Q = Matrix.diagonal a) :
∃ (bSrc bTgt : Module.Basis ι (Polynomial K) (ι → Polynomial K)),
LinearMap.toMatrix bSrc bTgt (Matrix.toLin' M) = Matrix.diagonal a := by
sorrySource
Pi.basisFun; Basis.map; Matrix.toLin'; Hoffman–Kunze Ch. 6