no goals
M : Type u
inst✝⁵ : Monoid M
G : Type u
inst✝⁴ : Group G
F : Type v
inst✝³ : Field F
inst✝² : MulSemiringAction M F
inst✝¹ : MulSemiringAction G F
m : M
inst✝ : Fintype G
x : F
s : Finset F
hs : LinearIndependent { x // x ∈ subfield G F } fun i => ↑i
⊢ card s ≤ Fintype.card G
simpa only [rank_fun', Cardinal.mk_coe_finset, Finset.coe_sort_coe, Cardinal.lift_natCast,
  Cardinal.natCast_le] using
  cardinal_lift_le_rank_of_linearIndependent'
    (linearIndependent_smul_of_linearIndependent G F hs)