blob: c6261bbbca05b6daa7d9204099a6b876548c84d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{-# OPTIONS --without-K --safe #-}
open import Level using (Level)
module Category.Instance.One.Properties {o ℓ e : Level} where
open import Categories.Category.Core using (Category)
open import Categories.Category.Instance.One using () renaming (One to One′)
One : Category o ℓ e
One = One′ {o} {ℓ} {e}
open import Categories.Category.Cocartesian One using (Cocartesian)
open import Categories.Category.Cocomplete.Finitely One using (FinitelyCocomplete)
open import Categories.Object.Initial One using (Initial)
open import Categories.Category.Cocartesian One using (BinaryCoproducts)
initial : Initial
initial = _
coproducts : BinaryCoproducts
coproducts = _
cocartesian : Cocartesian
cocartesian = record
{ initial = initial
; coproducts = coproducts
}
finitelyCocomplete : FinitelyCocomplete
finitelyCocomplete = record
{ cocartesian = cocartesian
; coequalizer = _
}
|