aboutsummaryrefslogtreecommitdiff
path: root/Category/Cocomplete/Finitely
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-09-19 12:34:28 -0500
committerJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-09-19 12:34:28 -0500
commit8a832a39547c21a0cde9cd3671f0368cd35c26c0 (patch)
tree82710a665db81d84c5e592c586211304a3fa6d2c /Category/Cocomplete/Finitely
parentdc3b799d6f9cdd4fb0b2b32f323b7128ccc14a80 (diff)
Add decorated cospans
Diffstat (limited to 'Category/Cocomplete/Finitely')
-rw-r--r--Category/Cocomplete/Finitely/Bundle.agda27
-rw-r--r--Category/Cocomplete/Finitely/SymmetricMonoidal.agda15
2 files changed, 42 insertions, 0 deletions
diff --git a/Category/Cocomplete/Finitely/Bundle.agda b/Category/Cocomplete/Finitely/Bundle.agda
new file mode 100644
index 0000000..af40895
--- /dev/null
+++ b/Category/Cocomplete/Finitely/Bundle.agda
@@ -0,0 +1,27 @@
+{-# OPTIONS --without-K --safe #-}
+module Category.Cocomplete.Finitely.Bundle where
+
+open import Level
+open import Categories.Category.Core using (Category)
+open import Categories.Category.Cocomplete.Finitely using (FinitelyCocomplete)
+open import Category.Cocomplete.Finitely.SymmetricMonoidal using (module FinitelyCocompleteSymmetricMonoidal)
+open import Categories.Category.Monoidal.Bundle using (SymmetricMonoidalCategory)
+
+
+record FinitelyCocompleteCategory o ℓ e : Set (suc (o ⊔ ℓ ⊔ e)) where
+
+ field
+ U : Category o ℓ e
+ finCo : FinitelyCocomplete U
+
+ open Category U public
+ open FinitelyCocomplete finCo public
+
+ open FinitelyCocompleteSymmetricMonoidal finCo using (+-monoidal; +-symmetric)
+
+ symmetricMonoidalCategory : SymmetricMonoidalCategory o ℓ e
+ symmetricMonoidalCategory = record
+ { U = U
+ ; monoidal = +-monoidal
+ ; symmetric = +-symmetric
+ }
diff --git a/Category/Cocomplete/Finitely/SymmetricMonoidal.agda b/Category/Cocomplete/Finitely/SymmetricMonoidal.agda
new file mode 100644
index 0000000..26813eb
--- /dev/null
+++ b/Category/Cocomplete/Finitely/SymmetricMonoidal.agda
@@ -0,0 +1,15 @@
+{-# OPTIONS --without-K --safe #-}
+
+open import Categories.Category.Core using (Category)
+
+module Category.Cocomplete.Finitely.SymmetricMonoidal {o ℓ e} {𝒞 : Category o ℓ e} where
+
+open import Categories.Category.Cocomplete.Finitely using (FinitelyCocomplete)
+open import Categories.Category.Cocartesian 𝒞 using (module CocartesianMonoidal; module CocartesianSymmetricMonoidal)
+
+
+module FinitelyCocompleteSymmetricMonoidal (finCo : FinitelyCocomplete 𝒞) where
+
+ open FinitelyCocomplete finCo using (cocartesian)
+ open CocartesianMonoidal cocartesian using (+-monoidal) public
+ open CocartesianSymmetricMonoidal cocartesian using (+-symmetric) public