Cofinality #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file contains the definition of cofinality of an ordinal number and regular cardinals
Main Definitions #
ordinal.cof o
is the cofinality of the ordinalo
. Ifo
is the order type of the relation<
onα
, theno.cof
is the smallest cardinality of a subsets
of α that is cofinal inα
, i.e.∀ x : α, ∃ y ∈ s, ¬ y < x
.cardinal.is_strong_limit c
means thatc
is a strong limit cardinal:c ≠ 0 ∧ ∀ x < c, 2 ^ x < c
.cardinal.is_regular c
means thatc
is a regular cardinal:ℵ₀ ≤ c ∧ c.ord.cof = c
.cardinal.is_inaccessible c
means thatc
is strongly inaccessible:ℵ₀ < c ∧ is_regular c ∧ is_strong_limit c
.
Main Statements #
ordinal.infinite_pigeonhole_card
: the infinite pigeonhole principlecardinal.lt_power_cof
: A consequence of König's theorem stating thatc < c ^ c.ord.cof
forc ≥ ℵ₀
cardinal.univ_inaccessible
: The type of ordinals inType u
form an inaccessible cardinal (inType v
withv > u
). This shows (externally) that inType u
there are at leastu
inaccessible cardinals.
Implementation Notes #
- The cofinality is defined for ordinals.
If
c
is 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
.
Cofinality of a strict order ≺
. This is the smallest cardinality of a set S : set α
such
that ∀ a, ∃ b ∈ S, ¬ b ≺ a
.
Equations
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
. It is defined for all ordinals, but
cof 0 = 0
and cof (succ o) = 1
, so it is only really
interesting on limit ordinals (when it is an infinite cardinal).
Equations
- o.cof = quotient.lift_on o (λ (a : Well_order), strict_order.cof a.r) ordinal.cof._proof_1
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.
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 regular if it is infinite and it equals its own cofinality.
Equations
- c.is_regular = (cardinal.aleph_0 ≤ c ∧ c ≤ c.ord.cof)
A function whose codomain's cardinality is infinite but strictly smaller than its domain's has a fiber with cardinality strictly great than the codomain.
A function whose codomain's cardinality is infinite but strictly smaller than its domain's has an infinite fiber.
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.is_inaccessible = (cardinal.aleph_0 < c ∧ c.is_regular ∧ c.is_strong_limit)