proposition: Lemma monoidal_pentagon_identity_inv {C : category} (M : monoidal C) (w x y z : C) : w ⊗^{ M}_{l} (αinv_{M} x y z) · αinv_{M} w (x ⊗_{ M} y) z · αinv_{M} w x y ⊗^{ M}_{r} z = αinv_{M} w x (y ⊗_{ M} z) · αinv_{M} (w ⊗_{ M} x) y z.
proof: Proof. apply pathsinv0. apply (z_iso_inv_on_right _ _ _ (z_iso_from_associator_iso M _ _ _)). unfold z_iso_from_associator_iso. unfold make_z_iso. unfold make_is_z_isomorphism. etrans. { apply (pathsinv0 (id_right _)). } apply (z_iso_inv_on_right _ _ _ (z_iso_from_associator_iso M _ _ _)). cbn. apply pathsinv0. etrans. { rewrite assoc. apply cancel_postcomposition. apply (pathsinv0 (monoidal_pentagonidentity M w x y z)). } etrans. { rewrite assoc. rewrite assoc. apply cancel_postcomposition. apply cancel_postcomposition. rewrite assoc'. apply cancel_precomposition. apply (pathsinv0 (bifunctor_leftcomp M _ _ _ _ _ _)). } etrans. { apply cancel_postcomposition. apply cancel_postcomposition. apply cancel_precomposition. apply maponpaths. apply (pr2 (z_iso_from_associator_iso M x y z)). } etrans. { apply cancel_postcomposition. apply cancel_postcomposition. apply cancel_precomposition. apply (bifunctor_leftid M). } etrans. { apply cancel_postcomposition. apply cancel_postcomposition. apply id_right. } etrans. { apply cancel_postcomposition. rewrite assoc'. apply cancel_precomposition. apply (pr2 (z_iso_from_associator_iso M w (x⊗_{M}y) z)). } etrans. { apply cancel_postcomposition. apply id_right. } etrans. { apply (pathsinv0 (bifunctor_rightcomp M _ _ _ _ _ _)). } etrans. { apply maponpaths. apply (pr2 (pr2 (z_iso_from_associator_iso M w x y))). } apply (bifunctor_rightid M). Qed.
imports: UniMath.Foundations.All UniMath.MoreFoundations.Notations UniMath.MoreFoundations.PartA UniMath.CategoryTheory.Core.Categories UniMath.CategoryTheory.Core.Functors UniMath.CategoryTheory.Core.NaturalTransformations UniMath.CategoryTheory.Core.Isos UniMath.CategoryTheory.PrecategoryBinProduct UniMath.CategoryTheory.Monoidal.WhiskeredBifunctors UniMath.CategoryTheory.Adjunctions.Core UniMath.CategoryTheory.Equivalences.Core UniMath.CategoryTheory.Equivalences.FullyFaithful UniMath.CategoryTheory.opp_precat