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.Cardinal.ENat

99 declarations and 1 deprecated aliases. Mathlib docs · Source

def Cardinal.ofENat E1 #

ℕ∞ → Cardinal.{u_1}

Coercion ℕ∞ → Cardinal. It sends natural numbers to natural numbers and ⊤ to ℵ₀.

See also Cardinal.ofENatHom for a bundled homomorphism version.

instance Cardinal.instCoeENat E0 #

Coe ℕ∞ Cardinal.{u_1}

theorem Cardinal.ofENat_top E0 #

↑⊤ = Cardinal.aleph0

theorem Cardinal.ofENat_nat E0 #

∀ (n : ℕ), ↑↑n = ↑n

theorem Cardinal.ofENat_zero E0 #

↑0 = 0

theorem Cardinal.ofENat_one E0 #

↑1 = 1

theorem Cardinal.ofENat_ofNat E0 #

∀ (n : ℕ) [inst : n.AtLeastTwo], ↑(OfNat.ofNat n) = OfNat.ofNat n

theorem Cardinal.ofENat_strictMono E1 #

StrictMono Cardinal.ofENat

theorem Cardinal.ofENat_lt_ofENat E0 #

∀ {m n : ℕ∞}, ↑m < ↑n ↔ m < n

theorem Cardinal.ofENat_lt_ofENat_of_lt E1 #

∀ {m n : ℕ∞}, m < n → ↑m < ↑n

Alias of the reverse direction of Cardinal.ofENat_lt_ofENat.

theorem Cardinal.ofENat_lt_aleph0 E0 #

∀ {m : ℕ∞}, ↑m < Cardinal.aleph0 ↔ m < ⊤

theorem Cardinal.ofENat_lt_nat E0 #

∀ {m : ℕ∞} {n : ℕ}, ↑m < ↑n ↔ m < ↑n

theorem Cardinal.ofENat_lt_ofNat E0 #

∀ {m : ℕ∞} {n : ℕ} [inst : n.AtLeastTwo], ↑m < OfNat.ofNat n ↔ m < OfNat.ofNat n

theorem Cardinal.nat_lt_ofENat E0 #

∀ {m : ℕ} {n : ℕ∞}, ↑m < ↑n ↔ ↑m < n

theorem Cardinal.ofENat_pos E0 #

∀ {m : ℕ∞}, 0 < ↑m ↔ 0 < m

theorem Cardinal.one_lt_ofENat E0 #

∀ {m : ℕ∞}, 1 < ↑m ↔ 1 < m

theorem Cardinal.ofNat_lt_ofENat E0 #

∀ {m : ℕ} [inst : m.AtLeastTwo] {n : ℕ∞}, OfNat.ofNat m < ↑n ↔ OfNat.ofNat m < n

theorem Cardinal.ofENat_mono E1 #

Monotone Cardinal.ofENat

theorem Cardinal.ofENat_le_ofENat E0 #

∀ {m n : ℕ∞}, ↑m ≤ ↑n ↔ m ≤ n

theorem Cardinal.ofENat_le_ofENat_of_le E1 #

∀ {m n : ℕ∞}, m ≤ n → ↑m ≤ ↑n

Alias of the reverse direction of Cardinal.ofENat_le_ofENat.

theorem Cardinal.ofENat_le_aleph0 E0 #

∀ (n : ℕ∞), ↑n ≤ Cardinal.aleph0

theorem Cardinal.ofENat_le_nat E0 #

∀ {m : ℕ∞} {n : ℕ}, ↑m ≤ ↑n ↔ m ≤ ↑n

theorem Cardinal.ofENat_le_one E0 #

∀ {m : ℕ∞}, ↑m ≤ 1 ↔ m ≤ 1

theorem Cardinal.ofENat_le_ofNat E0 #

∀ {m : ℕ∞} {n : ℕ} [inst : n.AtLeastTwo], ↑m ≤ OfNat.ofNat n ↔ m ≤ OfNat.ofNat n

theorem Cardinal.nat_le_ofENat E0 #

∀ {m : ℕ} {n : ℕ∞}, ↑m ≤ ↑n ↔ ↑m ≤ n

theorem Cardinal.one_le_ofENat E0 #

∀ {n : ℕ∞}, 1 ≤ ↑n ↔ 1 ≤ n

theorem Cardinal.ofNat_le_ofENat E0 #

∀ {m : ℕ} [inst : m.AtLeastTwo] {n : ℕ∞}, OfNat.ofNat m ≤ ↑n ↔ OfNat.ofNat m ≤ n

