aboutsummaryrefslogtreecommitdiff
path: root/Category/Instance/Setoids/SymmetricMonoidal.agda
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
    }