aboutsummaryrefslogtreecommitdiff
path: root/Object/Monoid/Frobenius.agda
blob: 672e65e215fa4b36a9a8b6012b31cefe5c285e5e (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
36
37
38
39
40
{-# OPTIONS --without-K --safe #-}

open import Categories.Category using (Category)
open import Categories.Category.Monoidal using (Monoidal)
open import Categories.Category.Monoidal.Symmetric using (Symmetric)
open import Level using (Level; _⊔_)

module Object.Monoid.Frobenius {o  e : Level} {C : Category o  e} {M : Monoidal C} (S : Symmetric M) where

open import Categories.Category.Monoidal.Symmetric.Properties S using () renaming (symmetric-Op to Sᵒᵖ)
open import Object.Monoid.Commutative using (IsCommutativeMonoid)

open Category C

record IsSpecialCommutativeFrobeniusMonoid (A : Obj) : Set (  e) where

  field
    commutativeMonoid : IsCommutativeMonoid S A
    cocommutativeComonoid : IsCommutativeMonoid Sᵒᵖ A

  open IsCommutativeMonoid commutativeMonoid
    using (μ; η; commutative)
    renaming (assoc to μ-assoc; identityˡ to μ-η-identityˡ; identityʳ to μ-η-identityʳ)
    public

  open IsCommutativeMonoid cocommutativeComonoid
    using ()
    renaming (μ to δ; η to ϵ; assoc to δ-assoc; identityˡ to δ-ϵ-identityˡ; identityʳ to δ-ϵ-identityʳ; commutative to cocommutative)
    public

  field
    special : μ  δ  id

record SpecialCommutativeFrobeniusMonoid : Set (o    e) where

  field
    Carrier : Obj
    isSpecialCommutativeFrobeniusMonoid : IsSpecialCommutativeFrobeniusMonoid Carrier

  open IsSpecialCommutativeFrobeniusMonoid isSpecialCommutativeFrobeniusMonoid public