theorem Cardinal.ofENat_injective E1 #

Function.Injective Cardinal.ofENat

theorem Cardinal.ofENat_inj E0 #

∀ {m n : ℕ∞}, ↑m = ↑n ↔ m = n

theorem Cardinal.ofENat_eq_nat E0 #

∀ {m : ℕ∞} {n : ℕ}, ↑m = ↑n ↔ m = ↑n

theorem Cardinal.nat_eq_ofENat E0 #

∀ {m : ℕ} {n : ℕ∞}, ↑m = ↑n ↔ ↑m = n

theorem Cardinal.ofENat_eq_zero E0 #

∀ {m : ℕ∞}, ↑m = 0 ↔ m = 0

theorem Cardinal.zero_eq_ofENat E0 #

∀ {m : ℕ∞}, 0 = ↑m ↔ m = 0

theorem Cardinal.ofENat_eq_one E0 #

∀ {m : ℕ∞}, ↑m = 1 ↔ m = 1

theorem Cardinal.one_eq_ofENat E0 #

∀ {m : ℕ∞}, 1 = ↑m ↔ m = 1

theorem Cardinal.ofENat_eq_ofNat E0 #

∀ {m : ℕ∞} {n : ℕ} [inst : n.AtLeastTwo], ↑m = OfNat.ofNat n ↔ m = OfNat.ofNat n

theorem Cardinal.ofNat_eq_ofENat E0 #

∀ {m : ℕ} {n : ℕ∞} [inst : m.AtLeastTwo], OfNat.ofNat m = ↑n ↔ OfNat.ofNat m = n

theorem Cardinal.lift_ofENat E0 #

∀ (m : ℕ∞), Cardinal.lift.{u, v} ↑m = ↑m

theorem Cardinal.lift_lt_ofENat E0 #

∀ {x : Cardinal.{v}} {m : ℕ∞}, Cardinal.lift.{u, v} x < ↑m ↔ x < ↑m

theorem Cardinal.lift_le_ofENat E0 #

∀ {x : Cardinal.{v}} {m : ℕ∞}, Cardinal.lift.{u, v} x ≤ ↑m ↔ x ≤ ↑m

theorem Cardinal.lift_eq_ofENat E0 #

∀ {x : Cardinal.{v}} {m : ℕ∞}, Cardinal.lift.{u, v} x = ↑m ↔ x = ↑m

theorem Cardinal.ofENat_lt_lift E0 #

∀ {x : Cardinal.{v}} {m : ℕ∞}, ↑m < Cardinal.lift.{u, v} x ↔ ↑m < x

theorem Cardinal.ofENat_le_lift E0 #

∀ {x : Cardinal.{v}} {m : ℕ∞}, ↑m ≤ Cardinal.lift.{u, v} x ↔ ↑m ≤ x

theorem Cardinal.ofENat_eq_lift E0 #

∀ {x : Cardinal.{v}} {m : ℕ∞}, ↑m = Cardinal.lift.{u, v} x ↔ ↑m = x

theorem Cardinal.range_ofENat E0 #

Set.range Cardinal.ofENat = Set.Iic Cardinal.aleph0

instance Cardinal.instCanLiftENatOfENatLeAleph0 E0 #

CanLift Cardinal.{u_1} ℕ∞ Cardinal.ofENat fun x ↦ x ≤ Cardinal.aleph0

def Cardinal.toENatAux E0 #

Cardinal.{u} → ℕ∞

Unbundled version of Cardinal.toENat.

theorem Cardinal.toENatAux_nat E1 #

∀ (n : ℕ), (↑n).toENatAux = ↑n

theorem Cardinal.toENatAux_zero E1 #

Cardinal.toENatAux 0 = 0

theorem Cardinal.toENatAux_eq_top E1 #

∀ {a : Cardinal.{u_1}}, Cardinal.aleph0 ≤ a → a.toENatAux = ⊤

theorem Cardinal.toENatAux_ofENat E1 #

∀ (n : ℕ∞), (↑n).toENatAux = n

theorem Cardinal.toENatAux_gc E1 #

GaloisConnection Cardinal.ofENat Cardinal.toENatAux

theorem Cardinal.toENatAux_le_nat E1 #

∀ {x : Cardinal.{u_1}} {n : ℕ}, x.toENatAux ≤ ↑n ↔ x ≤ ↑n

theorem Cardinal.toENatAux_eq_nat E1 #

∀ {x : Cardinal.{u_1}} {n : ℕ}, x.toENatAux = ↑n ↔ x = ↑n

