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.Ordinal.Family

42 declarations. Mathlib docs · Source

Arithmetic on families of ordinals

This file proves basic results about the suprema of families of ordinals.

Various other basic arithmetic results are given in Principal.lean instead.

Supremum of a family of ordinals

Results about injectivity and surjectivity

Casting naturals into ordinals, compatibility with operations

theorem Ordinal.bddAbove_of_small E1 #

∀ {s : Set Ordinal.{u}} [Small.{u, u + 1} ↑s], BddAbove s

theorem Ordinal.bddAbove_iff_small E1 #

∀ {s : Set Ordinal.{u}}, BddAbove s ↔ Small.{u, u + 1} ↑s

theorem Ordinal.bddAbove_image E1 #

∀ {s : Set Ordinal.{u}}, BddAbove s → ∀ (f : Ordinal.{u} → Ordinal.{max u v}), BddAbove (f '' s)

theorem Ordinal.bddAbove_range_comp E1 #

∀ {ι : Type u} {f : ι → Ordinal.{v}},
  BddAbove (Set.range f) → ∀ (g : Ordinal.{v} → Ordinal.{max v w}), BddAbove (Set.range (g ∘ f))

theorem Ordinal.le_iSup E2 #

∀ {ι : Type u_3} (f : ι → Ordinal.{u}) [Small.{u, u_3} ι] (i : ι), f i ≤ ⨆ i, f i

le_ciSup whenever the input type is small in the output universe. This lemma sometimes fails to infer f in simple cases and needs it to be given explicitly.

theorem Ordinal.iSup_le_iff E0 #

∀ {ι : Type u_3} {f : ι → Ordinal.{u}} {a : Ordinal.{u}} [Small.{u, u_3} ι], ⨆ i, f i ≤ a ↔ ∀ (i : ι), f i ≤ a

ciSup_le_iff' whenever the input type is small in the output universe.

theorem Ordinal.iSup_le E1 #

∀ {ι : Sort u_3} {f : ι → Ordinal.{u_4}} {a : Ordinal.{u_4}}, (∀ (i : ι), f i ≤ a) → ⨆ i, f i ≤ a

An alias of ciSup_le' for discoverability.

theorem Ordinal.lt_iSup_iff E0 #

∀ {ι : Type u_3} {f : ι → Ordinal.{u}} {a : Ordinal.{u}} [Small.{u, u_3} ι], a < ⨆ i, f i ↔ ∃ i, a < f i

lt_ciSup_iff' whenever the input type is small in the output universe.

theorem Ordinal.lt_iSup_add_one E1 #

∀ {ι : Type u_3} (f : ι → Ordinal.{u}) [Small.{u, u_3} ι] (i : ι), f i < ⨆ i, f i + 1

theorem Ordinal.iSup_add_one_le_iff E0 #

∀ {ι : Type u_3} {f : ι → Ordinal.{u}} {a : Ordinal.{u}} [Small.{u, u_3} ι], ⨆ i, f i + 1 ≤ a ↔ ∀ (i : ι), f i < a

theorem Ordinal.iSup_add_one_le E1 #

∀ {ι : Sort u_3} {f : ι → Ordinal.{u}} {a : Ordinal.{u}}, (∀ (i : ι), f i < a) → ⨆ i, f i + 1 ≤ a

theorem Ordinal.lt_iSup_add_one_iff E0 #

∀ {ι : Type u_3} {f : ι → Ordinal.{u}} {a : Ordinal.{u}} [Small.{u, u_3} ι], a < ⨆ i, f i + 1 ↔ ∃ i, a ≤ f i

theorem Ordinal.succ_lt_iSup_of_ne_iSup E1 #

∀ {ι : Type u_3} {f : ι → Ordinal.{u}} [Small.{u, u_3} ι],
  (∀ (i : ι), f i ≠ iSup f) → ∀ {a : Ordinal.{u}}, a < iSup f → Order.succ a < iSup f

theorem Ordinal.iSup_eq_zero_iff E0 #

∀ {ι : Type u_3} {f : ι → Ordinal.{u}} [Small.{u, u_3} ι], iSup f = 0 ↔ ∀ (i : ι), f i = 0

theorem Ordinal.iSup_sum E1 #

∀ {α : Type u_3} {β : Type u_4} (f : α ⊕ β → Ordinal.{u}) [Small.{u, u_3} α] [Small.{u, u_4} β],
  iSup f = max (⨆ a, f (Sum.inl a)) (⨆ b, f (Sum.inr b))

theorem Ordinal.unbounded_range_of_le_iSup E1 #

∀ {α β : Type u} (r : α → α → Prop) [inst : IsWellOrder α r] (f : β → α),
  Ordinal.type r ≤ ⨆ i, (Ordinal.typein r).toRelEmbedding (f i) → Set.Unbounded r (Set.range f)

theorem Ordinal.sSup_ord E1 #

∀ (s : Set Cardinal.{u_3}), (sSup s).ord = sSup (Cardinal.ord '' s)

theorem Ordinal.iSup_ord E1 #

∀ {ι : Sort u_3} (f : ι → Cardinal.{u_4}), (⨆ i, f i).ord = ⨆ i, (f i).ord

