Canonically ordered monoids #
An ordered additive monoid is CanonicallyOrderedAdd
if the ordering coincides with the subtractibility relation,
which is to say, a ≤ b
iff there exists c
with b = a + c
.
This is satisfied by the natural numbers, for example, but not
the integers or other nontrivial OrderedAddCommGroup
s.
For any
a
andb
,a ≤ a + b
Instances
An ordered monoid is CanonicallyOrderedMul
if the ordering coincides with the divisibility relation,
which is to say, a ≤ b
iff there exists c
with b = a * c
.
Examples seem rare; it seems more likely that the OrderDual
of a naturally-occurring lattice satisfies this than the lattice
itself (for example, dual of the lattice of ideals of a PID or
Dedekind domain satisfy this; collections of all things ≤ 1 seem to
be more natural that collections of all things ≥ 1).
For any
a
andb
,a ≤ a * b
Instances
A canonically ordered additive monoid is an ordered commutative additive monoid
in which the ordering coincides with the subtractibility relation,
which is to say, a ≤ b
iff there exists c
with b = a + c
.
This is satisfied by the natural numbers, for example, but not
the integers or other nontrivial OrderedAddCommGroup
s.
Instances For
A canonically ordered monoid is an ordered commutative monoid
in which the ordering coincides with the divisibility relation,
which is to say, a ≤ b
iff there exists c
with b = a * c
.
Examples seem rare; it seems more likely that the OrderDual
of a naturally-occurring lattice satisfies this than the lattice
itself (for example, dual of the lattice of ideals of a PID or
Dedekind domain satisfy this; collections of all things ≤ 1 seem to
be more natural that collections of all things ≥ 1).
Instances For
Alias of le_mul_of_le_left
.
Alias of le_mul_of_le_right
.
Equations
Equations
Equations
- CanonicallyOrderedCommMonoid.toUniqueUnits = { toInhabited := Units.instInhabited, uniq := ⋯ }
Equations
- CanonicallyOrderedAddCommMonoid.toUniqueAddUnits = { toInhabited := AddUnits.instInhabited, uniq := ⋯ }
Alias of mul_eq_one
.
Alias of add_eq_zero
.
A canonically linear-ordered additive monoid is a canonically ordered additive monoid whose ordering is a linear order.
- add : α → α → α
- zero : α
- bot : α
- min : α → α → α
- max : α → α → α
- decidableLE : DecidableRel fun (x1 x2 : α) => x1 ≤ x2
- decidableLT : DecidableRel fun (x1 x2 : α) => x1 < x2
Instances For
A canonically linear-ordered monoid is a canonically ordered monoid whose ordering is a linear order.
- mul : α → α → α
- one : α
- bot : α
- min : α → α → α
- max : α → α → α
- decidableLE : DecidableRel fun (x1 x2 : α) => x1 ≤ x2
- decidableLT : DecidableRel fun (x1 x2 : α) => x1 < x2
Instances For
In a linearly ordered monoid, we are happy for bot_eq_one
to be a @[simp]
lemma.
In a linearly ordered monoid, we are happy for bot_eq_zero
to be a @[simp]
lemma