File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Mathlib/LinearAlgebra/Matrix/GeneralLinearGroup Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ local notation "n" => Module.finrank K V
3030
3131attribute [local instance ] Fintype.ofFinite in
3232open Fintype in
33- open Fin.NatCast in -- TODO: should this be refactored to avoid needing the coercion?
3433/-- The cardinal of the set of linearly independent vectors over a finite dimensional vector space
3534over a finite field. -/
3635theorem card_linearIndependent {k : ℕ} (hk : k ≤ n) :
@@ -49,7 +48,7 @@ theorem card_linearIndependent {k : ℕ} (hk : k ≤ n) :
4948 simp only [SetLike.coe_sort_coe, finrank_span_eq_card s.2 , card_fin]
5049 rw [Module.card_eq_pow_finrank (K := K)]
5150 simp [card_congr (equiv_linearIndependent k), sum_congr _ _ this, ih (Nat.le_of_succ_le hk),
52- mul_comm, Fin.prod_univ_succAbove _ k ]
51+ mul_comm, Fin.prod_univ_succAbove _ (Fin.last k) ]
5352
5453end LinearIndependent
5554
You can’t perform that action at this time.
0 commit comments