Lemma about subtraction in ordered monoids with a top element adjoined. #
This file introduces a subtraction on WithTop α when α has a subtraction and a bottom element,
given by x - ⊤ = ⊥ and ⊤ - x = ⊤. This will be instantiated mostly for ℕ∞ and ℝ≥0∞, where
the bottom element is zero.
Note that there is another subtraction on objects of the form WithTop α in the file
Mathlib/Algebra/Order/AddGroupWithTop.lean, setting -⊤ = ⊤ as this corresponds to the
additivization of the usual convention 0⁻¹ = 0 and is relevant in valuation theory. Since that
other instance is only registered for AddCommGroup α (which doesn't have a bottom
element, unless the group is trivial), this shouldn't create diamonds.
instance WithTop.instOrderedSub {α : Type u_1} [Add α] [LE α] [OrderBot α] [Sub α] [OrderedSub α] :
OrderedSub (WithTop α)