We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3eb05e5 commit a5e4b92Copy full SHA for a5e4b92
Cubical/Categories/Monoidal/Base.agda
@@ -43,6 +43,21 @@ module _ {ℓ ℓ' : Level} (C : Category ℓ ℓ') where
43
44
open IsMonoid is-monoid renaming (·Assoc to assoc; ·IdL to idl; ·IdR to idr) public
45
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
61
record MonoidalStr : Type (ℓ-max ℓ ℓ') where
62
field
63
tenstr : TensorStr
0 commit comments