Results on the cardinality of finitely supported functions and multisets. #
@[simp]
theorem
Cardinal.mk_finsupp_lift_of_fintype
(α : Type u)
(β : Type v)
[Fintype α]
[Zero β]
:
mk (α →₀ β) = lift.{u, v} (mk β) ^ Fintype.card α
@[simp]
theorem
Cardinal.mk_finsupp_lift_of_infinite
(α : Type u)
(β : Type v)
[Infinite α]
[Zero β]
[Nontrivial β]
:
mk (α →₀ β) = lift.{v, u} (mk α) ⊔ lift.{u, v} (mk β)
@[simp]
theorem
Cardinal.mk_finsupp_lift_of_infinite'
(α : Type u)
(β : Type v)
[Nonempty α]
[Zero β]
[Infinite β]
:
mk (α →₀ β) = lift.{v, u} (mk α) ⊔ lift.{u, v} (mk β)