Lemmas about subtraction in canonically ordered monoids #
See lt_of_tsub_lt_tsub_right
for a stronger statement in a linear order.
Lemmas that assume that an element is AddLECancellable
. #
Lemmas where addition is order-reflecting. #
See add_tsub_le_assoc
for an inequality.
See lt_tsub_iff_right
for a stronger statement in a linear order.
See lt_tsub_iff_left
for a stronger statement in a linear order.
See lt_of_tsub_lt_tsub_left
for a stronger statement in a linear order.
See tsub_lt_tsub_iff_left_of_le
for a stronger statement in a linear order.
See tsub_tsub_le
for an inequality.
Lemmas in a canonically ordered monoid. #
Alias of the reverse direction of tsub_eq_zero_iff_le
.
Lemmas where addition is order-reflecting. #
A CanonicallyOrderedAddMonoid
with ordered subtraction and order-reflecting addition is
cancellative. This is not an instance as it would form a typeclass loop.
See note [reducible non-instances].
Equations
- CanonicallyOrderedAddMonoid.toAddCancelCommMonoid α = let src := inferInstance; AddCancelCommMonoid.mk (_ : ∀ (a b : α), a + b = b + a)
Instances For
Lemmas in a linearly canonically ordered monoid. #
See lt_tsub_iff_left_of_le_of_le
for a weaker statement in a partial order.
This lemma also holds for ENNReal
, but we need a different proof for that.
See lt_tsub_iff_left_of_le_of_le
for a weaker statement in a partial order.