fact: Definition submonoid (X : monoid) : UU := total2 (λ A : hsubtype X, issubmonoid A).
imports: UniMath.Algebra.BinaryOperations UniMath.MoreFoundations.Subtypes UniMath.MoreFoundations.Sets UniMath.MoreFoundations.Orders