proposition: Lemma yoneda_unit_component_is_modification (η : pstrans (representable B_is_univalent_2_1 X) F) : is_modification (yoneda_unit_component_mod_component_nat η).
proof: Proof. intros Z₁ Z₂ f. apply nat_trans_eq. { apply homset_property. } intro g ; cbn in g. cbn. unfold yoneda_unit_component_mod_component_nat_component, yoneda_to_presheaf_data_ob, presheaf_to_yoneda_ob_pstrans_nat_trans_data. cbn in f. etrans. { do 2 apply maponpaths. exact (nat_trans_eq_pointwise (pstrans_inv_comp_alt η g f) (id₁ X)). } cbn. rewrite !id_right. rewrite !assoc. apply maponpaths_2. refine (!_). etrans. { apply functor_comp. } apply maponpaths_2. refine (!_). etrans. { apply maponpaths_2. refine (!(assoc _ _ _) @ _). apply maponpaths. etrans. { refine (!_). apply functor_comp. } apply maponpaths. etrans. { apply maponpaths_2. refine (!_). apply rinvunitor_triangle. } cbn. refine (vassocl _ _ _ @ _). etrans. { apply maponpaths. apply lassociator_rassociator. } apply id2_right. } etrans. { apply maponpaths_2. refine (!_). exact (pr21 (psnaturality_of η f) g (g · id₁ X) (rinvunitor g)). } cbn. etrans. { refine (!(assoc _ _ _) @ _). apply maponpaths. exact (nat_trans_eq_pointwise (vcomp_rinv (psnaturality_of η f)) (g · id₁ X)). } apply id_right. Qed.
imports: UniMath.Foundations.All UniMath.MoreFoundations.All UniMath.CategoryTheory.Core.Categories UniMath.CategoryTheory.Core.Univalence UniMath.CategoryTheory.Core.Isos UniMath.CategoryTheory.Core.Functors UniMath.CategoryTheory.Core.NaturalTransformations UniMath.Bicategories.Core.Bicat UniMath.Bicategories.Core.BicategoryLaws UniMath.Bicategories.Core.Examples.OpMorBicat UniMath.Bicategories.Core.Examples.BicatOfUnivCats UniMath.Bicategories.Core.EquivToAdjequiv UniMath.Bicategories.Core.Unitors UniMath.Bicategories.Morphisms.Adjunctions UniMath.Bicategories.Morphisms.Properties UniMath.Bicategories.Core.Invertible_2cells UniMath.Bicategories.Core.Univalence UniMath.Bicategories.Core.UnivalenceOp UniMath.Bicategories.PseudoFunctors.Display.PseudoFunctorBicat UniMath.Bicategories.PseudoFunctors.PseudoFunctor UniMath.Bicategories.PseudoFunctors.Properties UniMath.Bicategories.Transformations.PseudoTransformation UniMath.Bicategories.Modifications.Modification UniMath.Bicategories.PseudoFunctors.Yoneda UniMath.Bicategories.PseudoFunctors.Representable UniMath.Bicategories.Core.Examples.Image UniMath.Bicategories.PseudoFunctors.Examples.CorestrictImage