proposition: Proposition enriched_functor_from_univalent_kleisli_cat_eq (x : C) : pr11 enriched_functor_from_univalent_kleisli_cat_nat_trans (M x) · γ x = # (pr11 enriched_functor_from_univalent_kleisli_cat) (kleisli_nat_trans M x) · pr11 enriched_functor_from_univalent_kleisli_cat_nat_trans x.
proof: Proof. cbn -[lift_enriched_functor_along_comm enriched_functor_from_univalent_kleisli_cat]. rewrite !id_right. rewrite !assoc. etrans. { do 2 apply maponpaths_2. refine (_ @ functor_id (pr1 enriched_functor_from_univalent_kleisli_cat) _). apply maponpaths. use eq_mor_kleisli_cat. apply idpath. } etrans. { apply maponpaths_2. apply id_left. } refine (!_). rewrite !assoc'. etrans. { apply maponpaths. etrans. { apply maponpaths_2. refine (_ @ functor_id (pr1 enriched_functor_from_univalent_kleisli_cat) _). apply maponpaths. use eq_mor_kleisli_cat. apply idpath. } apply id_left. } pose (nat_trans_ax (pr11 (lift_enriched_functor_along_comm _ (essentially_surjective_functor_to_kleisli_cat M) (fully_faithful_functor_to_kleisli_cat_enrichment HV EM) LL)) (M x) x (kleisli_monad_nat_trans M x)) as r. refine (_ @ r @ _). - apply maponpaths_2. refine (maponpaths (λ z, # _ z) _). use eq_mor_kleisli_cat. cbn. rewrite functor_id, id_left. apply idpath. - apply maponpaths. cbn. rewrite functor_id, id_left. apply idpath. Qed.
imports: UniMath.Foundations.All UniMath.MoreFoundations.All UniMath.CategoryTheory.Core.Prelude UniMath.CategoryTheory.whiskering UniMath.CategoryTheory.Categories.EilenbergMoore UniMath.CategoryTheory.Categories.KleisliCategory UniMath.CategoryTheory.EnrichedCats.Enrichment UniMath.CategoryTheory.EnrichedCats.EnrichmentFunctor UniMath.CategoryTheory.EnrichedCats.EnrichmentTransformation UniMath.CategoryTheory.EnrichedCats.EnrichmentMonad UniMath.CategoryTheory.EnrichedCats.Examples.KleisliEnriched UniMath.CategoryTheory.EnrichedCats.Examples.UnivalentKleisliEnriched UniMath.CategoryTheory.EnrichedCats.Examples.FunctorCategory UniMath.CategoryTheory.EnrichedCats.RezkCompletion.RezkUniversalProperty UniMath.CategoryTheory.Monoidal.Categories UniMath.CategoryTheory.Monads.Monads UniMath.CategoryTheory.Monads.KleisliCategory UniMath.CategoryTheory.Limits.Equalizers