Proposition transportf_hor_id_data {C : category} {D : twosided_disp_cat C C} {x y : C} {f : x --> y} {g : x --> y} {ψ₁ ψ₂ : ∏ (x : C), D x x} (p : ψ₁ = ψ₂) (fg : ψ₁ x -->[ f ][ g ] ψ₁ y) : transportf (λ (φ : ∏ (x : C), D x x), φ x -->[ f ][ g ] φ y) p fg = transportf_disp_mor2 (id_right _ @ id_left _) (id_right _ @ id_left _) (idtoiso_twosided_disp (idpath _) (idpath _) (!(toforallpaths _ _ _ p x)) ;;2 fg ;;2 idtoiso_twosided_disp (idpath _) (idpath _) (toforallpaths _ _ _ p y)). 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.
Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Prelude. Require Import UniMath.CategoryTheory.Core.Setcategories. Require Import UniMath.CategoryTheory.Categories.CategoryOfSetCategories. Require Import UniMath.CategoryTheory.whiskering. Require Import UniMath.CategoryTheory.DisplayedCats.Core. Require Import UniMath.CategoryTheory.DisplayedCats.Functors. Require Import UniMath.CategoryTheory.DisplayedCats.NaturalTransformations. Require Import UniMath.CategoryTheory.DisplayedCats.Isos. Require Import UniMath.CategoryTheory.DisplayedCats.Total. Require Import UniMath.CategoryTheory.DisplayedCats.Univalence. Require Import UniMath.CategoryTheory.DisplayedCats.Constructions. Require Import UniMath.CategoryTheory.DisplayedCats.Examples.StrictTwoSidedDispCat. 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.CategoryTheory.TwoSidedDisplayedCats.Strictness. Require Import UniMath.CategoryTheory.TwoSidedDisplayedCats.TransportLaws. Require Import UniMath.Bicategories.DoubleCategories.Basics.DoubleCategoryBasics. Require Import UniMath.Bicategories.DoubleCategories.Basics.StrictDoubleCatBasics.