Definition internal_eqrel {C : category} (x : C) : UU := ∑ (R : internal_relation x), internal_iseqrel R.
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.