Documentation

Mathlib.Data.Finsupp.Fintype

Finiteness and infiniteness of Finsupp #

Some lemmas on the combination of Finsupp, Fintype and Infinite.

noncomputable instance Finsupp.fintype {ι : Type u_1} {α : Type u_2} [DecidableEq ι] [Fintype ι] [Zero α] [Fintype α] :
Fintype (ι →₀ α)
Equations
instance Finsupp.infinite_of_left {ι : Type u_1} {α : Type u_2} [Zero α] [Nontrivial α] [Infinite ι] :
Equations
  • =
instance Finsupp.infinite_of_right {ι : Type u_1} {α : Type u_2} [Zero α] [Infinite α] [Nonempty ι] :
Equations
  • =
@[simp]
theorem Fintype.card_finsupp (ι : Type u_1) (α : Type u_2) [DecidableEq ι] [Fintype ι] [Zero α] [Fintype α] :