Definition internal_relation_to_arr_hrel {C : category} {x : C} (R : internal_relation x) (w : C) : hrel (w --> x) := λ (f g : w --> x), make_hProp (internal_relation_to_arr_relation R f g) (isaprop_internal_relation_to_arr_relation R f g).
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Prelude. Require Import UniMath.CategoryTheory.Limits.Pullbacks. Require Import UniMath.CategoryTheory.Limits.Coequalizers. Require Import UniMath.CategoryTheory.RegularAndExact.RegularCategory.