blob: fa4d903a1729d259ec0f592ec058be5624b40489 (
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
|
{-# 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
}
|