Constructing monoidal categories and monoidal functors from multifunctors #
This file first constructs monoidal category structures from a tensor bifunctor, associator and unitor natural isomorphisms, and pentagon and triangle identities expressed as equalities of natural transformations between quadrifunctors and bifunctors.
It then provides alternative constructors for (op/lax) monoidal functors, given tensorators
μ : F - ⊗ F - ⟶ F (- ⊗ -) / δ : F (- ⊗ -) ⟶ F - ⊗ F - as natural transformations between
bifunctors. The associativity conditions are equalities of natural transformations between
trifunctors (F - ⊗ F -) ⊗ F - ⟶ F (- ⊗ (- ⊗ -)) / F ((- ⊗ -) ⊗ -) ⟶ F - ⊗ (F - ⊗ F -),
and the unitality conditions are equalities of natural transformations between functors.
The source quadrifunctor of the two paths around the monoidal pentagon.
Equations
- CategoryTheory.MonoidalCategory.ofBifunctor.Pentagon.source tensor = (CategoryTheory.Functor.postcompose₃.obj tensor).obj (CategoryTheory.bifunctorComp₁₂ tensor tensor)
Instances For
The target quadrifunctor of the two paths around the monoidal pentagon.
Equations
- CategoryTheory.MonoidalCategory.ofBifunctor.Pentagon.target tensor = CategoryTheory.trifunctorComp₂₃₄ tensor (CategoryTheory.bifunctorComp₂₃ tensor tensor)
Instances For
The three-associator path along the top and right of the monoidal pentagon.
((X₁ ⊗ X₂) ⊗ X₃) ⊗ X₄ ----> (X₁ ⊗ (X₂ ⊗ X₃)) ⊗ X₄
| |
v v
(X₁ ⊗ X₂) ⊗ (X₃ ⊗ X₄) X₁ ⊗ ((X₂ ⊗ X₃) ⊗ X₄)
\ |
\ v
-----------------> X₁ ⊗ (X₂ ⊗ (X₃ ⊗ X₄))
Equations
- One or more equations did not get rendered due to their size.
Instances For
The two-associator path along the left and bottom of the monoidal pentagon displayed in
Pentagon.firstMap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The source bifunctor of the two paths around the monoidal triangle.
Equations
- CategoryTheory.MonoidalCategory.ofBifunctor.Triangle.source tensor unit = (tensor.flip.obj unit).comp tensor
Instances For
The intermediate bifunctor X Y ↦ X ⊗ (𝟙 ⊗ Y) in the monoidal triangle.
Equations
- CategoryTheory.MonoidalCategory.ofBifunctor.Triangle.middle tensor unit = tensor.comp ((CategoryTheory.Functor.whiskeringRight C C C).flip.obj (tensor.obj unit))
Instances For
The associator edge of the monoidal triangle.
Equations
Instances For
The left-unitor edge of the monoidal triangle.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The path around the top and right of the monoidal triangle through the associator and left unitor.
(X₁ ⊗ 𝟙) ⊗ X₂ ----> X₁ ⊗ (𝟙 ⊗ X₂)
\ |
\ v
-----------------> X₁ ⊗ X₂
Equations
- One or more equations did not get rendered due to their size.
Instances For
The diagonal path in the monoidal triangle displayed in Triangle.firstMap, given by the
right unitor.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Construct a monoidal category from a tensor bifunctor, associator and unitor natural isomorphisms, and pentagon and triangle identities between multifunctor transformations.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The bifunctor (F -) ⊗ -.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The bifunctor - ⊗ (F -).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The bifunctor F - ⊗ F -.
Equations
Instances For
The bifunctor F (- ⊗ -).
Equations
Instances For
The trifunctor (F - ⊗ F -) ⊗ F -.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The trifunctor F - ⊗ (F - ⊗ F -).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The trifunctor F (- ⊗ -) ⊗ F -.
Equations
Instances For
The trifunctor F - ⊗ F (- ⊗ -).
Equations
Instances For
The trifunctor F ((- ⊗ -) ⊗ -)
Equations
Instances For
The trifunctor F (- ⊗ (- ⊗ -))
Equations
Instances For
The natural isomorphism of bifunctors F - ⊗ F - ≅ F (- ⊗ -), given a monoidal functor F.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The functor which associates to a functor F the bifunctor F - ⊗ F -.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The functor which associates to a functor F the bifunctor F (- ⊗ -).
Equations
Instances For
Lax monoidal functors #
Given a unit morphism ε : 𝟙_ D ⟶ F.obj (𝟙_ C)) and a tensorator μ : F - ⊗ F - ⟶ F (- ⊗ -)
such that the diagrams below commute, we define
CategoryTheory.Functor.LaxMonoidal.ofBifunctor : F.LaxMonoidal.
Associativity hexagon #
(F - ⊗ F -) ⊗ F -
/ \
v v
F (- ⊗ -) ⊗ F - F - ⊗ (F - ⊗ F -)
| |
v v
F ((- ⊗ -) ⊗ -) F - ⊗ F (- ⊗ -)
\ /
v v
F (- ⊗ (- ⊗ -))
Left unitality square #
𝟙 ⊗ F - ⟶ F 𝟙 ⊗ F -
| |
v v
F ← F (𝟙 ⊗ -)
Right unitality square #
F - ⊗ 𝟙 ⟶ F - ⊗ F 𝟙
| |
v v
F ← F (- ⊗ 𝟙)
The top left map in the associativity hexagon.
Equations
Instances For
The middle left map in the associativity hexagon.
Equations
Instances For
The bottom left map in the associativity hexagon.
Equations
Instances For
The composition of the left maps in the associativity hexagon.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The top right map in the associativity hexagon.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The middle right map in the associativity hexagon.
Equations
Instances For
The bottom right map in the associativity hexagon.
Equations
Instances For
The composition of the right maps in the associativity hexagon.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The left map in the left unitality square.
Equations
Instances For
The top map in the left unitality square.
Equations
Instances For
The bottom map in the left unitality square.
Equations
Instances For
The left map in the right unitality square.
Equations
Instances For
The top map in the right unitality square.
Equations
Instances For
The bottom map in the right unitality square.
Equations
Instances For
F is lax monoidal given a unit morphism ε : 𝟙_ D ⟶ F.obj (𝟙_ C)) and a tensorator
μ : F - ⊗ F - ⟶ F (- ⊗ -) as a natural transformation between bifunctors, satisfying the
relevant compatibilities.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Oplax monoidal functors #
Given a counit morphism η : F.obj (𝟙_ C)) ⟶ 𝟙_ D and a tensorator δ : F (- ⊗ -) ⟶ F - ⊗ F -
such that the diagrams below commute, we define
CategoryTheory.Functor.OplaxMonoidal.ofBifunctor : F.OplaxMonoidal.
Oplax associativity hexagon #
F ((- ⊗ -) ⊗ -)
/ \
v v
F (- ⊗ -) ⊗ F - F (- ⊗ (- ⊗ -))
| |
v v
(F - ⊗ F -) ⊗ F - F - ⊗ F (- ⊗ -)
\ /
v v
F - ⊗ (F - ⊗ F -)
Oplax left unitality square #
F ⟶ F (𝟙 ⊗ -)
| |
v v
𝟙 ⊗ F - ← F 𝟙 ⊗ F -
Oplax right unitality square #
F ⟶ F (- ⊗ 𝟙)
| |
v v
F - ⊗ 𝟙 ← F - ⊗ F 𝟙
The top left map in the oplax associativity hexagon.
Equations
Instances For
The middle left map in the oplax associativity hexagon.
Equations
Instances For
The bottom left map in the oplax associativity hexagon.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The composition of the three left maps in the oplax associativity hexagon.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The top right map in the oplax associativity hexagon.
Equations
Instances For
The middle right map in the oplax associativity hexagon.
Equations
Instances For
The bottom right map in the oplax associativity hexagon.
Equations
Instances For
The composition of the three right maps in the oplax associativity hexagon.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The left map in the oplax left unitality square.
Equations
Instances For
The top map in the oplax left unitality square.
Equations
Instances For
The bottom map in the oplax left unitality square.
Equations
Instances For
The left map in the oplax right unitality square.
Equations
Instances For
The top map in the oplax right unitality square.
Equations
Instances For
The bottom map in the oplax right unitality square.
Equations
Instances For
F is oplax monoidal given a counit morphism η : F.obj (𝟙_ C) ⟶ 𝟙_ D and a tensorator
δ : F (- ⊗ -) ⟶ F - ⊗ F - as a natural transformation between bifunctors, satisfying the
relevant compatibilities.
Equations
- One or more equations did not get rendered due to their size.
Instances For
F is monoidal given a co/unit morphisms ε/η : 𝟙_ D ↔ F.obj (𝟙_ C) and tensorators
μ / δ : F - ⊗ F - ↔ F (- ⊗ -) as natural transformations between bifunctors, satisfying the
relevant compatibilities.
Equations
- One or more equations did not get rendered due to their size.
Instances For
F is monoidal given a unit isomorphism ε : 𝟙_ D ≅ F.obj (𝟙_ C) and a tensorator isomorphism
μ : F - ⊗ F - ≅ F (- ⊗ -) as a natural isomorphism between bifunctors, satisfying the
relevant compatibilities.
Equations
- One or more equations did not get rendered due to their size.