Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(category_theory): limits of essentially small indexing categories (
- Loading branch information
Showing
2 changed files
with
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/- | ||
Copyright (c) 2022 Markus Himmel. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Markus Himmel | ||
-/ | ||
import category_theory.limits.shapes.products | ||
import category_theory.essentially_small | ||
|
||
/-! | ||
# Limits over essentially small indexing categories | ||
If `C` has limits of size `w` and `J` is `w`-essentially small, then `C` has limits of shape `J`. | ||
-/ | ||
|
||
universes w₁ w₂ v₁ v₂ u₁ u₂ | ||
|
||
noncomputable theory | ||
|
||
open category_theory | ||
|
||
namespace category_theory.limits | ||
variables (J : Type u₂) [category.{v₂} J] (C : Type u₁) [category.{v₁} C] | ||
|
||
lemma has_limits_of_shape_of_essentially_small [essentially_small.{w₁} J] | ||
[has_limits_of_size.{w₁ w₁} C] : has_limits_of_shape J C := | ||
has_limits_of_shape_of_equivalence $ equivalence.symm $ equiv_small_model.{w₁} J | ||
|
||
lemma has_colimits_of_shape_of_essentially_small [essentially_small.{w₁} J] | ||
[has_colimits_of_size.{w₁ w₁} C] : has_colimits_of_shape J C := | ||
has_colimits_of_shape_of_equivalence $ equivalence.symm $ equiv_small_model.{w₁} J | ||
|
||
lemma has_products_of_shape_of_small (β : Type w₁) [small.{w₂} β] [has_products.{w₂} C] : | ||
has_products_of_shape β C := | ||
has_limits_of_shape_of_equivalence $ discrete.equivalence $ equiv.symm $ equiv_shrink β | ||
|
||
lemma has_coproducts_of_shape_of_small (β : Type w₁) [small.{w₂} β] [has_coproducts.{w₂} C] : | ||
has_coproducts_of_shape β C := | ||
has_colimits_of_shape_of_equivalence $ discrete.equivalence $ equiv.symm $ equiv_shrink β | ||
|
||
end category_theory.limits |