proposition: Proposition square_double_bicat_id_comp_square_laws : double_bicat_id_comp_square_laws square_ver_bicat_sq_id_comp_whisker.
proof: Proof. repeat split ; cbn ; intros. - rewrite <- !lwhisker_vcomp, <- !rwhisker_vcomp. rewrite !vassocl. use vcomp_move_L_pM ; [ is_iso | ] ; cbn. rewrite !vassocr. rewrite <- rassociator_rassociator. rewrite !vassocl. apply maponpaths. etrans. { apply maponpaths. rewrite !vassocr. rewrite lwhisker_vcomp. rewrite rassociator_lassociator. rewrite lwhisker_id2. rewrite id2_left. apply idpath. } etrans. { rewrite !vassocr. rewrite rwhisker_lwhisker_rassociator. rewrite !vassocl. apply idpath. } apply maponpaths. use vcomp_move_L_pM ; [ is_iso | ] ; cbn. etrans. { rewrite !vassocr. rewrite rassociator_rassociator. rewrite !vassocl. apply idpath. } refine (!_). etrans. { apply maponpaths. rewrite !vassocr. rewrite rassociator_rassociator. apply idpath. } etrans. { rewrite !vassocr. rewrite rwhisker_rwhisker_alt. rewrite !vassocl. apply idpath. } apply maponpaths. refine (!_). etrans. { do 2 apply maponpaths. rewrite !vassocr. rewrite lassociator_lassociator. rewrite !vassocl. apply idpath. } etrans. { rewrite !vassocr. rewrite lwhisker_lwhisker_rassociator. rewrite !vassocl. apply maponpaths. rewrite !vassocr. rewrite rassociator_lassociator. rewrite id2_left. rewrite !vassocl. apply idpath. } refine (!_). etrans. { apply maponpaths. rewrite !vassocr. rewrite lwhisker_lwhisker_rassociator. rewrite !vassocl. apply idpath. } etrans. { rewrite !vassocr. rewrite vcomp_whisker. rewrite !vassocl. apply idpath. } apply maponpaths. refine (!_). etrans. { rewrite !vassocr. rewrite rwhisker_rwhisker. rewrite !vassocl. apply idpath. } apply maponpaths. use vcomp_move_L_pM ; [ is_iso | ] ; cbn. etrans. { rewrite !vassocr. rewrite <- lassociator_lassociator. rewrite !vassocl. do 2 apply maponpaths. rewrite !vassocr. rewrite rwhisker_vcomp. rewrite lassociator_rassociator. rewrite id2_rwhisker. rewrite id2_left. rewrite !vassocl. apply idpath. } apply maponpaths. rewrite !vassocr. rewrite <- rwhisker_lwhisker. rewrite !vassocl. apply maponpaths. use vcomp_move_L_pM ; [ is_iso | ] ; cbn. rewrite !vassocr. use vcomp_move_R_Mp ; [ is_iso | ] ; cbn. apply lassociator_lassociator. - rewrite lunitor_runitor_identity. rewrite lunitor_V_id_is_left_unit_V_id. apply idpath. - rewrite <- !lwhisker_vcomp, <- !rwhisker_vcomp. rewrite <- lunitor_triangle. rewrite !vassocl. do 2 apply maponpaths. rewrite <- rinvunitor_triangle. rewrite !vassocr. apply maponpaths_2. refine (_ @ id2_left _). apply maponpaths_2. rewrite !vassocl. rewrite lunitor_lwhisker. rewrite rwhisker_vcomp. rewrite rinvunitor_runitor. apply id2_rwhisker. - rewrite <- !lwhisker_vcomp, <- !rwhisker_vcomp. rewrite <- runitor_triangle. rewrite !vassocl. do 2 apply maponpaths. rewrite linvunitor_assoc. rewrite !vassocr. apply maponpaths_2. refine (_ @ id2_left _). apply maponpaths_2. rewrite !vassocl. rewrite runitor_rwhisker. rewrite lwhisker_vcomp. rewrite linvunitor_lunitor. apply lwhisker_id2. Qed.
imports: UniMath.MoreFoundations.All UniMath.CategoryTheory.Core.Prelude UniMath.CategoryTheory.TwoSidedDisplayedCats.TwoSidedDispCat UniMath.Bicategories.Core.Bicat UniMath.Bicategories.Core.BicategoryLaws UniMath.Bicategories.Core.Unitors UniMath.Bicategories.Core.Invertible_2cells UniMath.Bicategories.Morphisms.Adjunctions UniMath.Bicategories.Core.Univalence UniMath.Bicategories.Core.EquivToAdjequiv UniMath.Bicategories.Core.AdjointUnique UniMath.Bicategories.DoubleCategories.DoubleBicat.Core