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 / V31. Set theory

Mathlib.SetTheory.ZFC.Cardinal

14 declarations. Mathlib docs · Source

def ZFSet.card E1 #

ZFSet.{u} → Cardinal.{u}

The cardinality of a ZFC set.

theorem ZFSet.cardinalMk_coe_sort E1 #

∀ {x : ZFSet.{u}}, Cardinal.mk ↥x = Cardinal.lift.{u + 1, u} x.card

ZFSet.card x is equal to the cardinality of x as a set of ZFSets.

theorem ZFSet.card_mono E1 #

∀ {x y : ZFSet.{u}}, x ⊆ y → x.card ≤ y.card

theorem ZFSet.card_empty E0 #

∅.card = 0

theorem ZFSet.card_insert_le E1 #

∀ {x y : ZFSet.{u}}, (insert x y).card ≤ y.card + 1

theorem ZFSet.card_insert E1 #

∀ {x y : ZFSet.{u}}, x ∉ y → (insert x y).card = y.card + 1

theorem ZFSet.card_singleton E0 #

∀ {x : ZFSet.{u}}, {x}.card = 1

theorem ZFSet.card_pair_of_ne E1 #

∀ {x y : ZFSet.{u}}, x ≠ y → {x, y}.card = 2

theorem ZFSet.card_union_le E1 #

∀ {x y : ZFSet.{u}}, (x ∪ y).card ≤ x.card + y.card

theorem ZFSet.card_powerset E0 #

∀ (x : ZFSet.{u}), x.powerset.card = 2 ^ x.card

theorem ZFSet.card_image_le E1 #

∀ {x : ZFSet.{u}} {f : ZFSet.{u} → ZFSet.{u}} [inst : ZFSet.Definable₁ f], (ZFSet.image f x).card ≤ x.card

theorem ZFSet.lift_card_range_le E1 #

∀ {α : Type u} [inst : Small.{v, u} α] {f : α → ZFSet.{v}},
  Cardinal.lift.{u, v} (ZFSet.range f).card ≤ Cardinal.lift.{v, u} (Cardinal.mk α)

theorem ZFSet.iSup_card_le_card_iUnion E1 #

∀ {α : Type u} [inst : Small.{v, u} α] {f : α → ZFSet.{v}}, ⨆ i, (f i).card ≤ (ZFSet.iUnion fun i ↦ f i).card

theorem ZFSet.lift_card_iUnion_le_sum_card E1 #

∀ {α : Type u} [inst : Small.{v, u} α] {f : α → ZFSet.{v}},
  Cardinal.lift.{u, v} (ZFSet.iUnion fun i ↦ f i).card ≤ Cardinal.sum fun i ↦ (f i).card