Omega, aleph, and beth functions #
- The function
Ordinal.preOmega
enumerates the initial ordinals, i.e. the smallest ordinals with any given cardinality. ThuspreOmega n = n
,preOmega ω = ω
,preOmega (ω + 1) = ω₁
, etc.Ordinal.omega
is the more standard function which skips over finite ordinals. - The function
Cardinal.preAleph
is an order isomorphism between ordinals and cardinals. ThuspreAleph n = n
,preAleph ω = ℵ₀
,preAleph (ω + 1) = ℵ₁
, etc.Cardinal.aleph
is the more standard function which skips over finite ordinals. - The function
Cardinal.beth
enumerates the Beth cardinals.beth 0 = ℵ₀
,beth (succ o) = 2 ^ beth o
, and for a limit ordinalo
,beth o
is the supremum ofbeth a
fora < o
.
Notation #
The following notations are scoped to the Ordinal
namespace.
ω_ o
is notation forOrdinal.omega o
.ω₁
is notation forω_ 1
.
The following notations are scoped to the Cardinal
namespace.
Omega ordinals #
An ordinal is initial when it is the first ordinal with a given cardinality.
This is written as o.card.ord = o
, i.e. o
is the smallest ordinal with cardinality o.card
.
Instances For
Initial ordinals are order-isomorphic to the cardinals.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The "pre-omega" function gives the initial ordinals listed by their ordinal index.
preOmega n = n
, preOmega ω = ω
, preOmega (ω + 1) = ω₁
, etc.
For the more common omega function skipping over finite ordinals, see Ordinal.omega
.
Equations
- Ordinal.preOmega = { toFun := Ordinal.enumOrd {x : Ordinal.{?u.8} | x.IsInitial}, inj' := Ordinal.preOmega.proof_1, map_rel_iff' := @Ordinal.preOmega.proof_2 }
Instances For
Alias of the reverse direction of Ordinal.mem_range_preOmega_iff
.
The omega
function gives the infinite initial ordinals listed by their ordinal index.
omega 0 = ω
, omega 1 = ω₁
is the first uncountable ordinal, and so on.
This is not to be confused with the first infinite ordinal Ordinal.omega0
.
For a version including finite ordinals, see Ordinal.preOmega
.
Equations
Instances For
The omega
function gives the infinite initial ordinals listed by their ordinal index.
omega 0 = ω
, omega 1 = ω₁
is the first uncountable ordinal, and so on.
This is not to be confused with the first infinite ordinal Ordinal.omega0
.
For a version including finite ordinals, see Ordinal.preOmega
.
Equations
- Ordinal.termω_ = Lean.ParserDescr.node `Ordinal.termω_ 1024 (Lean.ParserDescr.symbol "ω_ ")
Instances For
ω₁
is the first uncountable ordinal.
Equations
- Ordinal.termω₁ = Lean.ParserDescr.node `Ordinal.termω₁ 1024 (Lean.ParserDescr.symbol "ω₁")
Instances For
For the theorem 0 < ω
, see omega0_pos
.
Alias of Ordinal.omega0_lt_omega1
.
Aleph cardinals #
The "pre-aleph" function gives the cardinals listed by their ordinal index. preAleph n = n
,
preAleph ω = ℵ₀
, preAleph (ω + 1) = succ ℵ₀
, etc.
For the more common aleph function skipping over finite cardinals, see Cardinal.aleph
.
Equations
- Cardinal.preAleph = (Ordinal.enumOrdOrderIso {x : Ordinal.{?u.5} | x.IsInitial} Ordinal.not_bddAbove_isInitial).trans Ordinal.isInitialIso
Instances For
The aleph
function gives the infinite cardinals listed by their ordinal index. aleph 0 = ℵ₀
,
aleph 1 = succ ℵ₀
is the first uncountable cardinal, and so on.
For a version including finite cardinals, see Cardinal.aleph'
.
Equations
- Cardinal.aleph = RelEmbedding.trans (OrderEmbedding.addLeft Ordinal.omega0) Cardinal.preAleph.toOrderEmbedding
Instances For
The aleph
function gives the infinite cardinals listed by their ordinal index. aleph 0 = ℵ₀
,
aleph 1 = succ ℵ₀
is the first uncountable cardinal, and so on.
For a version including finite cardinals, see Cardinal.aleph'
.
Equations
- Cardinal.termℵ_ = Lean.ParserDescr.node `Cardinal.termℵ_ 1024 (Lean.ParserDescr.symbol "ℵ_ ")
Instances For
ℵ₁
is the first uncountable cardinal.
Equations
- Cardinal.termℵ₁ = Lean.ParserDescr.node `Cardinal.termℵ₁ 1024 (Lean.ParserDescr.symbol "ℵ₁")
Instances For
Alias of Cardinal.aleph_lt_aleph
.
Alias of Cardinal.aleph_le_aleph
.
Alias of Cardinal.preAleph
.
The "pre-aleph" function gives the cardinals listed by their ordinal index. preAleph n = n
,
preAleph ω = ℵ₀
, preAleph (ω + 1) = succ ℵ₀
, etc.
For the more common aleph function skipping over finite cardinals, see Cardinal.aleph
.
Equations
Instances For
The aleph'
index function, which gives the ordinal index of a cardinal.
(The aleph'
part is because unlike aleph
this counts also the
finite stages. So alephIdx n = n
, alephIdx ω = ω
,
alephIdx ℵ₁ = ω + 1
and so on.)
In this definition, we register additionally that this function is an initial segment,
i.e., it is order preserving and its range is an initial segment of the ordinals.
For the basic function version, see alephIdx
.
For an upgraded version stating that the range is everything, see AlephIdx.rel_iso
.
Equations
- Cardinal.alephIdx.initialSeg = Cardinal.ord.orderEmbedding.ltEmbedding.collapse
Instances For
The aleph'
index function, which gives the ordinal index of a cardinal.
(The aleph'
part is because unlike aleph
this counts also the
finite stages. So alephIdx n = n
, alephIdx ℵ₀ = ω
,
alephIdx ℵ₁ = ω + 1
and so on.)
In this version, we register additionally that this function is an order isomorphism
between cardinals and ordinals.
For the basic function version, see alephIdx
.
Equations
- Cardinal.alephIdx.relIso = Cardinal.aleph'.symm.toRelIsoLT
Instances For
The aleph'
index function, which gives the ordinal index of a cardinal.
(The aleph'
part is because unlike aleph
this counts also the
finite stages. So alephIdx n = n
, alephIdx ω = ω
,
alephIdx ℵ₁ = ω + 1
and so on.)
For an upgraded version stating that the range is everything, see AlephIdx.rel_iso
.
Equations
Instances For
The aleph'
function gives the cardinals listed by their ordinal
index, and is the inverse of aleph_idx
.
aleph' n = n
, aleph' ω = ω
, aleph' (ω + 1) = succ ℵ₀
, etc.
In this version, we register additionally that this function is an order isomorphism
between ordinals and cardinals.
For the basic function version, see aleph'
.
Equations
Instances For
Alias of Cardinal.aleph'_omega0
.
aleph'
and aleph_idx
form an equivalence between Ordinal
and Cardinal
Equations
- Cardinal.aleph'Equiv = { toFun := ⇑Cardinal.aleph', invFun := Cardinal.alephIdx, left_inv := Cardinal.alephIdx_aleph', right_inv := Cardinal.aleph'_alephIdx }
Instances For
Ordinals that are cardinals are unbounded.
Infinite ordinals that are cardinals are unbounded.
Beth cardinals #
Beth numbers are defined so that beth 0 = ℵ₀
, beth (succ o) = 2 ^ beth o
, and when o
is
a limit ordinal, beth o
is the supremum of beth o'
for o' < o
.
Assuming the generalized continuum hypothesis, which is undecidable in ZFC, beth o = aleph o
for
every o
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Beth numbers are defined so that beth 0 = ℵ₀
, beth (succ o) = 2 ^ beth o
, and when o
is
a limit ordinal, beth o
is the supremum of beth o'
for o' < o
.
Assuming the generalized continuum hypothesis, which is undecidable in ZFC, beth o = aleph o
for
every o
.
Equations
- Cardinal.termℶ_ = Lean.ParserDescr.node `Cardinal.termℶ_ 1024 (Lean.ParserDescr.symbol "ℶ_ ")