The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V07. Linear algebra

Mathlib.LinearAlgebra.Matrix.SpecialLinearGroup

147 declarations and 2 deprecated aliases. Mathlib docs · Source

The Special Linear group $SL(n, R)$

This file defines the elements of the Special Linear group SpecialLinearGroup n R, consisting of all square R-matrices with determinant 1 on the fintype n by n. In addition, we define the group structure on SpecialLinearGroup n R and the embedding into the general linear group GeneralLinearGroup R (n → R).

Main definitions

  • Matrix.SpecialLinearGroup is the type of matrices with determinant 1
  • Matrix.SpecialLinearGroup.group gives the group structure (under multiplication)
  • Matrix.SpecialLinearGroup.toGL is the embedding SLₙ(R) → GLₙ(R)

Notation

For m : ℕ, we introduce the notation SL(m,R) for the special linear group on the fintype n = Fin m, in the scope MatrixGroups.

Implementation notes

The inverse operation in the SpecialLinearGroup is defined to be the adjugate matrix, so that SpecialLinearGroup n R has a group structure for all CommRing R.

We define the elements of SpecialLinearGroup to be matrices, since we need to compute their determinant. This is in contrast with GeneralLinearGroup R M, which consists of invertible R-linear maps on M.

We provide Matrix.SpecialLinearGroup.hasCoeToFun for convenience, but do not state any lemmas about it, and use Matrix.SpecialLinearGroup.coeFn_eq_coe to eliminate it ⇑ in favor of a regular ↑ coercion.

References

  • https://en.wikipedia.org/wiki/Special_linear_group

Tags

matrix group, group, matrix inverse

theorem Matrix.SpecialLinearGroup.diag2n.congr_simp E1 #

∀ {F : Type u_1} [inst : Field F] {ι : Type u_2} [inst_1 : Fintype ι] [inst_2 : DecidableEq ι] {i i_1 : ι}
  (e_i : i = i_1) {j j_1 : ι} (e_j : j = j_1) (hij : i ≠ j) (a a_1 : F) (e_a : a = a_1) (ha : a ≠ 0),
  Matrix.SpecialLinearGroup.diag2n hij a ha = Matrix.SpecialLinearGroup.diag2n ⋯ a_1 ⋯

theorem Matrix.SpecialLinearGroup.congr_simp E1 #

∀ (n : Type u) {inst : DecidableEq n} [inst_1 : DecidableEq n] [inst_2 : Fintype n] (R : Type v) [inst_3 : CommRing R],
  Matrix.SpecialLinearGroup n R = Matrix.SpecialLinearGroup n R

theorem Matrix.SpecialLinearGroup.transvection.congr_simp E1 #

∀ {ι : Type u_1} {F : Type u_2} [inst : DecidableEq ι] [inst_1 : Fintype ι] [inst_2 : CommRing F] {i i_1 : ι}
  (e_i : i = i_1) {j j_1 : ι} (e_j : j = j_1) (hij : i ≠ j) (b b_1 : F),
  b = b_1 → Matrix.SpecialLinearGroup.transvection hij b = Matrix.SpecialLinearGroup.transvection ⋯ b_1

theorem rootsOfUnity.mkOfPowEq.congr_simp E1 #

∀ {M : Type u_1} [inst : CommMonoid M] (ζ ζ_1 : M) (e_ζ : ζ = ζ_1) {n : ℕ} [inst_1 : NeZero n] (h : ζ ^ n = 1),
  rootsOfUnity.mkOfPowEq ζ h = rootsOfUnity.mkOfPowEq ζ_1 ⋯

theorem Matrix.SpecialLinearGroup.mk.congr_simp E1 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] (A A_1 : Matrix n n R)
  (e_A : A = A_1) (h : A.det = 1), Matrix.SpecialLinearGroup.mk A h = Matrix.SpecialLinearGroup.mk A_1 ⋯

theorem Matrix.SpecialLinearGroup.diag2.congr_simp E1 #

∀ {F : Type u_1} [inst : Field F] (a a_1 : F) (e_a : a = a_1) (ha : a ≠ 0),
  Matrix.SpecialLinearGroup.diag2 a ha = Matrix.SpecialLinearGroup.diag2 a_1 ⋯

def Matrix.SpecialLinearGroup E3 #

(n : Type u) → [DecidableEq n] → [Fintype n] → (R : Type v) → [CommRing R] → Type (max 0 u v)

SpecialLinearGroup n R is the group of n by n R-matrices with determinant equal to 1.

def MatrixGroups.«termSL(_,_)» E1 #

Lean.ParserDescr

SpecialLinearGroup n R is the group of n by n R-matrices with determinant equal to 1.

instance Matrix.SpecialLinearGroup.instDecidableEq E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      {R : Type v} → [inst_2 : CommRing R] → [DecidableEq R] → DecidableEq (Matrix.SpecialLinearGroup n R)

If R and n have decidable equality then so does SL(n, R).

instance Matrix.SpecialLinearGroup.hasCoeToMatrix E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] → {R : Type v} → [inst_2 : CommRing R] → Coe (Matrix.SpecialLinearGroup n R) (Matrix n n R)

instance Matrix.SpecialLinearGroup.instCoeFun E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      {R : Type v} → [inst_2 : CommRing R] → CoeFun (Matrix.SpecialLinearGroup n R) fun x ↦ n → n → R

This instance is here for convenience, but is literally the same as the coercion from hasCoeToMatrix.

theorem Matrix.SpecialLinearGroup.ext_iff E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (A B : Matrix.SpecialLinearGroup n R), A = B ↔ ∀ (i j : n), ↑A i j = ↑B i j

theorem Matrix.SpecialLinearGroup.ext E1 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (A B : Matrix.SpecialLinearGroup n R), (∀ (i j : n), ↑A i j = ↑B i j) → A = B

instance Matrix.SpecialLinearGroup.subsingleton_of_subsingleton E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] [Subsingleton n],
  Subsingleton (Matrix.SpecialLinearGroup n R)

instance Matrix.SpecialLinearGroup.hasInv E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] → {R : Type v} → [inst_2 : CommRing R] → Inv (Matrix.SpecialLinearGroup n R)

instance Matrix.SpecialLinearGroup.hasMul E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] → {R : Type v} → [inst_2 : CommRing R] → Mul (Matrix.SpecialLinearGroup n R)

instance Matrix.SpecialLinearGroup.hasOne E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] → {R : Type v} → [inst_2 : CommRing R] → One (Matrix.SpecialLinearGroup n R)

