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.GeneralLinearGroup.Card

8 declarations. Mathlib docs · Source

theorem card_linearIndependent E1 #

∀ {K : Type u_1} {V : Type u_2} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
  [inst_3 : Fintype K] [Finite V] {k : ℕ},
  k ≤ Module.finrank K V →
    Nat.card { s // LinearIndependent K s } = ∏ i, (Fintype.card K ^ Module.finrank K V - Fintype.card K ^ ↑i)

The cardinal of the set of linearly independent vectors over a finite-dimensional vector space over a finite field.

theorem Matrix.card_SL_mul_card_units E1 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] [Nonempty n] {R : Type u_2} [inst_3 : CommRing R],
  Nat.card (Matrix.SpecialLinearGroup n R) * Nat.card Rˣ = Nat.card (GL n R)

The cardinal of the special linear group times the cardinal of the unit group is the cardinal of the general linear group.

theorem Matrix.card_SL E1 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] [Nonempty n] {R : Type u_2} [inst_3 : CommRing R]
  [Finite Rˣ], Nat.card (Matrix.SpecialLinearGroup n R) = Nat.card (GL n R) / Nat.card Rˣ

The cardinal of the special linear group over a commutative ring with finitely many units.

theorem Matrix.card_matrix E1 #

∀ {m : Type u_1} {n : Type u_2} {α : Type u_3} [Finite m] [Finite n],
  Nat.card (Matrix m n α) = Nat.card α ^ (Nat.card n * Nat.card m)

The cardinal of a matrix.

theorem Matrix.enatCard_matrix E1 #

∀ {m : Type u_1} {n : Type u_2} {α : Type u_3}, ENat.card (Matrix m n α) = ENat.card α ^ (ENat.card n * ENat.card m)

def Matrix.equiv_GL_linearindependent E1 #

{𝔽 : Type u_1} → [inst : Field 𝔽] → [Fintype 𝔽] → (n : ℕ) → GL (Fin n) 𝔽 ≃ { s // LinearIndependent 𝔽 s }

Equivalence between GL n F and n vectors of length n that are linearly independent. Given by sending a matrix to its columns.

theorem Matrix.card_GL_field E1 #

∀ {𝔽 : Type u_1} [inst : Field 𝔽] [inst_1 : Fintype 𝔽] (n : ℕ),
  Nat.card (GL (Fin n) 𝔽) = ∏ i, (Fintype.card 𝔽 ^ n - Fintype.card 𝔽 ^ ↑i)

The cardinal of the general linear group over a finite field.

theorem Matrix.card_SL_field E1 #

∀ {𝔽 : Type u_1} [inst : Field 𝔽] [inst_1 : Fintype 𝔽] (n : ℕ) [NeZero n],
  Nat.card (Matrix.SpecialLinearGroup (Fin n) 𝔽) =
    (∏ i, (Fintype.card 𝔽 ^ n - Fintype.card 𝔽 ^ ↑i)) / (Fintype.card 𝔽 - 1)

The cardinal of the special linear group over a finite field.