Definition comp_monotone_function {X₁ X₂ X₃ : hSet} {R₁ : PartialOrder X₁} {R₂ : PartialOrder X₂} {R₃ : PartialOrder X₃} (f : monotone_function R₁ R₂) (g : monotone_function R₂ R₃) : monotone_function R₁ R₃ := _ ,, comp_is_monotone (pr2 f) (pr2 g).
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.OrderTheory.Posets.Basics.