Definition disp_cat_to_twosided_disp_cat_ob_mor (D : disp_cat (category_binproduct C₁ C₂)) : twosided_disp_cat_ob_mor C₁ C₂. Proof. simple refine (_ ,, _). - exact (λ x y, D (x ,, y)). - exact (λ x₁ x₂ y₁ y₂ xy₁ xy₂ f g, xy₁ -->[ f ,, g ] xy₂). Defined.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.DisplayedCats.Core. Require Import UniMath.CategoryTheory.PrecategoryBinProduct.