theorem Ordinal.lift_card_sInf_compl_le E1 #

∀ (s : Set Ordinal.{u}), Cardinal.lift.{u + 1, u} (sInf sᶜ).card ≤ Cardinal.mk ↑s

theorem Ordinal.card_sInf_range_compl_le_lift E1 #

∀ {ι : Type u} (f : ι → Ordinal.{max u v}), (sInf (Set.range f)ᶜ).card ≤ Cardinal.lift.{v, u} (Cardinal.mk ι)

theorem Ordinal.card_sInf_range_compl_le E1 #

∀ {ι : Type u} (f : ι → Ordinal.{u}), (sInf (Set.range f)ᶜ).card ≤ Cardinal.mk ι

theorem Ordinal.sInf_compl_lt_lift_ord_succ E1 #

∀ {ι : Type u} (f : ι → Ordinal.{max u v}), sInf (Set.range f)ᶜ < Ordinal.lift.{v, u} (Order.succ (Cardinal.mk ι)).ord

theorem Ordinal.sInf_compl_lt_ord_succ E1 #

∀ {ι : Type u} (f : ι → Ordinal.{u}), sInf (Set.range f)ᶜ < (Order.succ (Cardinal.mk ι)).ord

theorem Ordinal.bddAbove_add_one_image_iff E0 #

∀ {s : Set Ordinal.{u_3}}, BddAbove ((fun x ↦ x + 1) '' s) ↔ BddAbove s

theorem Ordinal.bddAbove_range_add_one_iff E0 #

∀ {β : Type u_2} {f : β → Ordinal.{u}}, BddAbove (Set.range fun i ↦ f i + 1) ↔ BddAbove (Set.range f)

theorem Ordinal.sSup_le_sSup_add_one E1 #

∀ (s : Set Ordinal.{u_3}), sSup s ≤ sSup ((fun x ↦ x + 1) '' s)

theorem Ordinal.iSup_le_iSup_add_one E1 #

∀ {β : Type u_2} (f : β → Ordinal.{u_3}), ⨆ i, f i ≤ ⨆ i, f i + 1

theorem Ordinal.iSup_add_one E1 #

∀ {β : Type u_3} [inst : LinearOrder β] [NoMaxOrder β] {f : β → Ordinal.{u}}, StrictMono f → ⨆ i, f i + 1 = ⨆ i, f i

theorem Ordinal.iSup_Iio_add_one E1 #

∀ {a : Ordinal.{u}} {f : ↑(Set.Iio a) → Ordinal.{u}}, StrictMono f → Order.IsSuccPrelimit a → ⨆ i, f i + 1 = ⨆ i, f i

theorem not_surjective_of_ordinal E1 #

∀ {α : Type u_1} [Small.{u, u_1} α] (f : α → Ordinal.{u}), ¬Function.Surjective f

theorem not_injective_of_ordinal E1 #

∀ {α : Type u_1} [Small.{u, u_1} α] (f : Ordinal.{u} → α), ¬Function.Injective f

theorem not_small_ordinal E1 #

¬Small.{u, max (u + 1) (v + 1)} Ordinal.{max u v}

The type of ordinals in universe u is not Small.{u}. This is the type-theoretic analog of the Burali-Forti paradox.

instance Ordinal.uncountable E0 #

Uncountable Ordinal.{u}

theorem Ordinal.not_bddAbove_compl_of_small E1 #

∀ (s : Set Ordinal.{u}) [hs : Small.{u, u + 1} ↑s], ¬BddAbove sᶜ

theorem Ordinal.iSup_natCast E0 #

iSup Nat.cast = Ordinal.omega0

theorem Ordinal.apply_omega0_of_isNormal E1 #

∀ {f : Ordinal.{u} → Ordinal.{v}}, Order.IsNormal f → ⨆ n, f ↑n = f Ordinal.omega0

theorem Ordinal.add_iSup E0 #

∀ (o : Ordinal.{u}) {ι : Type u_1} [Small.{u, u_1} ι] [Nonempty ι] (f : ι → Ordinal.{u}), o + ⨆ i, f i = ⨆ i, o + f i

theorem Ordinal.add_sSup E0 #

∀ (o : Ordinal.{u}) {s : Set Ordinal.{u}} [Small.{u, u + 1} ↑s], s.Nonempty → o + sSup s = sSup ((fun x ↦ o + x) '' s)

theorem Ordinal.mul_sSup E0 #

∀ (o : Ordinal.{u_1}) (s : Set Ordinal.{u_1}), o * sSup s = sSup ((fun x ↦ o * x) '' s)

theorem Ordinal.mul_iSup E0 #

∀ (o : Ordinal.{u_1}) {ι : Sort u_2} (f : ι → Ordinal.{u_1}), o * ⨆ i, f i = ⨆ i, o * f i

theorem Ordinal.iSup_add_natCast E0 #

∀ (o : Ordinal.{u_1}), ⨆ n, o + ↑n = o + Ordinal.omega0

theorem Ordinal.iSup_mul_natCast E0 #

∀ (o : Ordinal.{u_1}), ⨆ n, o * ↑n = o * Ordinal.omega0