Cofinality #
This file contains the definition of cofinality of an order and an ordinal number.
Main Definitions #
Order.cof r
is the cofinality of a reflexive order. This is the smallest cardinality of a subsets
that is cofinal, i.e.∀ x, ∃ y ∈ s, r x y
.Ordinal.cof o
is the cofinality of the ordinalo
when viewed as a linear order.
Main Statements #
Cardinal.lt_power_cof
: A consequence of König's theorem stating thatc < c ^ c.ord.cof
forc ≥ ℵ₀
.
Implementation Notes #
- The cofinality is defined for ordinals.
If
c
is a cardinal number, its cofinality isc.ord.cof
.
Cofinality of orders #
Cofinality of a reflexive order ≼
. This is the smallest cardinality
of a subset S : Set α
such that ∀ a, ∃ b ∈ S, a ≼ b
.
Equations
Instances For
Cofinality of a strict order ≺
. This is the smallest cardinality of a set S : Set α
such
that ∀ a, ∃ b ∈ S, ¬ b ≺ a
.
Equations
Instances For
The set in the definition of Order.StrictOrder.cof
is nonempty.
Cofinality of ordinals #
Cofinality of an ordinal. This is the smallest cardinal of a subset S
of the ordinal which is
unbounded, in the sense ∀ a, ∃ b ∈ S, a ≤ b
.
In particular, cof 0 = 0
and cof (succ o) = 1
.
Equations
- o.cof = Quotient.liftOn o (fun (a : WellOrder) => Order.cof (Function.swap a.rᶜ)) Ordinal.cof.proof_1
Instances For
Cofinality of suprema and least strict upper bounds #
The set in the lsub
characterization of cof
is nonempty.
Basic results #
Fundamental sequences #
A fundamental sequence for a
is an increasing sequence of length o = cof a
that converges at
a
. We provide o
explicitly in order to avoid type rewrites.
Equations
Instances For
Every ordinal has a fundamental sequence.
Results on sets #
If the union of s is unbounded and s is smaller than the cofinality, then s has an unbounded member
If the union of s is unbounded and s is smaller than the cofinality, then s has an unbounded member