proposition: Proposition transportf_hor_comp_data {C : category} {D : twosided_disp_cat C C} {x₁ x₂ y₁ y₂ z₁ z₂ : C} {vx : x₁ --> x₂} {vy : y₁ --> y₂} {vz : z₁ --> z₂} {h₁ : D x₁ y₁} {k₁ : D y₁ z₁} {h₂ : D x₂ y₂} {k₂ : D y₂ z₂} (s₁ : h₁ -->[ vx ][ vy] h₂) (s₂ : k₁ -->[ vy ][ vz] k₂) {ψ₁ ψ₂ : ∏ (x y z : C), D x y → D y z → D x z} (p : ψ₁ = ψ₂) (fg : ψ₁ x₁ y₁ z₁ h₁ k₁ -->[ vx ][ vz ] ψ₁ x₂ y₂ z₂ h₂ k₂) : transportf (λ (φ : ∏ (x y z : C), D x y → D y z → D x z), φ x₁ y₁ z₁ h₁ k₁ -->[ vx ][ vz ] φ x₂ y₂ z₂ h₂ k₂) p fg = transportf_disp_mor2 (id_right _ @ id_left _) (id_right _ @ id_left _) (idtoiso_twosided_disp (idpath _) (idpath _) (!(transportf_hor_comp_data_path p h₁ k₁)) ;;2 fg ;;2 idtoiso_twosided_disp (idpath _) (idpath _) (transportf_hor_comp_data_path p h₂ k₂)).
proof: Proof. induction p ; cbn. rewrite (id_two_disp_right (D := D)). unfold transportb_disp_mor2. rewrite transport_f_f_disp_mor2. rewrite (id_two_disp_left (D := D)). unfold transportb_disp_mor2. rewrite transport_f_f_disp_mor2. refine (!_). apply transportf_disp_mor2_idpath. Qed.
imports: UniMath.MoreFoundations.All UniMath.CategoryTheory.Core.Prelude UniMath.CategoryTheory.Core.Setcategories UniMath.CategoryTheory.Categories.CategoryOfSetCategories UniMath.CategoryTheory.whiskering UniMath.CategoryTheory.DisplayedCats.Core UniMath.CategoryTheory.DisplayedCats.Functors UniMath.CategoryTheory.DisplayedCats.NaturalTransformations UniMath.CategoryTheory.DisplayedCats.Isos UniMath.CategoryTheory.DisplayedCats.Total UniMath.CategoryTheory.DisplayedCats.Univalence UniMath.CategoryTheory.DisplayedCats.Constructions UniMath.CategoryTheory.DisplayedCats.Examples.StrictTwoSidedDispCat UniMath.CategoryTheory.TwoSidedDisplayedCats.TwoSidedDispCat UniMath.CategoryTheory.TwoSidedDisplayedCats.DisplayedFunctor UniMath.CategoryTheory.TwoSidedDisplayedCats.DisplayedNatTrans UniMath.CategoryTheory.TwoSidedDisplayedCats.Isos UniMath.CategoryTheory.TwoSidedDisplayedCats.Univalence UniMath.CategoryTheory.TwoSidedDisplayedCats.Strictness UniMath.CategoryTheory.TwoSidedDisplayedCats.TransportLaws UniMath.Bicategories.DoubleCategories.Basics.DoubleCategoryBasics UniMath.Bicategories.DoubleCategories.Basics.StrictDoubleCatBasics