Skip to content

Commit a5e4b92

Browse files
committed
Add axioms for the morphisms
1 parent 3eb05e5 commit a5e4b92

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Cubical/Categories/Monoidal/Base.agda

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,21 @@ module _ {ℓ ℓ' : Level} (C : Category ℓ ℓ') where
4343

4444
open IsMonoid is-monoid renaming (·Assoc to assoc; ·IdL to idl; ·IdR to idr) public
4545

46+
field
47+
-- Axioms for the morphisms
48+
assocₕ : {x y z x' y' z'}
49+
(f : Hom[ x , x' ]) (g : Hom[ y , y' ]) (h : Hom[ z , z' ])
50+
(λ i Hom[ assoc x y z i , assoc x' y' z' i ])
51+
[ f ⊗ₕ (g ⊗ₕ h) ≡ (f ⊗ₕ g) ⊗ₕ h ]
52+
53+
idlₕ : {x x'} (f : Hom[ x , x' ])
54+
(λ i Hom[ idl x i , idl x' i ])
55+
[ id ⊗ₕ f ≡ f ]
56+
57+
idrₕ : {x x'} (f : Hom[ x , x' ])
58+
(λ i Hom[ idr x i , idr x' i ])
59+
[ f ⊗ₕ id ≡ f ]
60+
4661
record MonoidalStr : Type (ℓ-max ℓ ℓ') where
4762
field
4863
tenstr : TensorStr

0 commit comments

Comments
 (0)