instance Matrix.SpecialLinearGroup.instPowNat E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] → {R : Type v} → [inst_2 : CommRing R] → Pow (Matrix.SpecialLinearGroup n R) ℕ

instance Matrix.SpecialLinearGroup.instInhabited E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] → {R : Type v} → [inst_2 : CommRing R] → Inhabited (Matrix.SpecialLinearGroup n R)

instance Matrix.SpecialLinearGroup.instFintypeOfDecidableEq E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      {R : Type v} → [inst_2 : CommRing R] → [Fintype R] → [DecidableEq R] → Fintype (Matrix.SpecialLinearGroup n R)

instance Matrix.SpecialLinearGroup.instFinite E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] [Finite R],
  Finite (Matrix.SpecialLinearGroup n R)

def Matrix.SpecialLinearGroup.transpose E1 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      {R : Type v} → [inst_2 : CommRing R] → Matrix.SpecialLinearGroup n R → Matrix.SpecialLinearGroup n R

The transpose of a matrix in SL(n, R)

def Matrix.SpecialLinearGroup.«term_ᵀ» E1 #

Lean.TrailingParserDescr

The transpose of a matrix in SL(n, R)

def Matrix.SpecialLinearGroup.mk E1 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      {R : Type v} → [inst_2 : CommRing R] → (A : Matrix n n R) → A.det = 1 → Matrix.SpecialLinearGroup n R

Make a A : SpecialLinearGroup n R from A : Matrix n n R such that det A = 1.

Use this definition instead of (⟨A, h⟩ : SpecialLinearGroup n R).

theorem Matrix.SpecialLinearGroup.coe_mk E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] {A : Matrix n n R}
  (h : A.det = 1), ↑(Matrix.SpecialLinearGroup.mk A h) = A

theorem Matrix.SpecialLinearGroup.mk_inj E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] {A B : Matrix n n R}
  (hA : A.det = 1) (hB : B.det = 1), Matrix.SpecialLinearGroup.mk A hA = Matrix.SpecialLinearGroup.mk B hB ↔ A = B

theorem Matrix.SpecialLinearGroup.coe_inv E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (A : Matrix.SpecialLinearGroup n R), ↑A⁻¹ = (↑A).adjugate

theorem Matrix.SpecialLinearGroup.coe_mul E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (A B : Matrix.SpecialLinearGroup n R), ↑(A * B) = ↑A * ↑B

theorem Matrix.SpecialLinearGroup.coe_one E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R], ↑1 = 1

theorem Matrix.SpecialLinearGroup.det_coe E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (A : Matrix.SpecialLinearGroup n R), (↑A).det = 1

theorem Matrix.SpecialLinearGroup.mk_coe E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (A : Matrix.SpecialLinearGroup n R), Matrix.SpecialLinearGroup.mk ↑A ⋯ = A

theorem Matrix.SpecialLinearGroup.coe_pow E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (A : Matrix.SpecialLinearGroup n R) (m : ℕ), ↑(A ^ m) = ↑A ^ m

theorem Matrix.SpecialLinearGroup.coe_transpose E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (A : Matrix.SpecialLinearGroup n R), ↑A.transpose = (↑A).transpose

theorem Matrix.SpecialLinearGroup.det_ne_zero E1 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] [Nontrivial R]
  (g : Matrix.SpecialLinearGroup n R), (↑g).det ≠ 0

theorem Matrix.SpecialLinearGroup.row_ne_zero E1 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] [Nontrivial R]
  (g : Matrix.SpecialLinearGroup n R) (i : n), ↑g i ≠ 0

instance Matrix.SpecialLinearGroup.monoid E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] → {R : Type v} → [inst_2 : CommRing R] → Monoid (Matrix.SpecialLinearGroup n R)

instance Matrix.SpecialLinearGroup.instGroup E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] → {R : Type v} → [inst_2 : CommRing R] → Group (Matrix.SpecialLinearGroup n R)

def Matrix.SpecialLinearGroup.toLin' E1 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] → {R : Type v} → [inst_2 : CommRing R] → Matrix.SpecialLinearGroup n R →* (n → R) ≃ₗ[R] n → R

A version of Matrix.toLin' A that produces linear equivalences.

theorem Matrix.SpecialLinearGroup.toLin'_apply E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (A : Matrix.SpecialLinearGroup n R) (v : n → R), (Matrix.SpecialLinearGroup.toLin' A) v = (Matrix.toLin' ↑A) v

theorem Matrix.SpecialLinearGroup.toLin'_to_linearMap E1 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (A : Matrix.SpecialLinearGroup n R), ↑(Matrix.SpecialLinearGroup.toLin' A) = Matrix.toLin' ↑A

theorem Matrix.SpecialLinearGroup.toLin'_symm_apply E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (A : Matrix.SpecialLinearGroup n R) (v : n → R), (Matrix.SpecialLinearGroup.toLin' A).symm v = (Matrix.toLin' ↑A⁻¹) v

theorem Matrix.SpecialLinearGroup.toLin'_symm_to_linearMap E1 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (A : Matrix.SpecialLinearGroup n R), ↑(Matrix.SpecialLinearGroup.toLin' A).symm = Matrix.toLin' ↑A⁻¹

theorem Matrix.SpecialLinearGroup.toLin'_injective E1 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R],
  Function.Injective ⇑Matrix.SpecialLinearGroup.toLin'

def Matrix.SpecialLinearGroup.map E1 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      {R : Type v} →
        [inst_2 : CommRing R] →
          {S : Type u_1} →
            [inst_3 : CommRing S] → (R →+* S) → Matrix.SpecialLinearGroup n R →* Matrix.SpecialLinearGroup n S

A ring homomorphism from R to S induces a group homomorphism from SpecialLinearGroup n R to SpecialLinearGroup n S.

theorem Matrix.SpecialLinearGroup.map_apply_coe E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] {S : Type u_1}
  [inst_3 : CommRing S] (f : R →+* S) (g : Matrix.SpecialLinearGroup n R),
  ↑((Matrix.SpecialLinearGroup.map f) g) = (↑g).map ⇑f

theorem Matrix.SpecialLinearGroup.map_comp_map E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] {S : Type u_1}
  {T : Type u_2} [inst_3 : CommRing S] [inst_4 : CommRing T] (f : R →+* S) (g : S →+* T),
  (Matrix.SpecialLinearGroup.map g).comp (Matrix.SpecialLinearGroup.map f) = Matrix.SpecialLinearGroup.map (g.comp f)

theorem Matrix.SpecialLinearGroup.map_id E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R],
  Matrix.SpecialLinearGroup.map (RingHom.id R) = MonoidHom.id (Matrix.SpecialLinearGroup n R)

