File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
src/Categories/Category/Cocomplete/Properties Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ {-# OPTIONS --without-K --safe #-}
2+
3+ open import Categories.Category
4+
5+ module Categories.Category.Cocomplete.Properties.Construction {o ℓ e} (C : Category o ℓ e) where
6+
7+ open import Level
8+
9+ open import Categories.Category.Construction.Arrow using (Morphism)
10+ open import Categories.Category.Cocomplete
11+ open import Categories.Diagram.Coequalizer C
12+ open import Categories.Diagram.Colimit
13+ open import Categories.Diagram.Colimit.Properties using (build-colim)
14+ open import Categories.Functor
15+ open import Categories.Object.Coproduct.Indexed C
16+ open import Categories.Object.Coproduct.Indexed.Properties C
17+
18+ private
19+ variable
20+ o′ ℓ′ e′ : Level
21+
22+ module _ (coprods : AllCoproductsOf (o′ ⊔ ℓ′)) (coequalizer : ∀ {A B} (f g : C [ A , B ]) → Coequalizer f g) where
23+ private module _ {J : Category o′ ℓ′ e′} (F : Functor J C) where
24+ open Functor F
25+
26+ cocomplete : Colimit F
27+ cocomplete = build-colim {OP = lowerAllCoproductsOf ℓ′ coprods F₀} {MP = lowerAllCoproductsOf o′ coprods (λ f → F₀ (Morphism.dom f))} (coequalizer _ _)
28+
29+ AllCoproducts×Coequalizer⇒Cocomplete : Cocomplete o′ ℓ′ e′ C
30+ AllCoproducts×Coequalizer⇒Cocomplete = cocomplete
You can’t perform that action at this time.
0 commit comments