proposition: Lemma bracket_Thm15_ok_part2 (Z: Ptd)(f : [C, C] ⟦ U Z, U (ptd_from_alg InitAlg) ⟧): (theta H) ((alg_carrier _ InitAlg) ⊗ Z) · # H ⦃f⦄ · τ InitAlg = # (pr1 (ℓ (U Z))) (τ InitAlg) · ⦃f⦄.
proof: Proof. apply nat_trans_eq_alt. intro c. assert (h_eq := pr2 (pr1 (SpecializedGMIt_Thm15 Z f))). assert (h_eq' := maponpaths (fun m:EndC⟦_,pr1 InitAlg⟧ => (((aux_iso_1_inv Z):(_⟹_)) _)· m) h_eq); clear h_eq. assert (h_eq2' := maponpaths (fun m:EndC⟦_,pr1 InitAlg⟧ => (BinCoproductIn2 (CPEndC _ _))· m) h_eq'). clear h_eq'. assert (h_eq2'_inst := nat_trans_eq_pointwise h_eq2' c). clear h_eq2'. match goal with |[ H1 : _ = ?f |- _ = _ ] => intermediate_path f end. - clear h_eq2'_inst. apply BinCoproductIn2Commutes_right_in_ctx_dir. unfold aux_iso_1; simpl. rewrite id_right. rewrite id_left. do 3 rewrite <- assoc. apply BinCoproductIn2Commutes_right_in_ctx_dir. unfold nat_trans_id; simpl. rewrite id_left. apply BinCoproductIn2Commutes_right_in_ctx_dir. unfold nat_trans_fix_snd_arg_data. apply BinCoproductIn2Commutes_right_in_double_ctx_dir. rewrite <- assoc. apply maponpaths. eapply pathscomp0. 2: apply assoc. apply maponpaths. apply pathsinv0. apply BinCoproductIn2Commutes. - rewrite <- h_eq2'_inst. clear h_eq2'_inst. apply BinCoproductIn2Commutes_left_in_ctx_dir. repeat rewrite id_left. apply assoc. Qed.
imports: UniMath.Foundations.PartD UniMath.MoreFoundations.PartA UniMath.MoreFoundations.Tactics UniMath.CategoryTheory.Core.Categories UniMath.CategoryTheory.Core.Functors UniMath.CategoryTheory.Core.NaturalTransformations UniMath.CategoryTheory.whiskering UniMath.CategoryTheory.Monads.Monads UniMath.CategoryTheory.Limits.BinProducts UniMath.CategoryTheory.Limits.BinCoproducts UniMath.CategoryTheory.Limits.Initial UniMath.CategoryTheory.FunctorAlgebras UniMath.CategoryTheory.opp_precat UniMath.CategoryTheory.yoneda UniMath.CategoryTheory.Categories.HSET.Core UniMath.CategoryTheory.PointedFunctors UniMath.CategoryTheory.PrecategoryBinProduct UniMath.CategoryTheory.HorizontalComposition UniMath.CategoryTheory.PointedFunctorsComposition UniMath.SubstitutionSystems.Signatures UniMath.SubstitutionSystems.SimplifiedHSS.SubstitutionSystems UniMath.SubstitutionSystems.GenMendlerIteration UniMath.CategoryTheory.RightKanExtension UniMath.SubstitutionSystems.GenMendlerIteration UniMath.CategoryTheory.BicatOfCatsElementary UniMath.SubstitutionSystems.Notation