def Matrix.SpecialLinearGroup.mapEquiv E1 #

(n : Type u) →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      {R : Type v} →
        [inst_2 : CommRing R] →
          {S : Type u_1} →
            [inst_3 : CommRing S] → R ≃+* S → Matrix.SpecialLinearGroup n R ≃* Matrix.SpecialLinearGroup n S

The equivalence between SL n R and SL n S given by f : R ≃+* S.

theorem Matrix.SpecialLinearGroup.coe_mapEquiv_apply E0 #

∀ (n : Type u) [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] {S : Type u_1}
  [inst_3 : CommRing S] (e : R ≃+* S) (a : Matrix.SpecialLinearGroup n R),
  ↑((Matrix.SpecialLinearGroup.mapEquiv n e) a) = e.mapMatrix ↑a

theorem Matrix.SpecialLinearGroup.mapEquiv_refl E0 #

∀ (n : Type u) [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R],
  Matrix.SpecialLinearGroup.mapEquiv n (RingEquiv.refl R) = MulEquiv.refl (Matrix.SpecialLinearGroup n R)

theorem Matrix.SpecialLinearGroup.symm_mapEquiv E0 #

∀ (n : Type u) [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] {S : Type u_1}
  [inst_3 : CommRing S] (e : R ≃+* S),
  (Matrix.SpecialLinearGroup.mapEquiv n e).symm = Matrix.SpecialLinearGroup.mapEquiv n e.symm

theorem Matrix.SpecialLinearGroup.mapEquiv_trans_mapEquiv E0 #

∀ (n : Type u) [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] {S : Type u_1}
  {T : Type u_2} [inst_3 : CommRing S] [inst_4 : CommRing T] (e : R ≃+* S) (g : S ≃+* T),
  (Matrix.SpecialLinearGroup.mapEquiv n e).trans (Matrix.SpecialLinearGroup.mapEquiv n g) =
    Matrix.SpecialLinearGroup.mapEquiv n (e.trans g)

theorem Matrix.SpecialLinearGroup.toMonoidHom_mapEquiv E0 #

∀ (n : Type u) [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] {S : Type u_1}
  [inst_3 : CommRing S] (e : R ≃+* S), ↑(Matrix.SpecialLinearGroup.mapEquiv n e) = Matrix.SpecialLinearGroup.map ↑e

def Matrix.SpecialLinearGroup.reindex E1 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      (R : Type v) →
        [inst_2 : CommRing R] →
          {m : Type u_3} →
            [inst_3 : DecidableEq m] →
              [inst_4 : Fintype m] → m ≃ n → Matrix.SpecialLinearGroup m R ≃* Matrix.SpecialLinearGroup n R

The equivalence between SL m R and SL n R given by an equivalence e : m ≃ n.

theorem Matrix.SpecialLinearGroup.reindex_apply_coe E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] (R : Type v) [inst_2 : CommRing R] {m : Type u_3}
  [inst_3 : DecidableEq m] [inst_4 : Fintype m] (e : m ≃ n) (a : { a // (fun A ↦ A.det = 1) a }),
  ↑((Matrix.SpecialLinearGroup.reindex R e) a) = (↑a).submatrix ⇑e.symm ⇑e.symm

theorem Matrix.SpecialLinearGroup.symm_reindex E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] (R : Type v) [inst_2 : CommRing R] {m : Type u_3}
  [inst_3 : DecidableEq m] [inst_4 : Fintype m] (e : m ≃ n),
  (Matrix.SpecialLinearGroup.reindex R e).symm = Matrix.SpecialLinearGroup.reindex R e.symm

theorem Matrix.SpecialLinearGroup.reindex_trans_reindex E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] (R : Type v) [inst_2 : CommRing R] {m : Type u_3}
  {o : Type u_4} [inst_3 : DecidableEq m] [inst_4 : Fintype m] [inst_5 : DecidableEq o] [inst_6 : Fintype o] (e : m ≃ n)
  (e' : n ≃ o),
  (Matrix.SpecialLinearGroup.reindex R e).trans (Matrix.SpecialLinearGroup.reindex R e') =
    Matrix.SpecialLinearGroup.reindex R (e.trans e')

theorem Matrix.SpecialLinearGroup.reindex_refl E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] (R : Type v) [inst_2 : CommRing R],
  Matrix.SpecialLinearGroup.reindex R (Equiv.refl n) = MulEquiv.refl (Matrix.SpecialLinearGroup n R)

theorem Matrix.SpecialLinearGroup.reindex_map E1 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] (R : Type v) [inst_2 : CommRing R] {S : Type u_1}
  [inst_3 : CommRing S] {m : Type u_3} [inst_4 : DecidableEq m] [inst_5 : Fintype m] (e : m ≃ n) (f : R →+* S)
  (A : Matrix.SpecialLinearGroup m R),
  (Matrix.SpecialLinearGroup.reindex S e) ((Matrix.SpecialLinearGroup.map f) A) =
    (Matrix.SpecialLinearGroup.map f) ((Matrix.SpecialLinearGroup.reindex R e) A)

theorem Matrix.SpecialLinearGroup.reindex_comp_map E1 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] (R : Type v) [inst_2 : CommRing R] {S : Type u_1}
  [inst_3 : CommRing S] {m : Type u_3} [inst_4 : DecidableEq m] [inst_5 : Fintype m] (e : m ≃ n) (f : R →+* S),
  (↑(Matrix.SpecialLinearGroup.reindex S e)).comp (Matrix.SpecialLinearGroup.map f) =
    (Matrix.SpecialLinearGroup.map f).comp ↑(Matrix.SpecialLinearGroup.reindex R e)

theorem Matrix.SpecialLinearGroup.reindex_trans_mapEquiv E1 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] (R : Type v) [inst_2 : CommRing R] {S : Type u_1}
  [inst_3 : CommRing S] {m : Type u_3} [inst_4 : DecidableEq m] [inst_5 : Fintype m] (e : m ≃ n) (f : R ≃+* S),
  (Matrix.SpecialLinearGroup.reindex R e).trans (Matrix.SpecialLinearGroup.mapEquiv n f) =
    (Matrix.SpecialLinearGroup.mapEquiv m f).trans (Matrix.SpecialLinearGroup.reindex S e)

def Matrix.SpecialLinearGroup.prodEquiv E1 #

(n : Type u) →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      (R : Type v) →
        [inst_2 : CommRing R] →
          (S : Type u_1) →
            [inst_3 : CommRing S] →
              Matrix.SpecialLinearGroup n (R × S) ≃* Matrix.SpecialLinearGroup n R × Matrix.SpecialLinearGroup n S

