Definition isSmallerThanUpperBounds (E : hsubtype X) (lub : X) : UU := ∏ ub : X, isUpperBound E ub -> lub <= ub.
Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.MoreFoundations.Sets. Require Import UniMath.MoreFoundations.Orders. Require Import UniMath.Algebra.BinaryOperations