Proposition disp_prebicat_laws_twosided_disp_cat : disp_prebicat_laws disp_prebicat_data_twosided_disp_cat. Proof. repeat split ; intro ; intros ; use eq_twosided_disp_nat_trans ; intros ; refine (_ @ !(transportb_prebicat_twosided_disp_cat _ _ _ _ _)) ; cbn. - cbn. rewrite id_two_disp_left. use transportb_disp_mor2_eq. apply idpath. - rewrite id_two_disp_right. use transportb_disp_mor2_eq. apply idpath. - rewrite assoc_two_disp. use transportb_disp_mor2_eq. apply idpath. - refine (!_). use transportb_disp_mor2_idpath. - rewrite twosided_disp_functor_id. use transportb_disp_mor2_eq. apply idpath. - refine (!_). use transportb_disp_mor2_idpath. - rewrite twosided_disp_functor_comp_alt. use transportf_disp_mor2_eq. apply idpath. - rewrite id_two_disp_left, id_two_disp_right. rewrite transport_b_b_disp_mor2. use transportb_disp_mor2_eq. apply idpath. - rewrite id_two_disp_left, id_two_disp_right. rewrite transport_b_b_disp_mor2. use transportb_disp_mor2_eq. apply idpath. - rewrite id_two_disp_left, id_two_disp_right. rewrite transport_b_b_disp_mor2. use transportb_disp_mor2_eq. apply idpath. - rewrite id_two_disp_left, id_two_disp_right. rewrite transport_b_b_disp_mor2. use transportb_disp_mor2_eq. apply idpath. - rewrite id_two_disp_left, id_two_disp_right. rewrite transport_b_b_disp_mor2. use transportb_disp_mor2_eq. apply idpath. - rewrite (pr2 φφ). use transportb_disp_mor2_eq. apply idpath. - rewrite id_two_disp_left. use transportb_disp_mor2_eq. apply idpath. - rewrite id_two_disp_left. use transportb_disp_mor2_eq. apply idpath. - rewrite id_two_disp_left. use transportb_disp_mor2_eq. apply idpath. - rewrite id_two_disp_left. use transportb_disp_mor2_eq. apply idpath. - rewrite id_two_disp_left. use transportb_disp_mor2_eq. apply idpath. - rewrite id_two_disp_left. use transportb_disp_mor2_eq. apply idpath. - rewrite id_two_disp_left. rewrite twosided_disp_functor_id. rewrite transport_b_b_disp_mor2. use transportb_disp_mor2_eq. apply idpath. - etrans. { rewrite id_two_disp_left. unfold transportb. rewrite two_disp_pre_whisker_b. rewrite id_two_disp_left. rewrite transport_b_b_disp_mor2. rewrite twosided_disp_functor_id. rewrite transport_b_b_disp_mor2. apply idpath. } refine (!_). etrans. { rewrite id_two_disp_left. rewrite transport_b_b_disp_mor2. apply idpath. } use transportb_disp_mor2_eq. apply idpath. Qed.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Functors. Require Import UniMath.CategoryTheory.Core.NaturalTransformations. Require Import UniMath.CategoryTheory.Core.Isos. Require Import UniMath.CategoryTheory.Core.Univalence. Require Import UniMath.CategoryTheory.whiskering. Require Import UniMath.CategoryTheory.PrecategoryBinProduct. Require Import UniMath.CategoryTheory.DisplayedCats.Core. Require Import UniMath.CategoryTheory.DisplayedCats.Functors. Require Import UniMath.CategoryTheory.DisplayedCats.NaturalTransformations. Require Import UniMath.CategoryTheory.DisplayedCats.Univalence. Require Import UniMath.CategoryTheory.TwoSidedDisplayedCats.TwoSidedDispCat. Require Import UniMath.CategoryTheory.TwoSidedDisplayedCats.DisplayedFunctor. Require Import UniMath.CategoryTheory.TwoSidedDisplayedCats.DisplayedNatTrans. Require Import UniMath.CategoryTheory.TwoSidedDisplayedCats.Isos. Require Import UniMath.CategoryTheory.TwoSidedDisplayedCats.Univalence. Require Import UniMath.Bicategories.Core.Bicat. Import Bicat.Notations. Require Import UniMath.Bicategories.Core.Invertible_2cells. Require Import UniMath.Bicategories.DisplayedBicats.DispBicat. Import DispBicat.Notations. Require Import UniMath.Bicategories.DisplayedBicats.DispUnivalence. Require Import UniMath.Bicategories.DisplayedBicats.Examples.DispBicatOfDispCats. Require Import UniMath.Bicategories.DisplayedBicats.UnivalenceTechniques. Require Import UniMath.Bicategories.Core.Examples.BicatOfUnivCats. Require Import UniMath.Bicategories.PseudoFunctors.Display.PseudoFunctorBicat. Require Import UniMath.Bicategories.PseudoFunctors.PseudoFunctor. Import PseudoFunctor.Notations. Require Import UniMath.Bicategories.PseudoFunctors.Examples.CatDiag. Require Import UniMath.Bicategories.DisplayedBicats.DispPseudofunctor.