Lemma composedrelativelaxcommutator_nat: relativelaxcommutator_nat composedrelativelaxcommutator_data. Proof. do 2 red; intros; unfold composedrelativelaxcommutator_data; cbn. assert (γ1_nat := relativelaxcommutator_ldnat γ1). assert (γ2_nat := relativelaxcommutator_ldnat γ2). do 2 red in γ1_nat, γ2_nat; cbn in γ1_nat, γ2_nat. etrans. { repeat rewrite assoc. do 4 apply cancel_postcomposition. apply monoidal_associatorinvnatright. } repeat rewrite assoc'. apply maponpaths. etrans. { rewrite assoc. apply cancel_postcomposition. apply pathsinv0, (functor_comp (rightwhiskering_functor Mon_V v2)). } cbn. rewrite γ1_nat. etrans. { rewrite assoc. do 2 apply cancel_postcomposition. apply (functor_comp (rightwhiskering_functor Mon_V v2)). } cbn. repeat rewrite assoc'. apply maponpaths. etrans. 2: { do 2 apply maponpaths. apply monoidal_associatorinvnatleft. } repeat rewrite assoc. apply cancel_postcomposition. etrans. 2: { rewrite assoc'. apply maponpaths. apply (functor_comp (leftwhiskering_functor Mon_V v1)). } cbn. rewrite <- γ2_nat. etrans. 2: { apply maponpaths. apply pathsinv0, (functor_comp (leftwhiskering_functor Mon_V v1)). } cbn. repeat rewrite assoc. apply cancel_postcomposition. apply pathsinv0, monoidal_associatornatleftright. Qed.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Functors. Require Import UniMath.CategoryTheory.Core.NaturalTransformations. Require Import UniMath.CategoryTheory.Core.Isos. Require Import UniMath.CategoryTheory.PrecategoryBinProduct. Require Import UniMath.CategoryTheory.whiskering. Require Import UniMath.CategoryTheory.Monoidal.WhiskeredBifunctors. Require Import UniMath.CategoryTheory.Monoidal.Categories. Require Import UniMath.CategoryTheory.Monoidal.Functors. Require Import UniMath.CategoryTheory.Actegories.Actegories. Require Import UniMath.CategoryTheory.Actegories.MorphismsOfActegories. Require Import UniMath.CategoryTheory.Actegories.ConstructionOfActegories. Require Import UniMath.CategoryTheory.coslicecat. Require Import UniMath.CategoryTheory.Monoidal.Examples.MonoidalPointedObjects. Require Import UniMath.CategoryTheory.Limits.BinProducts. Require Import UniMath.CategoryTheory.Limits.BinCoproducts. Require Import UniMath.CategoryTheory.Limits.Coproducts. Require Import UniMath.CategoryTheory.Actegories.CoproductsInActegories. Require Import UniMath.CategoryTheory.Actegories.ProductsInActegories. Require Import UniMath.CategoryTheory.Actegories.ProductActegory. Import BifunctorNotations. Import MonoidalNotations. Import ActegoryNotations. Section ActegoryMorphismFromRelativeLaxCommutator. End ActegoryMorphismFromRelativeLaxCommutator.