Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit b9beca0

Browse files
chore(set_theory/ordinal): split into multiple files (#3517)
Split the file `ordinal.lean` into three files, and add docstrings for all definitions and file-level docstrings. This is just shuffling things around: no new content, no erased content. Co-authored-by: Rob Lewis <Rob.y.lewis@gmail.com>
1 parent 79df8cc commit b9beca0

8 files changed

Lines changed: 2880 additions & 2563 deletions

File tree

src/data/real/cardinality.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Authors: Floris van Doorn
55
66
The cardinality of the reals.
77
-/
8-
import set_theory.ordinal
8+
import set_theory.cardinal_ordinal
99
import analysis.specific_limits
1010
import data.rat.denumerable
1111
import data.set.intervals.image_preimage

src/linear_algebra/dimension.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
44
Author: Mario Carneiro, Johannes Hölzl, Sander Dahmen
55
-/
66
import linear_algebra.basis
7-
import set_theory.ordinal
7+
import set_theory.cardinal_ordinal
88

99
/-!
1010
# Dimension of modules and vector spaces

src/set_theory/cardinal.lean

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ We define the order on cardinal numbers, define omega, and do basic cardinal ari
1515
addition, multiplication, power, cardinal successor, minimum, supremum,
1616
infinitary sums and products
1717
18+
The fact that the cardinality of `α × α` coincides with that of `α` when `α` is infinite is not
19+
proved in this file, as it relies on facts on well-orders. Instead, it is in
20+
`cardinal_ordinal.lean` (together with many other facts on cardinals, for instance the
21+
cardinality of `list α`).
22+
1823
## Implementation notes
1924
2025
* There is a type of cardinal numbers in every universe level: `cardinal.{u} : Type (u + 1)`

src/set_theory/cardinal_ordinal.lean

Lines changed: 845 additions & 0 deletions
Large diffs are not rendered by default.

src/set_theory/cofinality.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Copyright (c) 2017 Mario Carneiro. All rights reserved.
33
Released under Apache 2.0 license as described in the file LICENSE.
44
Author: Mario Carneiro
55
-/
6-
import set_theory.ordinal
6+
import set_theory.cardinal_ordinal
77
/-!
88
# Cofinality on ordinals, regular cardinals
99
-/

src/set_theory/ordinal.lean

Lines changed: 285 additions & 2540 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)