Mathlib.SetTheory.Cardinal.Cofinality.Enum
22 declarations. Mathlib docs · Source
Enumerating a cofinal set
We define a typeclass IsRegularCardinalOrder for well-ordered types, whose order type equals (the
initial ordinal of) their cofinality. This notion does not appear in the literature, but intends to
generalize the properties of intervals Iio c.ord, wherever c is a regular cardinal. Other
instances of this typeclass include ℕ, Ordinal, and Cardinal.
If s is a cofinal subset of a regular cardinal order α, there exists a unique order isomorphism
α ≃o s, which we call Order.enum. When α = Ordinal, this is referred to as the enumerator
function of the set. Note that if α = ℕ, then this definition matches Nat.nth.
Main results
Order.enum_eq_iff:Order.enum s _is the unique strictly monotonic function with ranges.Order.isNormal_enum_iff_dirSupClosed: club sets correspond one to one with normal functions.
TODO
- Deprecate
Ordinal.enumOrdin favor ofOrder.enum. - Prove that
Order.enumon the naturals coincides withNat.nth.
theorem StrictMono.orderIso.congr_simp E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : Preorder β] (f : α → β) (h_mono : StrictMono f),
StrictMono.orderIso f h_mono = StrictMono.orderIso f h_mono
theorem Order.enum.congr_simp E1 #
∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : WellFoundedLT α] [inst_2 : IsRegularCardinalOrder α] (s : Set α)
(hs : IsCofinal s), Order.enum s hs = Order.enum s hs
class IsRegularCardinalOrder E1 #
(α : Type u_2) → [inst : LinearOrder α] → [WellFoundedLT α] → Prop
A typeclass which expresses that the order type of a well-order equals (the initial ordinal of) its cofinality.
If α is infinite, this implies that α is order isomorphic to Iio c.ord for some regular
cardinal c. In the informal literature, one often says that α is a regular cardinal, by abuse
of notation.
ctor IsRegularCardinalOrder.mk E0 #
∀ {α : Type u_2} [inst : LinearOrder α] [inst_1 : WellFoundedLT α],
(Ordinal.type fun x1 x2 ↦ x1 < x2) ≤ (Order.cof α).ord → IsRegularCardinalOrder α
theorem IsRegularCardinalOrder.type_lt_le_ord_cof E1 #
∀ {α : Type u_2} {inst : LinearOrder α} {inst_1 : WellFoundedLT α} [self : IsRegularCardinalOrder α],
(Ordinal.type fun x1 x2 ↦ x1 < x2) ≤ (Order.cof α).ord
instance instIsRegularCardinalOrderNat E0 #
IsRegularCardinalOrder ℕ
instance instIsRegularCardinalOrderOfSubsingleton E0 #
∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : WellFoundedLT α] [Subsingleton α], IsRegularCardinalOrder α
instance instIsRegularCardinalOrderOrdinal E0 #
IsRegularCardinalOrder Ordinal.{u_2}
theorem Order.ord_cof_eq_type_lt E1 #
∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : WellFoundedLT α] [IsRegularCardinalOrder α],
(Order.cof α).ord = Ordinal.type fun x1 x2 ↦ x1 < x2
theorem Order.cof_eq_cardinalMk E0 #
∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : WellFoundedLT α] [IsRegularCardinalOrder α],
Order.cof α = Cardinal.mk α
theorem Cardinal.ord_cardinalMk E0 #
∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : WellFoundedLT α] [IsRegularCardinalOrder α],
(Cardinal.mk α).ord = Ordinal.type fun x1 x2 ↦ x1 < x2
theorem Order.cof_ordinal E1 #
Order.cof Ordinal.{u} = Cardinal.univ.{u, u + 1}
theorem Order.type_eq_of_isCofinal E1 #
∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : WellFoundedLT α] [IsRegularCardinalOrder α] {s : Set α},
IsCofinal s → (Ordinal.type fun x1 x2 ↦ x1 < x2) = Ordinal.type fun x1 x2 ↦ x1 < x2
def Order.enum E1 #
{α : Type u_1} →
[inst : LinearOrder α] → [inst_1 : WellFoundedLT α] → [IsRegularCardinalOrder α] → (s : Set α) → IsCofinal s → α ≃o ↑s
Enumerate the elements of a cofinal subset of α by α itself. This is a generalization of
Nat.nth.
theorem Order.enum_le_of_forall_lt E1 #
∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : WellFoundedLT α] [inst_2 : IsRegularCardinalOrder α] {s : Set α}
{hs : IsCofinal s} {a o : α}, o ∈ s → (∀ b < a, ↑((Order.enum s hs) b) < o) → ↑((Order.enum s hs) a) ≤ o
theorem Order.enum_succ_le_of_lt E1 #
∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : WellFoundedLT α] [inst_2 : IsRegularCardinalOrder α] {s : Set α}
{hs : IsCofinal s} [inst_3 : SuccOrder α] {a o : α},
o ∈ s → ↑((Order.enum s hs) a) < o → ↑((Order.enum s hs) (Order.succ a)) ≤ o
theorem Order.enum_univ E0 #
∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : WellFoundedLT α] [inst_2 : IsRegularCardinalOrder α] (x : α),
(Order.enum Set.univ ⋯) x = ⟨x, ⋯⟩
theorem Order.enum_anti E1 #
∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : WellFoundedLT α] [inst_2 : IsRegularCardinalOrder α] {s : Set α}
{hs : IsCofinal s} {t : Set α} {x : α} (h : s ⊆ t), ↑((Order.enum t ⋯) x) ≤ ↑((Order.enum s hs) x)
theorem Order.enum_eq_iff E3 #
∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : WellFoundedLT α] [inst_2 : IsRegularCardinalOrder α] {s : Set α}
{hs : IsCofinal s} {f : α → α}, Subtype.val ∘ ⇑(Order.enum s hs) = f ↔ StrictMono f ∧ Set.range f = s
A characterization of Order.enum s _: it is the unique strictly monotone function
with range s.
theorem Order.enum_range E1 #
∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : WellFoundedLT α] [inst_2 : IsRegularCardinalOrder α] {f : α → α}
(hf : StrictMono f), Order.enum (Set.range f) ⋯ = StrictMono.orderIso f hf
theorem Order.enum_bot E1 #
∀ {α : Type u_2} [inst : ConditionallyCompleteLinearOrderBot α] [inst_1 : WellFoundedLT α]
[inst_2 : IsRegularCardinalOrder α] {s : Set α} {hs : IsCofinal s}, ↑((Order.enum s hs) ⊥) = sInf s
theorem Order.isNormal_enum_iff_dirSupClosed E3 #
∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : WellFoundedLT α] [inst_2 : IsRegularCardinalOrder α] {s : Set α}
{hs : IsCofinal s}, Order.IsNormal (Subtype.val ∘ ⇑(Order.enum s hs)) ↔ DirSupClosed s
Club sets in regular cardinals correspond one to one with normal enumerator functions.
See also Order.isNormal_enum_iff_isClub.