Definition disp_functor_to_two_sided_disp_functor_data : twosided_disp_functor_data F G D₁ D₂. Proof. simple refine (_ ,, _). - exact (λ x y xy, FG (x ,, y) xy). - exact (λ x₁ x₂ y₁ y₂ xy₁ xy₂ f g fg, @disp_functor_on_morphisms _ _ _ _ _ FG (x₁ ,, y₁) (x₂ ,, y₂) xy₁ xy₂ (f ,, g) fg). Defined.
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.PrecategoryBinProduct. Require Import UniMath.CategoryTheory.DisplayedCats.Core. Require Import UniMath.CategoryTheory.DisplayedCats.Functors. Require Import UniMath.CategoryTheory.TwoSidedDisplayedCats.TwoSidedDispCat. Require Import UniMath.CategoryTheory.TwoSidedDisplayedCats.Univalence. Require Import UniMath.CategoryTheory.TwoSidedDisplayedCats.Discrete. Require Import UniMath.CategoryTheory.TwoSidedDisplayedCats.Total. Section FromDispFunctor. End FromDispFunctor.