Documentation

TauCeti.LinearAlgebra.Matrix.GeneralLinearGroup.Basis

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 #

Main statements #

noncomputable def Module.Basis.toGL {k : Type u_1} {V : Type u_2} {ι : Type u_3} [CommRing k] [AddCommGroup V] [Module k V] [Fintype ι] [DecidableEq ι] (b : Basis ι k V) :
(V ≃ₗ[k] V) ≃* GL ι k

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
    @[simp]
    theorem Module.Basis.toLin'_toGL {k : Type u_1} {V : Type u_2} {ι : Type u_3} [CommRing k] [AddCommGroup V] [Module k V] [Fintype ι] [DecidableEq ι] (b : Basis ι k V) (f : V ≃ₗ[k] V) :

    The matrix of f in the basis b acts through Matrix.GeneralLinearGroup.toLin' b as f itself.

    @[simp]
    theorem Module.Basis.coe_toGL {k : Type u_1} {V : Type u_2} {ι : Type u_3} [CommRing k] [AddCommGroup V] [Module k V] [Fintype ι] [DecidableEq ι] (b : Basis ι k V) (f : V ≃ₗ[k] V) :
    ↑(b.toGL f) = (LinearMap.toMatrix b b) ↑f

    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).

    @[simp]
    theorem Module.Basis.toGL_smulOfUnit {k : Type u_1} {V : Type u_2} {ι : Type u_3} [CommRing k] [AddCommGroup V] [Module k V] [Fintype ι] [DecidableEq ι] (b : Basis ι k V) (a : kˣ) :

    Multiplication by a unit a has matrix the scalar matrix a in every basis.

    @[simp]
    theorem Module.Basis.finTwoProd_toGL_symm_apply {R : Type u_4} [CommRing R] (g : GL (Fin 2) R) (x y : R) :
    ((Basis.finTwoProd R).toGL.symm g) (x, y) = (↑g 0 0 * x + ↑g 0 1 * y, ↑g 1 0 * x + ↑g 1 1 * y)

    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).

    theorem Module.Basis.fin_two_basis_generators {R : Type u_4} {M : Type u_5} [CommRing R] [Nontrivial R] [AddCommGroup M] [Module R M] (b : Basis (Fin 2) R M) (γ : GL (Fin 2) R) :
    ↑γ 0 0 • b 0 + ↑γ 1 0 • b 1 ≠ 0 ∧ ∀ (z : M), ∃ (m : R) (n : R), m • (↑γ 0 0 • b 0 + ↑γ 1 0 • b 1) + n • (↑γ 0 1 • b 0 + ↑γ 1 1 • b 1) = z

    An invertible change of a two-element basis has nonzero first generator and still generates every element over the coefficient ring.