Invertible matrices of linear automorphisms in a basis #
Mathlib identifies GL ι k with the general linear group LinearMap.GeneralLinearGroup k V of a
module with a finite basis (Matrix.GeneralLinearGroup.toLin'), and that group with the linear
automorphisms V ≃ₗ[k] V (LinearMap.GeneralLinearGroup.generalLinearEquiv). This file records
the composite, which sends a linear automorphism to its invertible matrix in the chosen basis.
Main definitions #
Module.Basis.toGL: the group isomorphism(V ≃ₗ[k] V) ≃* GL ι kgiven by a basis.
Main statements #
Module.Basis.toLin'_toGL: reading the matrix back throughtoLin'recovers the automorphism.Module.Basis.coe_toGL: the matrix offisLinearMap.toMatrix b b f, so its(i, j)entry is thei-th coordinate off (b j).Module.Basis.toGL_smulOfUnit: multiplication by a unit has the scalar matrix of that unit.Module.Basis.finTwoProd_toGL_symm_apply: in the standard basis ofR × R, an invertible2 × 2matrix acts by multiplication of column vectors.Module.Basis.fin_two_basis_generators: an invertible two-by-two change of basis has nonzero first generator and generates the whole module.
The invertible matrix of a linear automorphism in the basis b, as a group isomorphism
between the linear automorphisms of V and GL ι k.
Instances For
The matrix of f in the basis b acts through Matrix.GeneralLinearGroup.toLin' b as f
itself.
The invertible matrix of f in the basis b is its matrix LinearMap.toMatrix b b f: the
(i, j) entry is the i-th coordinate of f (b j).
Multiplication by a unit a has matrix the scalar matrix a in every basis.
In the standard basis of R × R, the linear automorphism of an invertible matrix g is
multiplication of column vectors by g: it sends (x, y) to (g₀₀ x + g₀₁ y, g₁₀ x + g₁₁ y).
An invertible change of a two-element basis has nonzero first generator and still generates every element over the coefficient ring.