diff options
author | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-09-19 12:34:28 -0500 |
---|---|---|
committer | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-09-19 12:34:28 -0500 |
commit | 8a832a39547c21a0cde9cd3671f0368cd35c26c0 (patch) | |
tree | 82710a665db81d84c5e592c586211304a3fa6d2c /Category/Instance/Setoids/SymmetricMonoidal.agda | |
parent | dc3b799d6f9cdd4fb0b2b32f323b7128ccc14a80 (diff) |
Add decorated cospans
Diffstat (limited to 'Category/Instance/Setoids/SymmetricMonoidal.agda')
-rw-r--r-- | Category/Instance/Setoids/SymmetricMonoidal.agda | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Category/Instance/Setoids/SymmetricMonoidal.agda b/Category/Instance/Setoids/SymmetricMonoidal.agda new file mode 100644 index 0000000..fa4d903 --- /dev/null +++ b/Category/Instance/Setoids/SymmetricMonoidal.agda @@ -0,0 +1,33 @@ +{-# OPTIONS --without-K --safe #-} + +module Category.Instance.Setoids.SymmetricMonoidal {ℓ} where + +open import Categories.Category.Cartesian.Monoidal using (module CartesianMonoidal) +open import Categories.Category.Instance.Setoids using (Setoids) +open import Categories.Category.Monoidal.Bundle using (SymmetricMonoidalCategory) +open import Categories.Category.Monoidal.Instance.Setoids + using (Setoids-Cartesian; Setoids-Cocartesian) + renaming (Setoids-Monoidal to ×-monoidal) +open import Categories.Category.Cartesian.SymmetricMonoidal (Setoids ℓ ℓ) Setoids-Cartesian + using () + renaming (symmetric to ×-symmetric) +open import Level using (suc) +open import Categories.Category.Cocartesian (Setoids ℓ ℓ) + using (module CocartesianMonoidal; module CocartesianSymmetricMonoidal) +open CocartesianMonoidal (Setoids-Cocartesian {ℓ} {ℓ}) using (+-monoidal) +open CocartesianSymmetricMonoidal (Setoids-Cocartesian {ℓ} {ℓ}) using (+-symmetric) + + +Setoids-× : SymmetricMonoidalCategory (suc ℓ) ℓ ℓ +Setoids-× = record + { U = Setoids ℓ ℓ + ; monoidal = ×-monoidal + ; symmetric = ×-symmetric + } + +Setoids-+ : SymmetricMonoidalCategory (suc ℓ) ℓ ℓ +Setoids-+ = record + { U = Setoids ℓ ℓ + ; monoidal = +-monoidal + ; symmetric = +-symmetric + } |