The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V31. Set theory

Mathlib.SetTheory.Cardinal.Free

30 declarations and 1 deprecated aliases. Mathlib docs · Source

Cardinalities of free constructions

This file shows that all the free constructions over α have cardinality max #α ℵ₀, and are thus infinite, and specifically countable over countable generators.

Combined with the ring Fin n for the finite cases, this lets us show that there is a CommRing of any cardinality.

instance instInfiniteFreeAddMonoidOfNonempty E0 #

∀ (α : Type u) [Nonempty α], Infinite (FreeAddMonoid α)

instance instInfiniteFreeMonoidOfNonempty E0 #

∀ (α : Type u) [Nonempty α], Infinite (FreeMonoid α)

instance instInfiniteFreeAddGroupOfNonempty E0 #

∀ (α : Type u) [Nonempty α], Infinite (FreeAddGroup α)

instance instInfiniteFreeGroupOfNonempty E0 #

∀ (α : Type u) [Nonempty α], Infinite (FreeGroup α)

instance instInfiniteFreeAddCommGroupOfNonempty E0 #

∀ (α : Type u) [Nonempty α], Infinite (FreeAddCommGroup α)

instance instInfiniteFreeCommRing E0 #

∀ (α : Type u_1), Infinite (FreeCommRing α)

instance instInfiniteFreeRing E0 #

∀ (α : Type u_1), Infinite (FreeRing α)

instance instCountableFreeAddMonoid E0 #

∀ (α : Type u) [Countable α], Countable (FreeAddMonoid α)

instance instCountableFreeMonoid E0 #

∀ (α : Type u) [Countable α], Countable (FreeMonoid α)

instance instCountableFreeGroup E0 #

∀ (α : Type u) [Countable α], Countable (FreeGroup α)

instance instCountableFreeAddGroup E0 #

∀ (α : Type u) [Countable α], Countable (FreeAddGroup α)

instance instCountableFreeAddCommGroup E0 #

∀ (α : Type u) [Countable α], Countable (FreeAddCommGroup α)

instance instCountableFreeCommGroup E0 #

∀ (α : Type u) [Countable α], Countable (FreeCommGroup α)

instance instCountableFreeRing E0 #

∀ (α : Type u) [Countable α], Countable (FreeRing α)

instance instCountableFreeCommRing E0 #

∀ (α : Type u) [Countable α], Countable (FreeCommRing α)

theorem Cardinal.mk_abelianization_le E1 #

∀ (G : Type u) [inst : Group G], Cardinal.mk (Group.Abelianization G) ≤ Cardinal.mk G

theorem Cardinal.mk_freeMonoid_eq_mk_list E1 #

∀ (α : Type u), Cardinal.mk (FreeMonoid α) = Cardinal.mk (List α)

theorem Cardinal.mk_freeAddMonoid_eq_mk_list E1 #

∀ (α : Type u), Cardinal.mk (FreeAddMonoid α) = Cardinal.mk (List α)

theorem Cardinal.mk_freeMonoid E0 #

∀ (α : Type u) [Nonempty α], Cardinal.mk (FreeMonoid α) = max (Cardinal.mk α) Cardinal.aleph0

theorem Cardinal.mk_freeAddMonoid E0 #

∀ (α : Type u) [Nonempty α], Cardinal.mk (FreeAddMonoid α) = max (Cardinal.mk α) Cardinal.aleph0

theorem Cardinal.mk_freeAddGroup E0 #

∀ (α : Type u) [Nonempty α], Cardinal.mk (FreeAddGroup α) = max (Cardinal.mk α) Cardinal.aleph0

theorem Cardinal.mk_freeGroup E0 #

∀ (α : Type u) [Nonempty α], Cardinal.mk (FreeGroup α) = max (Cardinal.mk α) Cardinal.aleph0

theorem Cardinal.mk_freeAddCommGroup E0 #

∀ (α : Type u) [Nonempty α], Cardinal.mk (FreeAddCommGroup α) = max (Cardinal.mk α) Cardinal.aleph0

theorem Cardinal.mk_freeRing E0 #

∀ (α : Type u), Cardinal.mk (FreeRing α) = max (Cardinal.mk α) Cardinal.aleph0

theorem Cardinal.mk_freeCommRing E0 #

∀ (α : Type u), Cardinal.mk (FreeCommRing α) = max (Cardinal.mk α) Cardinal.aleph0

instance nonempty_commRing E0 #

∀ (α : Type u) [Nonempty α], Nonempty (CommRing α)

A commutative ring can be constructed on any non-empty type.

See also Infinite.nonempty_field.

theorem nonempty_commRing_iff E0 #

∀ (α : Type u), Nonempty (CommRing α) ↔ Nonempty α

theorem nonempty_ring_iff E0 #

∀ (α : Type u), Nonempty (Ring α) ↔ Nonempty α

theorem nonempty_commSemiring_iff E0 #

∀ (α : Type u), Nonempty (CommSemiring α) ↔ Nonempty α

theorem nonempty_semiring_iff E0 #

∀ (α : Type u), Nonempty (Semiring α) ↔ Nonempty α

Deprecated aliases

NameNew nameSince
Cardinal.mk_freeAbelianGroupCardinal.mk_freeAddCommGroup2026-11-11