Definition LeastUpperBound (E : hsubtype X) : UU := ∑ lub : X, isLeastUpperBound E lub.
Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.MoreFoundations.Sets. Require Import UniMath.MoreFoundations.Orders. Require Import UniMath.Algebra.BinaryOperations