Skip to content

Commit

Permalink
feat: SpecialLinearGroup n R is finite when R is (#17629)
Browse files Browse the repository at this point in the history
From GrowthInGroups
  • Loading branch information
YaelDillies committed Oct 11, 2024
1 parent 3390e40 commit fe48a46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Mathlib/LinearAlgebra/Matrix/SpecialLinearGroup.lean
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ instance : Pow (SpecialLinearGroup n R) ℕ where
instance : Inhabited (SpecialLinearGroup n R) :=
1

instance [Fintype R] [DecidableEq R] : Fintype (SpecialLinearGroup n R) := Subtype.fintype _
instance [Finite R] : Finite (SpecialLinearGroup n R) := Subtype.finite

/-- The transpose of a matrix in `SL(n, R)` -/
def transpose (A : SpecialLinearGroup n R) : SpecialLinearGroup n R :=
⟨A.1.transpose, A.1.det_transpose ▸ A.2
Expand Down

0 comments on commit fe48a46

Please sign in to comment.