theorem Cardinal.toENatAux_eq_zero E1 #

∀ {x : Cardinal.{u_1}}, x.toENatAux = 0 ↔ x = 0

def Cardinal.toENat E1 #

Cardinal.{u} →+*o ℕ∞

Projection from cardinals to ℕ∞. Sends all infinite cardinals to ⊤.

We define this function as a bundled monotone ring homomorphism.

theorem Cardinal.enat_gc E1 #

GaloisConnection Cardinal.ofENat ⇑Cardinal.toENat

The coercion Cardinal.ofENat and the projection Cardinal.toENat form a Galois connection. See also Cardinal.gciENat.

theorem Cardinal.toENat_ofENat E0 #

∀ (n : ℕ∞), Cardinal.toENat ↑n = n

theorem Cardinal.toENat_comp_ofENat E0 #

⇑Cardinal.toENat ∘ Cardinal.ofENat = id

def Cardinal.gciENat E1 #

GaloisCoinsertion Cardinal.ofENat ⇑Cardinal.toENat

The coercion Cardinal.ofENat and the projection Cardinal.toENat form a Galois coinsertion.

theorem Cardinal.toENat_strictMonoOn E1 #

StrictMonoOn (⇑Cardinal.toENat) (Set.Iic Cardinal.aleph0)

theorem Cardinal.toENat_injOn E1 #

Set.InjOn (⇑Cardinal.toENat) (Set.Iic Cardinal.aleph0)

theorem Cardinal.ofENat_toENat_le E1 #

∀ (a : Cardinal.{u_1}), ↑(Cardinal.toENat a) ≤ a

theorem Cardinal.ofENat_toENat_eq_self E0 #

∀ {a : Cardinal.{u_1}}, ↑(Cardinal.toENat a) = a ↔ a ≤ Cardinal.aleph0

theorem Cardinal.ofENat_toENat E0 #

∀ {a : Cardinal.{u_1}}, a ≤ Cardinal.aleph0 → ↑(Cardinal.toENat a) = a

Alias of the reverse direction of Cardinal.ofENat_toENat_eq_self.

theorem Cardinal.toENat_nat E1 #

∀ (n : ℕ), Cardinal.toENat ↑n = ↑n

theorem Cardinal.toENat_ofNat E0 #

∀ (n : ℕ) [inst : n.AtLeastTwo], Cardinal.toENat (OfNat.ofNat n) = OfNat.ofNat n

theorem Cardinal.toENat_le_natCast E0 #

∀ {c : Cardinal.{u}} {n : ℕ}, Cardinal.toENat c ≤ ↑n ↔ c ≤ ↑n

theorem Cardinal.toENat_le_one E0 #

∀ {c : Cardinal.{u}}, Cardinal.toENat c ≤ 1 ↔ c ≤ 1

theorem Cardinal.toENat_le_ofNat E0 #

∀ {c : Cardinal.{u}} {n : ℕ} [inst : n.AtLeastTwo], Cardinal.toENat c ≤ OfNat.ofNat n ↔ c ≤ OfNat.ofNat n

theorem Cardinal.toENat_le_iff_of_le_aleph0 E1 #