The equivalence between SL n (R × S) and SL n R × SL n S.

theorem Matrix.SpecialLinearGroup.prodEquiv_apply E0 #

∀ (n : Type u) [inst : DecidableEq n] [inst_1 : Fintype n] (R : Type v) [inst_2 : CommRing R] (S : Type u_1)
  [inst_3 : CommRing S] (a : Matrix.SpecialLinearGroup n (R × S)),
  (Matrix.SpecialLinearGroup.prodEquiv n R S) a =
    ((Matrix.SpecialLinearGroup.map (RingHom.fst R S)) a, (Matrix.SpecialLinearGroup.map (RingHom.snd R S)) a)

theorem Matrix.SpecialLinearGroup.prodEquiv_symm_apply E0 #

∀ (n : Type u) [inst : DecidableEq n] [inst_1 : Fintype n] (R : Type v) [inst_2 : CommRing R] (S : Type u_1)
  [inst_3 : CommRing S] (A : Matrix.SpecialLinearGroup n R × Matrix.SpecialLinearGroup n S),
  (Matrix.SpecialLinearGroup.prodEquiv n R S).symm A = ⟨Matrix.of fun i j ↦ (↑A.1 i j, ↑A.2 i j), ⋯⟩

def Matrix.SpecialLinearGroup.piEquiv E1 #

(n : Type u) →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      {ι : Type u_3} →
        (R : ι → Type u_4) →
          [inst_2 : (i : ι) → CommRing (R i)] →
            Matrix.SpecialLinearGroup n ((i : ι) → R i) ≃* ((i : ι) → Matrix.SpecialLinearGroup n (R i))

The monoid equivalence between SL n of a product of rings, and the product of the SL n of each ring.

theorem Matrix.SpecialLinearGroup.piEquiv_symm_apply_coe E0 #

∀ (n : Type u) [inst : DecidableEq n] [inst_1 : Fintype n] {ι : Type u_3} (R : ι → Type u_4)
  [inst_2 : (i : ι) → CommRing (R i)] (A : (i : ι) → Matrix.SpecialLinearGroup n (R i)),
  ↑((Matrix.SpecialLinearGroup.piEquiv n R).symm A) = Matrix.of fun a b i ↦ ↑(A i) a b

theorem Matrix.SpecialLinearGroup.piEquiv_apply_coe E0 #

∀ (n : Type u) [inst : DecidableEq n] [inst_1 : Fintype n] {ι : Type u_3} (R : ι → Type u_4)
  [inst_2 : (i : ι) → CommRing (R i)] (A : Matrix.SpecialLinearGroup n ((i : ι) → R i)) (i : ι),
  ↑((Matrix.SpecialLinearGroup.piEquiv n R) A i) = (↑A).map ⇑(Pi.evalRingHom R i)

theorem Matrix.SpecialLinearGroup.center_eq_bot_of_subsingleton E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] [Subsingleton n],
  Subgroup.center (Matrix.SpecialLinearGroup n R) = ⊥

theorem Matrix.SpecialLinearGroup.scalar_eq_self_of_mem_center E1 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  {A : Matrix.SpecialLinearGroup n R},
  A ∈ Subgroup.center (Matrix.SpecialLinearGroup n R) → ∀ (i : n), (Matrix.scalar n) (↑A i i) = ↑A

theorem Matrix.SpecialLinearGroup.scalar_eq_coe_self_center E1 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (A : ↥(Subgroup.center (Matrix.SpecialLinearGroup n R))) (i : n), (Matrix.scalar n) (↑↑A i i) = ↑↑A

theorem Matrix.SpecialLinearGroup.mem_center_iff E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  {A : Matrix.SpecialLinearGroup n R},
  A ∈ Subgroup.center (Matrix.SpecialLinearGroup n R) ↔ ∃ r, r ^ Fintype.card n = 1 ∧ (Matrix.scalar n) r = ↑A

The center of a special linear group of degree n is the subgroup of scalar matrices, for which the scalars are the n-th roots of unity.

def Matrix.SpecialLinearGroup.center_equiv_rootsOfUnity' E1 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      {R : Type v} →
        [inst_2 : CommRing R] →
          n → ↥(Subgroup.center (Matrix.SpecialLinearGroup n R)) ≃* ↥(rootsOfUnity (Fintype.card n) R)

An equivalence of groups, from the center of the special linear group to the roots of unity.

