-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(CategoryTheory/Subobject): hasCardinalLT_of_mono (#22122)
This PR adds API in order to get strict inequalities in `Subobject`, and it is shown that if `X ⟶ Y` is a monomorphism, and the cardinality of `Subobject Y` is `< κ`, then the cardinality of `Subobject X` is also `< κ`.
- Loading branch information
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/- | ||
Copyright (c) 2025 Joël Riou. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Joël Riou | ||
-/ | ||
import Mathlib.CategoryTheory.Subobject.Basic | ||
import Mathlib.SetTheory.Cardinal.HasCardinalLT | ||
|
||
/-! | ||
# Cardinality of Subobject | ||
If `X ⟶ Y` is a monomorphism, and the cardinality of `Subobject Y` | ||
is `< κ`, then the cardinality of `Subobject X` is also `< κ`. | ||
-/ | ||
|
||
universe w v u | ||
|
||
namespace CategoryTheory.Subobject | ||
|
||
variable {C : Type u} [Category.{v} C] | ||
|
||
lemma hasCardinalLT_of_mono {Y : C} {κ : Cardinal.{w}} | ||
(h : HasCardinalLT (Subobject Y) κ) {X : C} (f : X ⟶ Y) [Mono f] : | ||
HasCardinalLT (Subobject X) κ := | ||
h.of_injective _ (map_obj_injective f) | ||
|
||
end CategoryTheory.Subobject |