∀ {c c' : Cardinal.{u}}, c ≤ Cardinal.aleph0 → (Cardinal.toENat c ≤ Cardinal.toENat c' ↔ c ≤ c')

theorem Cardinal.toENat_le_iff_of_lt_aleph0 E1 #

∀ {c c' : Cardinal.{u}}, c' < Cardinal.aleph0 → (Cardinal.toENat c ≤ Cardinal.toENat c' ↔ c ≤ c')

theorem Cardinal.toENat_eq_iff_of_le_aleph0 E1 #

∀ {c c' : Cardinal.{u}}, c ≤ Cardinal.aleph0 → c' ≤ Cardinal.aleph0 → (Cardinal.toENat c = Cardinal.toENat c' ↔ c = c')

theorem Cardinal.natCast_le_toENat E0 #

∀ {c : Cardinal.{u}} {n : ℕ}, ↑n ≤ Cardinal.toENat c ↔ ↑n ≤ c

theorem Cardinal.one_le_toENat E0 #

∀ {c : Cardinal.{u}}, 1 ≤ Cardinal.toENat c ↔ 1 ≤ c

theorem Cardinal.ofNat_le_toENat E0 #

∀ {c : Cardinal.{u}} {n : ℕ} [inst : n.AtLeastTwo], OfNat.ofNat n ≤ Cardinal.toENat c ↔ OfNat.ofNat n ≤ c

theorem Cardinal.toENat_lt_natCast E0 #

∀ {c : Cardinal.{u}} {n : ℕ}, Cardinal.toENat c < ↑n ↔ c < ↑n

theorem Cardinal.toENat_lt_ofNat E0 #

∀ {c : Cardinal.{u}} {n : ℕ} [inst : n.AtLeastTwo], Cardinal.toENat c < OfNat.ofNat n ↔ c < OfNat.ofNat n

theorem Cardinal.natCast_lt_toENat E0 #

∀ {c : Cardinal.{u}} {n : ℕ}, ↑n < Cardinal.toENat c ↔ ↑n < c

theorem Cardinal.one_lt_toENat E0 #

∀ {c : Cardinal.{u}}, 1 < Cardinal.toENat c ↔ 1 < c

theorem Cardinal.ofNat_lt_toENat E0 #

∀ {c : Cardinal.{u}} {n : ℕ} [inst : n.AtLeastTwo], OfNat.ofNat n < Cardinal.toENat c ↔ OfNat.ofNat n < c

theorem Cardinal.toENat_eq_natCast E0 #

∀ {c : Cardinal.{u}} {n : ℕ}, Cardinal.toENat c = ↑n ↔ c = ↑n

theorem Cardinal.toENat_eq_zero E0 #

∀ {c : Cardinal.{u}}, Cardinal.toENat c = 0 ↔ c = 0

theorem Cardinal.toENat_eq_one E0 #

∀ {c : Cardinal.{u}}, Cardinal.toENat c = 1 ↔ c = 1

theorem Cardinal.toENat_eq_ofNat E0 #

∀ {c : Cardinal.{u}} {n : ℕ} [inst : n.AtLeastTwo], Cardinal.toENat c = OfNat.ofNat n ↔ c = OfNat.ofNat n

theorem Cardinal.natCast_eq_toENat E0 #

∀ {c : Cardinal.{u}} {n : ℕ}, ↑n = Cardinal.toENat c ↔ ↑n = c

theorem Cardinal.ofNat_eq_toENat E0 #

∀ {c : Cardinal.{u}} {n : ℕ} [inst : n.AtLeastTwo], OfNat.ofNat n = Cardinal.toENat c ↔ OfNat.ofNat n = c

theorem Cardinal.toENat_eq_top E0 #

∀ {c : Cardinal.{u}}, Cardinal.toENat c = ⊤ ↔ Cardinal.aleph0 ≤ c

theorem Cardinal.toENat_ne_top E1 #

∀ {c : Cardinal.{u}}, Cardinal.toENat c ≠ ⊤ ↔ c < Cardinal.aleph0

theorem Cardinal.toENat_lt_top E0 #

∀ {c : Cardinal.{u}}, Cardinal.toENat c < ⊤ ↔ c < Cardinal.aleph0

theorem Cardinal.toENat_lift E0 #

∀ {c : Cardinal.{u}}, Cardinal.toENat (Cardinal.lift.{v, u} c) = Cardinal.toENat c

theorem Cardinal.toENat_congr E1 #

∀ {α : Type u} {β : Type v} (e : α ≃ β), Cardinal.toENat (Cardinal.mk α) = Cardinal.toENat (Cardinal.mk β)

theorem Cardinal.ofENat_add E0 #

∀ (m n : ℕ∞), ↑(m + n) = ↑m + ↑n

theorem Cardinal.aleph0_add_ofENat E0 #

∀ (m : ℕ∞), Cardinal.aleph0 + ↑m = Cardinal.aleph0

theorem Cardinal.ofENat_add_aleph0 E0 #

∀ (m : ℕ∞), ↑m + Cardinal.aleph0 = Cardinal.aleph0

theorem Cardinal.ofENat_mul_aleph0 E0 #

∀ {m : ℕ∞}, m ≠ 0 → ↑m * Cardinal.aleph0 = Cardinal.aleph0

theorem Cardinal.aleph0_mul_ofENat E0 #

∀ {m : ℕ∞}, m ≠ 0 → Cardinal.aleph0 * ↑m = Cardinal.aleph0

theorem Cardinal.ofENat_mul E0 #

∀ (m n : ℕ∞), ↑(m * n) = ↑m * ↑n

def Cardinal.ofENatHom E1 #

ℕ∞ →+*o Cardinal.{u_1}

The coercion Cardinal.ofENat as a bundled homomorphism.

Deprecated aliases

NameNew nameSince
Cardinal.toENat_lt_oneCardinal.toENat_eq_zero2026-05-25