proposition: Proposition twosided_disp_cat_to_disp_cat_psfunctor_laws : is_disp_psfunctor disp_bicat_twosided_disp_cat disp_bicat_of_univ_disp_cats diag_univ_cat twosided_disp_cat_to_disp_cat_psfunctor_data.
proof: Proof. repeat split. - intros C₁ C₂ F D₁ D₂ FF. use disp_nat_trans_eq. intros x xx. unfold transportb. refine (!_). etrans. { apply disp_nat_trans_transportf. } cbn. rewrite transportf_set. + apply idpath. + apply isasetdirprod ; apply homset_property. - intros C₁ C₂ F₁ F₂ F₃ τ θ D₁ D₂ FF₁ FF₂ FF₃ ττ θθ. use disp_nat_trans_eq. intros x xx. unfold transportb. refine (!_). etrans. { apply disp_nat_trans_transportf. } cbn. rewrite transportf_set. + apply idpath. + apply isasetdirprod ; apply homset_property. - intros C₁ C₂ F D₁ D₂ FF. use disp_nat_trans_eq. intros x xx. unfold transportb. refine (!_). etrans. { apply disp_nat_trans_transportf. } cbn. do 2 rewrite id_two_disp_right. rewrite twosided_disp_functor_id. unfold transportb_disp_mor2, transportf_disp_mor2, transportb. rewrite !twosided_prod_transport. rewrite !transport_f_f. rewrite transportf_set. + apply idpath. + apply isasetdirprod ; apply homset_property. - intros C₁ C₂ F D₁ D₂ FF. use disp_nat_trans_eq. intros x xx. unfold transportb. refine (!_). etrans. { apply disp_nat_trans_transportf. } cbn. do 2 rewrite id_two_disp_right. unfold transportb_disp_mor2, transportf_disp_mor2, transportb. rewrite !twosided_prod_transport. rewrite !transport_f_f. rewrite transportf_set. + apply idpath. + apply isasetdirprod ; apply homset_property. - intros C₁ C₂ C₃ C₄ F₁ F₂ F₃ D₁ D₂ D₃ D₄ FF₁ FF₂ FF₃. use disp_nat_trans_eq. intros x xx. unfold transportb. refine (!_). etrans. { apply disp_nat_trans_transportf. } cbn. rewrite twosided_disp_functor_id. do 3 rewrite id_two_disp_right. rewrite id_two_disp_left. unfold transportb_disp_mor2, transportf_disp_mor2, transportb. rewrite !twosided_prod_transport. rewrite !transport_f_f. apply maponpaths_2. apply isasetdirprod ; apply homset_property. - intros C₁ C₂ C₃ F G₁ G₂ θ D₁ D₂ D₃ FF₁ GG₁ GG₂ θθ. use disp_nat_trans_eq. intros x xx. unfold transportb. refine (!_). etrans. { apply disp_nat_trans_transportf. } cbn. rewrite id_two_disp_right. rewrite id_two_disp_left. unfold transportb_disp_mor2, transportf_disp_mor2, transportb. rewrite !twosided_prod_transport. rewrite !transport_f_f. apply maponpaths_2. apply isasetdirprod ; apply homset_property. - intros C₁ C₂ C₃ F₁ F₂ G τ D₁ D₂ D₃ FF₁ FF₂ GG ττ. use disp_nat_trans_eq. intros x xx. unfold transportb. refine (!_). etrans. { apply disp_nat_trans_transportf. } cbn. rewrite id_two_disp_right. rewrite id_two_disp_left. unfold transportb_disp_mor2, transportf_disp_mor2, transportb. rewrite !twosided_prod_transport. rewrite !transport_f_f. apply maponpaths_2. apply isasetdirprod ; apply homset_property. Qed.
imports: UniMath.Foundations.All UniMath.MoreFoundations.All UniMath.CategoryTheory.Core.Categories UniMath.CategoryTheory.Core.Functors UniMath.CategoryTheory.Core.NaturalTransformations UniMath.CategoryTheory.Core.Isos UniMath.CategoryTheory.Core.Univalence UniMath.CategoryTheory.whiskering UniMath.CategoryTheory.PrecategoryBinProduct UniMath.CategoryTheory.DisplayedCats.Core UniMath.CategoryTheory.DisplayedCats.Functors UniMath.CategoryTheory.DisplayedCats.NaturalTransformations UniMath.CategoryTheory.DisplayedCats.Univalence UniMath.CategoryTheory.TwoSidedDisplayedCats.TwoSidedDispCat UniMath.CategoryTheory.TwoSidedDisplayedCats.DisplayedFunctor UniMath.CategoryTheory.TwoSidedDisplayedCats.DisplayedNatTrans UniMath.CategoryTheory.TwoSidedDisplayedCats.Isos UniMath.CategoryTheory.TwoSidedDisplayedCats.Univalence UniMath.Bicategories.Core.Bicat UniMath.Bicategories.Core.Invertible_2cells UniMath.Bicategories.DisplayedBicats.DispBicat UniMath.Bicategories.DisplayedBicats.DispUnivalence UniMath.Bicategories.DisplayedBicats.Examples.DispBicatOfDispCats UniMath.Bicategories.DisplayedBicats.UnivalenceTechniques UniMath.Bicategories.Core.Examples.BicatOfUnivCats UniMath.Bicategories.PseudoFunctors.Display.PseudoFunctorBicat UniMath.Bicategories.PseudoFunctors.PseudoFunctor UniMath.Bicategories.PseudoFunctors.Examples.CatDiag UniMath.Bicategories.DisplayedBicats.DispPseudofunctor