Adjoining top/bottom elements to ordered monoids. #
instance
WithTop.isOrderedAddMonoid
{α : Type u}
[AddCommMonoid α]
[PartialOrder α]
[IsOrderedAddMonoid α]
:
instance
WithTop.canonicallyOrderedAdd
{α : Type u}
[Add α]
[Preorder α]
[CanonicallyOrderedAdd α]
:
instance
WithBot.isOrderedAddMonoid
{α : Type u}
[AddCommMonoid α]
[PartialOrder α]
[IsOrderedAddMonoid α]
:
theorem
WithBot.le_add_self
{α : Type u}
[AddCommMagma α]
[LE α]
[CanonicallyOrderedAdd α]
{x : WithBot α}
(hx : x ≠ ⊥)
(y : WithBot α)
: