Ordered monoids #
This file provides the definitions of ordered monoids.
An ordered (additive) commutative monoid is a commutative monoid with a partial order such that addition is monotone.
Instances
An ordered commutative monoid is a commutative monoid with a partial order such that multiplication is monotone.
Instances
An ordered cancellative additive commutative monoid is a partially ordered commutative additive monoid in which addition is cancellative and monotone.
Instances
An ordered cancellative commutative monoid is a partially ordered commutative monoid in which multiplication is cancellative and monotone.
Instances
A linearly ordered additive commutative monoid.
- add : α → α → α
 - zero : α
 - min : α → α → α
 - max : α → α → α
 - decidableLE : DecidableRel fun (x1 x2 : α) => x1 ≤ x2
 - decidableLT : DecidableRel fun (x1 x2 : α) => x1 < x2
 
Instances
A linearly ordered commutative monoid.
- mul : α → α → α
 - one : α
 - min : α → α → α
 - max : α → α → α
 - decidableLE : DecidableRel fun (x1 x2 : α) => x1 ≤ x2
 - decidableLT : DecidableRel fun (x1 x2 : α) => x1 < x2
 
Instances
A linearly ordered cancellative additive commutative monoid is an additive commutative monoid with a decidable linear order in which addition is cancellative and monotone.
- add : α → α → α
 - zero : α
 - min : α → α → α
 - max : α → α → α
 - decidableLE : DecidableRel fun (x1 x2 : α) => x1 ≤ x2
 - decidableLT : DecidableRel fun (x1 x2 : α) => x1 < x2
 
Instances
A linearly ordered cancellative commutative monoid is a commutative monoid with a linear order in which multiplication is cancellative and monotone.
- mul : α → α → α
 - one : α
 - min : α → α → α
 - max : α → α → α
 - decidableLE : DecidableRel fun (x1 x2 : α) => x1 ≤ x2
 - decidableLT : DecidableRel fun (x1 x2 : α) => x1 < x2