mathlib documentation

linear_algebra.general_linear_group

The General Linear group $GL(n, R)$ #

This file defines the elements of the General Linear group general_linear_group n R, consisting of all invertible n by n R-matrices.

Main definitions #

Tags #

matrix group, group, matrix inverse

def matrix.general_linear_group (n : Type u) (R : Type v) [decidable_eq n] [fintype n] [comm_ring R] :
Type (max u v)

GL n R is the group of n by n R-matrices with unit determinant. Defined as a subtype of matrices

def matrix.general_linear_group.det {n : Type u} [decidable_eq n] [fintype n] {R : Type v} [comm_ring R] :
GL n R →* units R

The determinant of a unit matrix is itself a unit.

Equations
@[simp]
def matrix.general_linear_group.to_lin {n : Type u} [decidable_eq n] [fintype n] {R : Type v} [comm_ring R] :

The GL n R and general_linear_group R n groups are multiplicatively equivalent

Equations
def matrix.general_linear_group.mk' {n : Type u} [decidable_eq n] [fintype n] {R : Type v} [comm_ring R] (A : matrix n n R) (h : invertible A.det) :
GL n R

Given a matrix with invertible determinant we get an element of GL n R

Equations
noncomputable def matrix.general_linear_group.mk'' {n : Type u} [decidable_eq n] [fintype n] {R : Type v} [comm_ring R] (A : matrix n n R) (h : is_unit A.det) :
GL n R

Given a matrix with unit determinant we get an element of GL n R

Equations
@[protected, instance]
def matrix.general_linear_group.coe_fun {n : Type u} [decidable_eq n] [fintype n] {R : Type v} [comm_ring R] :
has_coe_to_fun (GL n R) (λ (_x : GL n R), n → n → R)
Equations
theorem matrix.general_linear_group.ext_iff {n : Type u} [decidable_eq n] [fintype n] {R : Type v} [comm_ring R] (A B : GL n R) :
A = B ∀ (i j : n), A i j = B i j
theorem matrix.general_linear_group.ext {n : Type u} [decidable_eq n] [fintype n] {R : Type v} [comm_ring R] ⦃A B : GL n R⦄ (h : ∀ (i j : n), A i j = B i j) :
A = B

Not marked @[ext] as the ext tactic already solves this.

@[simp]
theorem matrix.general_linear_group.coe_fn_eq_coe {n : Type u} [decidable_eq n] [fintype n] {R : Type v} [comm_ring R] (A : GL n R) :
@[simp]
theorem matrix.general_linear_group.coe_mul {n : Type u} [decidable_eq n] [fintype n] {R : Type v} [comm_ring R] (A B : GL n R) :
A * B = A B
@[simp]
theorem matrix.general_linear_group.coe_one {n : Type u} [decidable_eq n] [fintype n] {R : Type v} [comm_ring R] :
1 = 1
theorem matrix.general_linear_group.coe_inv {n : Type u} [decidable_eq n] [fintype n] {R : Type v} [comm_ring R] (A : GL n R) :
def matrix.GL_pos (n : Type u) (R : Type v) [decidable_eq n] [fintype n] [linear_ordered_comm_ring R] :
subgroup (GL n R)

This is the subgroup of nxn matrices with entries over a linear ordered ring and positive determinant.

Equations
@[simp]
theorem matrix.mem_GL_pos {n : Type u} {R : Type v} [decidable_eq n] [fintype n] [linear_ordered_comm_ring R] (A : GL n R) :
@[protected, instance]

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

Equations
@[simp]
theorem matrix.GL_pos_coe_neg {n : Type u} {R : Type v} [decidable_eq n] [fintype n] [linear_ordered_comm_ring R] [fact (even (fintype.card n))] (g : (matrix.GL_pos n R)) :
@[simp]
theorem matrix.GL_pos_neg_elt {n : Type u} {R : Type v} [decidable_eq n] [fintype n] [linear_ordered_comm_ring R] [fact (even (fintype.card n))] (g : (matrix.GL_pos n R)) (i j : n) :
(-g) i j = -g i j

special_linear_group n R embeds into GL_pos n R

Equations