theorem Matrix.SpecialLinearGroup.center_equiv_rootsOfUnity'_apply E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] (i : n)
  (A : ↥(Subgroup.center (Matrix.SpecialLinearGroup n R))),
  (Matrix.SpecialLinearGroup.center_equiv_rootsOfUnity' i) A = rootsOfUnity.mkOfPowEq (↑↑A i i) ⋯

theorem Matrix.SpecialLinearGroup.center_equiv_rootsOfUnity'_symm_apply_coe_coe E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] (i : n)
  (a : ↥(rootsOfUnity (Fintype.card n) R)), ↑↑((Matrix.SpecialLinearGroup.center_equiv_rootsOfUnity' i).symm a) = a • 1

def Matrix.SpecialLinearGroup.center_equiv_rootsOfUnity E1 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      {R : Type v} →
        [inst_2 : CommRing R] →
          ↥(Subgroup.center (Matrix.SpecialLinearGroup n R)) ≃* ↥(rootsOfUnity (max (Fintype.card n) 1) R)

An equivalence of groups, from the center of the special linear group to the roots of unity.

See also center_equiv_rootsOfUnity'.

instance Matrix.SpecialLinearGroup.instCoeInt E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      {R : Type v} → [inst_2 : CommRing R] → Coe (Matrix.SpecialLinearGroup n ℤ) (Matrix.SpecialLinearGroup n R)

Coercion of SL n ℤ to SL n R for a commutative ring R.

theorem Matrix.SpecialLinearGroup.coe_matrix_coe E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  (g : Matrix.SpecialLinearGroup n ℤ),
  ↑((Matrix.SpecialLinearGroup.map (Int.castRingHom R)) g) = (↑g).map ⇑(Int.castRingHom R)

theorem Matrix.SpecialLinearGroup.map_intCast_injective E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] [CharZero R],
  Function.Injective ⇑(Matrix.SpecialLinearGroup.map (Int.castRingHom R))

theorem Matrix.SpecialLinearGroup.map_intCast_inj E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R] [CharZero R]
  {x y : Matrix.SpecialLinearGroup n ℤ},
  (Matrix.SpecialLinearGroup.map (Int.castRingHom R)) x = (Matrix.SpecialLinearGroup.map (Int.castRingHom R)) y ↔ x = y

instance Matrix.SpecialLinearGroup.instNeg E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      {R : Type v} → [inst_2 : CommRing R] → [Fact (Even (Fintype.card n))] → Neg (Matrix.SpecialLinearGroup n R)

Formal operation of negation on special linear group on even cardinality n given by negating each element.

theorem Matrix.SpecialLinearGroup.coe_neg E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  [inst_3 : Fact (Even (Fintype.card n))] (g : Matrix.SpecialLinearGroup n R), ↑(-g) = -↑g

instance Matrix.SpecialLinearGroup.instHasDistribNeg E0 #

{n : Type u} →
  [inst : DecidableEq n] →
    [inst_1 : Fintype n] →
      {R : Type v} →
        [inst_2 : CommRing R] → [Fact (Even (Fintype.card n))] → HasDistribNeg (Matrix.SpecialLinearGroup n R)

theorem Matrix.SpecialLinearGroup.coe_int_neg E0 #

∀ {n : Type u} [inst : DecidableEq n] [inst_1 : Fintype n] {R : Type v} [inst_2 : CommRing R]
  [inst_3 : Fact (Even (Fintype.card n))] (g : Matrix.SpecialLinearGroup n ℤ),
  (Matrix.SpecialLinearGroup.map (Int.castRingHom R)) (-g) = -(Matrix.SpecialLinearGroup.map (Int.castRingHom R)) g

theorem Matrix.SpecialLinearGroup.SL2_inv_expl_det E1 #

∀ {R : Type v} [inst : CommRing R] (A : Matrix.SpecialLinearGroup (Fin 2) R),
  !![↑A 1 1, -↑A 0 1; -↑A 1 0, ↑A 0 0].det = 1

theorem Matrix.SpecialLinearGroup.SL2_inv_expl E1 #

∀ {R : Type v} [inst : CommRing R] (A : Matrix.SpecialLinearGroup (Fin 2) R),
  A⁻¹ = Matrix.SpecialLinearGroup.mk !![↑A 1 1, -↑A 0 1; -↑A 1 0, ↑A 0 0] ⋯

theorem Matrix.SpecialLinearGroup.eta_fin_two E1 #

∀ {R : Type v} [inst : CommRing R] (g : Matrix.SpecialLinearGroup (Fin 2) R),
  g = Matrix.SpecialLinearGroup.mk !![↑g 0 0, ↑g 0 1; ↑g 1 0, ↑g 1 1] ⋯

theorem Matrix.SpecialLinearGroup.fin_two_induction E1 #

∀ {R : Type v} [inst : CommRing R] (P : Matrix.SpecialLinearGroup (Fin 2) R → Prop),
  (∀ (a b c d : R) (hdet : a * d - b * c = 1), P (Matrix.SpecialLinearGroup.mk !![a, b; c, d] ⋯)) →
    ∀ (g : Matrix.SpecialLinearGroup (Fin 2) R), P g

theorem Matrix.SpecialLinearGroup.fin_two_exists_eq_mk_of_apply_zero_one_eq_zero E1 #

∀ {R : Type u_3} [inst : Field R] (g : Matrix.SpecialLinearGroup (Fin 2) R),
  ↑g 1 0 = 0 → ∃ a b, ∃ (h : a ≠ 0), g = Matrix.SpecialLinearGroup.mk !![a, b; 0, a⁻¹] ⋯

theorem Matrix.SpecialLinearGroup.isCoprime_row E1 #

∀ {R : Type v} [inst : CommRing R] (A : Matrix.SpecialLinearGroup (Fin 2) R) (i : Fin 2), IsCoprime (↑A i 0) (↑A i 1)

theorem Matrix.SpecialLinearGroup.isCoprime_col E1 #

∀ {R : Type v} [inst : CommRing R] (A : Matrix.SpecialLinearGroup (Fin 2) R) (j : Fin 2), IsCoprime (↑A 0 j) (↑A 1 j)

theorem IsCoprime.exists_SL2_col E1 #

∀ {R : Type u_1} [inst : CommRing R] {a b : R}, IsCoprime a b → ∀ (j : Fin 2), ∃ g, ↑g 0 j = a ∧ ↑g 1 j = b

Given any pair of coprime elements of R, there exists a matrix in SL(2, R) having those entries as its left or right column.

theorem IsCoprime.exists_SL2_row E1 #

∀ {R : Type u_1} [inst : CommRing R] {a b : R}, IsCoprime a b → ∀ (i : Fin 2), ∃ g, ↑g i 0 = a ∧ ↑g i 1 = b

Given any pair of coprime elements of R, there exists a matrix in SL(2, R) having those entries as its top or bottom row.

theorem IsCoprime.vecMulSL E1 #

∀ {R : Type u_1} [inst : CommRing R] {v : Fin 2 → R},
  IsCoprime (v 0) (v 1) →
    ∀ (A : Matrix.SpecialLinearGroup (Fin 2) R), IsCoprime (Matrix.vecMul v (↑A) 0) (Matrix.vecMul v (↑A) 1)

A vector with coprime entries, right-multiplied by a matrix in SL(2, R), has coprime entries.

theorem IsCoprime.mulVecSL E1 #

∀ {R : Type u_1} [inst : CommRing R] {v : Fin 2 → R},
  IsCoprime (v 0) (v 1) → ∀ (A : Matrix.SpecialLinearGroup (Fin 2) R), IsCoprime ((↑A).mulVec v 0) ((↑A).mulVec v 1)

A vector with coprime entries, left-multiplied by a matrix in SL(2, R), has coprime entries.

instance Matrix.instDistribMulActionSpecialLinearGroupForall E0 #

{F : Type u_1} →
  [inst : CommRing F] →
    {ι : Type u_2} →
      [inst_1 : DecidableEq ι] → [inst_2 : Fintype ι] → DistribMulAction (Matrix.SpecialLinearGroup ι F) (ι → F)

instance Matrix.instSMulCommClassSpecialLinearGroupForall E0 #

∀ {F : Type u_1} [inst : CommRing F] {ι : Type u_2} [inst_1 : DecidableEq ι] [inst_2 : Fintype ι],
  SMulCommClass (Matrix.SpecialLinearGroup ι F) F (ι → F)

theorem Matrix.SpecialLinearGroup.smul_def E0 #

∀ {F : Type u_1} [inst : CommRing F] {ι : Type u_2} [inst_1 : DecidableEq ι] [inst_2 : Fintype ι]
  (m : Matrix.SpecialLinearGroup ι F) (v : ι → F), m • v = ↑m • v

def Matrix.SpecialLinearGroup.transvection E1 #

{ι : Type u_1} →
  {F : Type u_2} →
    [inst : DecidableEq ι] →
      [inst_1 : Fintype ι] → [inst_2 : CommRing F] → {i j : ι} → i ≠ j → F → Matrix.SpecialLinearGroup ι F

The transvection 1 + b · E_{i,j} (the identity plus b in position (i, j)) as an element of SL ι F, when i ≠ j.

theorem Matrix.SpecialLinearGroup.transvection_coe E0 #

∀ {ι : Type u_1} {F : Type u_2} [inst : DecidableEq ι] [inst_1 : Fintype ι] [inst_2 : CommRing F] {i j : ι}
  (hij : i ≠ j) (b : F), ↑(Matrix.SpecialLinearGroup.transvection hij b) = 1 + Matrix.single i j b

theorem Matrix.SpecialLinearGroup.transvection_coeff_zero E0 #

∀ {ι : Type u_1} {F : Type u_2} [inst : DecidableEq ι] [inst_1 : Fintype ι] [inst_2 : CommRing F] {i j : ι}
  (hij : i ≠ j), Matrix.SpecialLinearGroup.transvection hij 0 = 1

theorem Matrix.SpecialLinearGroup.transvection_smul_single_fst E1 #

∀ {ι : Type u_1} {F : Type u_2} [inst : DecidableEq ι] [inst_1 : Fintype ι] [inst_2 : CommRing F] {i j : ι}
  (hij : i ≠ j) (b : F), Matrix.SpecialLinearGroup.transvection hij b • Pi.single i 1 = Pi.single i 1

The transvection transvection i j hij b acts on e_i = Pi.single i 1 as the identity.

theorem Matrix.SpecialLinearGroup.transvection_smul_single_snd E1 #

∀ {ι : Type u_1} {F : Type u_2} [inst : DecidableEq ι] [inst_1 : Fintype ι] [inst_2 : CommRing F] {i j : ι}
  (hij : i ≠ j) (b : F),
  Matrix.SpecialLinearGroup.transvection hij b • Pi.single j 1 = Pi.single j 1 + b • Pi.single i 1

The transvection transvection i j hij b acts on e_j = Pi.single j 1 by adding b·e_i.

theorem Matrix.SpecialLinearGroup.transvection_mul_neg E1 #

∀ {ι : Type u_1} {F : Type u_2} [inst : DecidableEq ι] [inst_1 : Fintype ι] [inst_2 : CommRing F] {i j : ι}
  (hij : i ≠ j) (b : F),
  Matrix.SpecialLinearGroup.transvection hij b * Matrix.SpecialLinearGroup.transvection hij (-b) = 1

Inverse of a transvection: transvection i j hij b * transvection i j hij (-b) = 1.

theorem Matrix.SpecialLinearGroup.transvection_inv E1 #

∀ {ι : Type u_1} {F : Type u_2} [inst : DecidableEq ι] [inst_1 : Fintype ι] [inst_2 : CommRing F] {i j : ι}
  (hij : i ≠ j) (b : F),
  (Matrix.SpecialLinearGroup.transvection hij b)⁻¹ = Matrix.SpecialLinearGroup.transvection hij (-b)

theorem Matrix.SpecialLinearGroup.transvection_add E1 #

∀ {ι : Type u_1} {F : Type u_2} [inst : DecidableEq ι] [inst_1 : Fintype ι] [inst_2 : CommRing F] {i j : ι}
  (hij : i ≠ j) (b₁ b₂ : F),
  Matrix.SpecialLinearGroup.transvection hij (b₁ + b₂) =
    Matrix.SpecialLinearGroup.transvection hij b₁ * Matrix.SpecialLinearGroup.transvection hij b₂

theorem Matrix.SpecialLinearGroup.transvection_mem_center_iff E0 #

∀ {ι : Type u_1} {F : Type u_2} [inst : DecidableEq ι] [inst_1 : Fintype ι] [inst_2 : CommRing F] {i j : ι}
  (hij : i ≠ j) (b : F),
  Matrix.SpecialLinearGroup.transvection hij b ∈ Subgroup.center (Matrix.SpecialLinearGroup ι F) ↔ b = 0

def Matrix.TransvectionStruct.toSpecialLinearGroup E1 #

{ι : Type u_1} →
  {F : Type u_2} →
    [inst : DecidableEq ι] →
      [inst_1 : Fintype ι] → [inst_2 : CommRing F] → Matrix.TransvectionStruct ι F → Matrix.SpecialLinearGroup ι F

Any transvection structure can be converted to a special linear matrix.

theorem Matrix.TransvectionStruct.toSpecialLinearGroup_def E0 #

∀ {ι : Type u_1} {F : Type u_2} [inst : DecidableEq ι] [inst_1 : Fintype ι] [inst_2 : CommRing F]
  (t : Matrix.TransvectionStruct ι F), t.toSpecialLinearGroup = Matrix.SpecialLinearGroup.transvection ⋯ t.c

theorem Matrix.TransvectionStruct.toSpecialLinearGroup_coe E0 #

∀ {ι : Type u_1} {F : Type u_2} [inst : DecidableEq ι] [inst_1 : Fintype ι] [inst_2 : CommRing F]
  (t : Matrix.TransvectionStruct ι F), ↑t.toSpecialLinearGroup = t.toMatrix

theorem Matrix.TransvectionStruct.toSpecialLinearGroup_mk E0 #

∀ {ι : Type u_1} {F : Type u_2} [inst : DecidableEq ι] [inst_1 : Fintype ι] [inst_2 : CommRing F] {i j : ι}
  (hij : i ≠ j) (c : F),
  { i := i, j := j, hij := hij, c := c }.toSpecialLinearGroup = Matrix.SpecialLinearGroup.transvection hij c

def Matrix.SpecialLinearGroup.diag2n E1 #

{F : Type u_1} →
  [inst : Field F] →
    {ι : Type u_2} →
      [inst_1 : Fintype ι] →
        [inst_2 : DecidableEq ι] → {i j : ι} → i ≠ j → (a : F) → a ≠ 0 → Matrix.SpecialLinearGroup ι F

An element in SLₙ(F) induced by a diagonal matrix 1 on any other entries and a, a⁻¹ on positions i and j respectively where i ≠ j.

theorem Matrix.SpecialLinearGroup.diag2n_coe E0 #

∀ {F : Type u_1} [inst : Field F] {ι : Type u_2} [inst_1 : Fintype ι] [inst_2 : DecidableEq ι] {i j : ι} (hij : i ≠ j)
  (a : F) (ha : a ≠ 0),
  ↑(Matrix.SpecialLinearGroup.diag2n hij a ha) = Matrix.diagonal fun k ↦ if k = i then a else if k = j then a⁻¹ else 1

abbrev Matrix.SpecialLinearGroup.diag2 E1 #

{F : Type u_1} → [inst : Field F] → (a : F) → a ≠ 0 → Matrix.SpecialLinearGroup (Fin 2) F

An element in SL₂(F) induced by a diagonal matrix with a, a⁻¹ on positions 0 and 1 respectively.

theorem Matrix.SpecialLinearGroup.diag2_def E0 #

∀ {F : Type u_1} [inst : Field F] {a : F} (ha : a ≠ 0),
  Matrix.SpecialLinearGroup.diag2 a ha = Matrix.SpecialLinearGroup.diag2n ⋯ a ha

theorem Matrix.SpecialLinearGroup.diag2_coe E0 #

∀ {F : Type u_1} [inst : Field F] (a : F) (ha : a ≠ 0),
  ↑(Matrix.SpecialLinearGroup.diag2 a ha) =
    Matrix.diagonal fun i ↦
      match i with
      | 0 => a
      | 1 => a⁻¹

theorem Matrix.SpecialLinearGroup.diag2_coe' E1 #

∀ {F : Type u_1} [inst : Field F] {a : F} (ha : a ≠ 0), ↑(Matrix.SpecialLinearGroup.diag2 a ha) = !![a, 0; 0, a⁻¹]

theorem Matrix.SpecialLinearGroup.diag2_smul_single_i₁ E1 #

∀ {F : Type u_1} [inst : Field F] {a : F} (ha : a ≠ 0),
  Matrix.SpecialLinearGroup.diag2 a ha • Pi.single 0 1 = a • Pi.single 0 1

theorem Matrix.SpecialLinearGroup.diag2_smul_single_i₂ E1 #

∀ {F : Type u_1} [inst : Field F] {a : F} (ha : a ≠ 0),
  Matrix.SpecialLinearGroup.diag2 a ha • Pi.single 1 1 = a⁻¹ • Pi.single 1 1

theorem Matrix.SpecialLinearGroup.diag2_mul_inv E1 #

∀ {F : Type u_1} [inst : Field F] (a : F) (ha : a ≠ 0),
  Matrix.SpecialLinearGroup.diag2 a ha * Matrix.SpecialLinearGroup.diag2 a⁻¹ ⋯ = 1

theorem Matrix.SpecialLinearGroup.diag2_inv E1 #

∀ {F : Type u_1} [inst : Field F] (a : F) (ha : a ≠ 0),
  (Matrix.SpecialLinearGroup.diag2 a ha)⁻¹ = Matrix.SpecialLinearGroup.diag2 a⁻¹ ⋯

def Matrix.SpecialLinearGroup.coeMonoidHom E1 #

{ι : Type u_2} →
  {R : Type u_3} →
    [inst : Fintype ι] →
      [inst_1 : DecidableEq ι] → [inst_2 : CommRing R] → Matrix.SpecialLinearGroup ι R →* Matrix ι ι R

the coercion to Matrix ι ι R as a monoid homomorphism

theorem Matrix.SpecialLinearGroup.coeMonoidHom_apply E0 #

∀ {ι : Type u_2} {R : Type u_3} [inst : Fintype ι] [inst_1 : DecidableEq ι] [inst_2 : CommRing R]
  (g : Matrix.SpecialLinearGroup ι R), Matrix.SpecialLinearGroup.coeMonoidHom g = ↑g

theorem Matrix.SpecialLinearGroup.coeMonoidHom_injective E1 #

∀ {ι : Type u_2} {R : Type u_3} [inst : Fintype ι] [inst_1 : DecidableEq ι] [inst_2 : CommRing R],
  Function.Injective ⇑Matrix.SpecialLinearGroup.coeMonoidHom

theorem Matrix.SpecialLinearGroup.diagonal_neZero E1 #

∀ {F : Type u_1} [inst : Field F] {ι : Type u_2} [inst_1 : Fintype ι] [inst_2 : DecidableEq ι] (D : ι → F),
  (Matrix.diagonal D).det = 1 → ∀ (j : ι), D j ≠ 0

theorem Matrix.SpecialLinearGroup.diag_commute E1 #

∀ {F : Type u_1} [inst : Field F] {ι : Type u_2} [inst_1 : Fintype ι] [inst_2 : DecidableEq ι] (i₀ : ι) (D : ι → F)
  (hD : (Matrix.diagonal D).det = 1),
  (↑{i | i ≠ i₀}).Pairwise
    (Function.onFun Commute fun i ↦ if hi : i ≠ i₀ then Matrix.SpecialLinearGroup.diag2n hi (D i) ⋯ else 1)

theorem Matrix.SpecialLinearGroup.diag_eq_diag2n_prod E1 #

∀ {F : Type u_1} [inst : Field F] {ι : Type u_2} [inst_1 : Fintype ι] [inst_2 : DecidableEq ι] (i₀ : ι) (D : ι → F)
  (hD : (Matrix.diagonal D).det = 1),
  Matrix.SpecialLinearGroup.mk (Matrix.diagonal D) hD =
    {i | i ≠ i₀}.noncommProd (fun i ↦ if hi : i ≠ i₀ then Matrix.SpecialLinearGroup.diag2n hi (D i) ⋯ else 1) ⋯

theorem Matrix.SpecialLinearGroup.exists_list_transvec_mul_diagonal_mul_list_transvec E1 #

∀ {F : Type u_1} [inst : Field F] {ι : Type u_2} [inst_1 : Fintype ι] [inst_2 : DecidableEq ι]
  (M : Matrix.SpecialLinearGroup ι F),
  ∃ L L' D,
    ∃ (hD : (Matrix.diagonal D).det = 1),
      M =
        (List.map Matrix.TransvectionStruct.toSpecialLinearGroup L).prod *
            Matrix.SpecialLinearGroup.mk (Matrix.diagonal D) hD *
          (List.map Matrix.TransvectionStruct.toSpecialLinearGroup L').prod

The SpecialLinearGroup analogue of Matrix.Pivot.exists_list_transvec_mul_diagonal_mul_list_transvec: every element of SL(ι, F) is a product of transvections, a diagonal matrix of determinant 1, and transvections.

theorem Matrix.SpecialLinearGroup.diagonal_transvection_induction' E1 #

∀ {F : Type u_1} [inst : Field F] {ι : Type u_2} [inst_1 : Fintype ι] [inst_2 : DecidableEq ι] [Nontrivial ι]
  (P : Matrix.SpecialLinearGroup ι F → Prop) (M : Matrix.SpecialLinearGroup ι F),
  (∀ (i j : ι) (hij : i ≠ j) {c : F} (hc : c ≠ 0), P (Matrix.SpecialLinearGroup.diag2n hij c hc)) →
    (∀ (i j : ι) (hij : i ≠ j) (a : F), P (Matrix.SpecialLinearGroup.transvection hij a)) →
      (∀ (A B : Matrix.SpecialLinearGroup ι F), P A → P B → P (A * B)) → P M

theorem Matrix.commutator_diag2_transvection E1 #

∀ {F : Type u_1} [inst : Field F] (a : F) (ha : a ≠ 0) (b c : F),
  c = b * (a ^ 2 - 1) →
    ⁅Matrix.SpecialLinearGroup.diag2 a ha, Matrix.SpecialLinearGroup.transvection ⋯ b⁆ =
      Matrix.SpecialLinearGroup.transvection ⋯ c

theorem Matrix.transvection_mem_commutator₀ E1 #

∀ {F : Type u_1} [inst : Field F] {a : F},
  a ≠ 0 →
    a ^ 2 ≠ 1 → ∀ (c : F), Matrix.SpecialLinearGroup.transvection ⋯ c ∈ commutator (Matrix.SpecialLinearGroup (Fin 2) F)

For any c : F, given a ≠ 0 and a² ≠ 1, the transvection transvection i₁ i₂ hij c is a commutator in SL ι F, hence lies in commutator (SL ι F).

theorem Matrix.transvection_mem_commutator₁ E1 #

∀ {F : Type u_1} [inst : Field F] {a : F},
  a ≠ 0 →
    a ^ 2 ≠ 1 → ∀ (c : F), Matrix.SpecialLinearGroup.transvection ⋯ c ∈ commutator (Matrix.SpecialLinearGroup (Fin 2) F)

theorem Matrix.transvection_mem_commutator E1 #

∀ {F : Type u_1} [inst : Field F] {a : F},
  a ≠ 0 →
    a ^ 2 ≠ 1 →
      ∀ {i j : Fin 2} (h : i ≠ j) (c : F),
        Matrix.SpecialLinearGroup.transvection h c ∈ commutator (Matrix.SpecialLinearGroup (Fin 2) F)

theorem Matrix.diag2_decompose E1 #

∀ {F : Type u_1} [inst : Field F] (a : F) (ha : a ≠ 0),
  Matrix.SpecialLinearGroup.diag2 a ha =
    Matrix.SpecialLinearGroup.transvection ⋯ a * Matrix.SpecialLinearGroup.transvection ⋯ (-a⁻¹) *
            Matrix.SpecialLinearGroup.transvection ⋯ a *
          Matrix.SpecialLinearGroup.transvection ⋯ (-1) *
        Matrix.SpecialLinearGroup.transvection ⋯ 1 *
      Matrix.SpecialLinearGroup.transvection ⋯ (-1)

theorem Matrix.SL2.transvection_induction E1 #

∀ {F : Type u_1} [inst : Field F] (P : Matrix.SpecialLinearGroup (Fin 2) F → Prop),
  (∀ (i j : Fin 2) (h : i ≠ j) (c : F), P (Matrix.SpecialLinearGroup.transvection h c)) →
    (∀ (A B : Matrix.SpecialLinearGroup (Fin 2) F), P A → P B → P (A * B)) →
      ∀ (A : Matrix.SpecialLinearGroup (Fin 2) F), P A

theorem Matrix.SL2.commutator_eq_top E1 #

∀ {F : Type u_1} [inst : Field F] {a : F}, a ≠ 0 → a ^ 2 ≠ 1 → commutator (Matrix.SpecialLinearGroup (Fin 2) F) = ⊤

def ModularGroup.S E1 #

Matrix.SpecialLinearGroup (Fin 2) ℤ

The matrix S = [[0, -1], [1, 0]] as an element of SL(2, ℤ).

This element acts naturally on the Euclidean plane as a rotation about the origin by π / 2.

This element also acts naturally on the hyperbolic plane as rotation about i by π. It represents the Möbius transformation z ↦ -1/z and is an involutive elliptic isometry.

def ModularGroup.T E1 #

Matrix.SpecialLinearGroup (Fin 2) ℤ

The matrix T = [[1, 1], [0, 1]] as an element of SL(2, ℤ).

theorem ModularGroup.coe_S E0 #

↑ModularGroup.S = !![0, -1; 1, 0]

theorem ModularGroup.S_inv E1 #

ModularGroup.S⁻¹ = -ModularGroup.S

theorem ModularGroup.coe_T E0 #

↑ModularGroup.T = !![1, 1; 0, 1]

theorem ModularGroup.coe_T_inv E0 #

↑ModularGroup.T⁻¹ = !![1, -1; 0, 1]

theorem ModularGroup.coe_T_zpow E0 #

∀ (n : ℤ), ↑(ModularGroup.T ^ n) = !![1, n; 0, 1]

theorem ModularGroup.T_pow_mul_apply_one E0 #

∀ (n : ℤ) (g : Matrix.SpecialLinearGroup (Fin 2) ℤ), ↑(ModularGroup.T ^ n * g) 1 = ↑g 1

theorem ModularGroup.T_mul_apply_one E0 #

∀ (g : Matrix.SpecialLinearGroup (Fin 2) ℤ), ↑(ModularGroup.T * g) 1 = ↑g 1

theorem ModularGroup.T_inv_mul_apply_one E0 #

∀ (g : Matrix.SpecialLinearGroup (Fin 2) ℤ), ↑(ModularGroup.T⁻¹ * g) 1 = ↑g 1

theorem ModularGroup.S_mul_S_eq E0 #

ModularGroup.S * ModularGroup.S = -1

theorem ModularGroup.T_S_rel E1 #

ModularGroup.S • ModularGroup.S • ModularGroup.S • ModularGroup.T • ModularGroup.S • ModularGroup.T • ModularGroup.S =
  ModularGroup.T⁻¹

Deprecated aliases

NameNew nameSince
Matrix.SpecialLinearGroup.transvection_mulVec_single_otherMatrix.SpecialLinearGroup.transvection_smul_single_snd2026-06-22
Matrix.SpecialLinearGroup.transvection_mulVec_single_selfMatrix.SpecialLinearGroup.transvection_smul_single_fst2026-06-22