Cofinality #
This file contains the definition of cofinality of an ordinal number and regular cardinals
Main Definitions #
- Ordinal.cof ois the cofinality of the ordinal- o. If- ois the order type of the relation- <on- α, then- o.cofis the smallest cardinality of a subset- sof α that is cofinal in- α, i.e.- ∀ x : α, ∃ y ∈ s, ¬ y < x.
- Cardinal.IsStrongLimit cmeans that- cis a strong limit cardinal:- c ≠ 0 ∧ ∀ x < c, 2 ^ x < c.
- Cardinal.IsRegular cmeans that- cis a regular cardinal:- ℵ₀ ≤ c ∧ c.ord.cof = c.
- Cardinal.IsInaccessible cmeans that- cis strongly inaccessible:- ℵ₀ < c ∧ IsRegular c ∧ IsStrongLimit c.
Main Statements #
- Ordinal.infinite_pigeonhole_card: the infinite pigeonhole principle
- Cardinal.lt_power_cof: A consequence of König's theorem stating that- c < c ^ c.ord.coffor- c ≥ ℵ₀
- Cardinal.univ_inaccessible: The type of ordinals in- Type uform an inaccessible cardinal (in- Type vwith- v > u). This shows (externally) that in- Type uthere are at least- uinaccessible cardinals.
Implementation Notes #
- The cofinality is defined for ordinals.
If cis a cardinal number, its cofinality isc.ord.cof.
Tags #
cofinality, regular cardinals, limits cardinals, inaccessible cardinals, infinite pigeonhole principle
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 #
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.
Infinite pigeonhole principle #
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
The infinite pigeonhole principle
Pigeonhole principle for a cardinality below the cardinality of the domain
Regular and inaccessible cardinals #
A cardinal is a strong limit if it is not zero and it is closed under powersets.
Note that ℵ₀ is a strong limit by this definition.
- two_power_lt ⦃x : Cardinal.{u_1}⦄ : x < c → 2 ^ x < c
Instances For
A cardinal is regular if it is infinite and it equals its own cofinality.
Instances For
If c is a regular cardinal, then c.ord.toType has a least element.
If an infinite type β can be expressed as a union of finite sets,
then the cardinality of the collection of those finite sets
must be at least the cardinality of β.
A cardinal is inaccessible if it is an uncountable regular strong limit cardinal.
Equations
- c.IsInaccessible = (Cardinal.aleph0 < c ∧ c.IsRegular ∧ c.IsStrongLimit)