The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V33. Data structures and computation

Mathlib.Data.W.Cardinal

6 declarations. Mathlib docs · Source

theorem WType.cardinalMk_eq_sum_lift E1 #

∀ {α : Type u} {β : α → Type v},
  Cardinal.mk (WType β) = Cardinal.sum fun a ↦ Cardinal.mk (WType β) ^ Cardinal.lift.{u, v} (Cardinal.mk (β a))

theorem WType.cardinalMk_le_of_le' E1 #

∀ {α : Type u} {β : α → Type v} {κ : Cardinal.{max u v}},
  (Cardinal.sum fun a ↦ κ ^ Cardinal.lift.{u, v} (Cardinal.mk (β a))) ≤ κ → Cardinal.mk (WType β) ≤ κ

#(WType β) is the least cardinal κ such that sum (fun a : α ↦ κ ^ #(β a)) ≤ κ

theorem WType.cardinalMk_le_max_aleph0_of_finite' E1 #

∀ {α : Type u} {β : α → Type v} [∀ (a : α), Finite (β a)],
  Cardinal.mk (WType β) ≤ max (Cardinal.lift.{v, u} (Cardinal.mk α)) Cardinal.aleph0

If, for any a : α, β a is finite, then the cardinality of WType β is at most the maximum of the cardinality of α and ℵ₀

theorem WType.cardinalMk_eq_sum E1 #

∀ {α : Type u} {β : α → Type u}, Cardinal.mk (WType β) = Cardinal.sum fun a ↦ Cardinal.mk (WType β) ^ Cardinal.mk (β a)

theorem WType.cardinalMk_le_of_le E1 #

∀ {α : Type u} {β : α → Type u} {κ : Cardinal.{u}},
  (Cardinal.sum fun a ↦ κ ^ Cardinal.mk (β a)) ≤ κ → Cardinal.mk (WType β) ≤ κ

#(WType β) is the least cardinal κ such that sum (fun a : α ↦ κ ^ #(β a)) ≤ κ

theorem WType.cardinalMk_le_max_aleph0_of_finite E1 #

∀ {α : Type u} {β : α → Type u} [∀ (a : α), Finite (β a)], Cardinal.mk (WType β) ≤ max (Cardinal.mk α) Cardinal.aleph0

If, for any a : α, β a is finite, then the cardinality of WType β is at most the maximum of the cardinality of α and ℵ₀