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