Definition pairLeastUpperBound (E : hsubtype X) (lub : X) (is : isLeastUpperBound E lub) : LeastUpperBound E := tpair (isLeastUpperBound E) lub is.
Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.MoreFoundations.Sets. Require Import UniMath.MoreFoundations.Orders. Require Import UniMath.Algebra.BinaryOperations