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 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.is_strong_limit cmeans that- cis a strong limit cardinal:- c ≠ 0 ∧ ∀ x < c, 2 ^ x < c.
- cardinal.is_regular cmeans that- cis a regular cardinal:- ℵ₀ ≤ c ∧ c.ord.cof = c.
- cardinal.is_inaccessible cmeans that- cis strongly inaccessible:- ℵ₀ < c ∧ is_regular c ∧ is_strong_limit 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.
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)