[Merged by Bors] - feat(SetTheory): the predicate HasCardinalLT#19959
[Merged by Bors] - feat(SetTheory): the predicate HasCardinalLT#19959
Conversation
PR summary 8adce59337Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
vihdzp
left a comment
There was a problem hiding this comment.
I don't really like this idea. We already have a canonical way to write cardinal inequalities between different universes: if a : Cardinal.{u} and b : Cardinal.{v}, we write Cardinal.lift{v} a < Cardinal.lift.{u} b.
I could maybe instead support creating new predicates for universe-homogeneous <, ≤, and = for cardinals (and ordinals), which would surely make working with lift a bit easier. I am still very iffy about this however, since it would introduce a lot of boilerplate in exchange for reducing a bit of boilerplate elsewhere.
The point is not to disturb the set theory API, but making it usable for other fields of mathematics. The notions of accessible/presentable objects in category theory require the notion of |
|
I don't agree with the notion that |
The internals of the set theory API are very nice, but I do not see why all the details of it should be displayed to the category theory user. |
dagurtomas
left a comment
There was a problem hiding this comment.
FWIW, I think we should merge this, as its usefulness is evidenced by the subsequent series of PRs. A potential refactor of set theory API shouldn't block this, and can be thought about in parallel by those interested.
|
maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by dagurtomas. |
|
(after said discussion, I'm fine with merging this for now) |
|
Thanks! bors merge |
We introduce the universe-heterogeneous predicate `HasCardinalLT X κ` for `X : Type u` and `κ : Cardinal.{v}` saying that the cardinal of `X` is (strictly) less than `κ`. (This shall be used in the formalization of `κ`-filtered categories, which generalize filtered categories.)
|
Pull request successfully merged into master. Build succeeded: |
We introduce the universe-heterogeneous predicate
HasCardinalLT X κforX : Type uandκ : Cardinal.{v}saying that the cardinal ofXis (strictly) less thanκ. (This shall be used in the formalization ofκ-filtered categories, which generalize filtered categories.)