You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR splits `SetTheory.Cardinal.Basic` into three files:
* `Cardinal/Defs.lean`: definition of `Cardinal`, addition, zero, `א0`
* `Cardinal/Order.lean`: definition of pre/linear/wellorder on `Cardinal`, semiring and ordered semiring structures
* `Cardinal/Basic.lean`: leftovers, in particular finite/countable/small types and sets
In particular, `Defs.lean` defines cardinals without importing any algebra (measured with an `assert_not_exists Monoid`).
I would have liked to do more with `Cardinal/Order.lean` such as splitting it into a file focused more on the order and a file focused more on the arithmetic, but unfortunately the two are currently so interwoven that it would not make sense to break them apart. (It would require substantial redoing of proofs.) Even moving the `Preorder Cardinal` instance upstream is hard since it depends on Schröder-Bernstein which imports lots of algebra. It wouldn't actually help the imports much.
0 commit comments