Definition abgrdiffrel' (X : abmonoid) {L : hrel X} (is : isbinophrel L) : hrel (abgrdiff X) := λ x x', abmonoidfracrel X (totalsubmonoid X) (isbinoptoispartbinop _ _ is) (weqabgrdiff X x) (weqabgrdiff X x').
Require Import UniMath.MoreFoundations.Orders. Require Import UniMath.MoreFoundations.Subtypes.