The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V04. Order and lattices

Mathlib.Algebra.Order.Monoid.WithTop

7 declarations. Mathlib docs · Source

Adjoining top/bottom elements to ordered monoids.

instance WithBot.instIsOrderedAddMonoid E0 #

∀ {α : Type u} [inst : AddCommMonoid α] [inst_1 : PartialOrder α] [IsOrderedAddMonoid α], IsOrderedAddMonoid (WithBot α)

instance WithTop.instIsOrderedAddMonoid E0 #

∀ {α : Type u} [inst : AddCommMonoid α] [inst_1 : PartialOrder α] [IsOrderedAddMonoid α], IsOrderedAddMonoid (WithTop α)

instance WithTop.canonicallyOrderedAdd E0 #

∀ {α : Type u} [inst : Add α] [inst_1 : Preorder α] [CanonicallyOrderedAdd α], CanonicallyOrderedAdd (WithTop α)

theorem WithBot.le_self_add E1 #

∀ {α : Type u} [inst : Add α] [inst_1 : LE α] [CanonicallyOrderedAdd α] {x : WithBot α},
  x ≠ ⊥ → ∀ (y : WithBot α), y ≤ y + x

theorem WithBot.le_add_self E1 #

∀ {α : Type u} [inst : Add α] [inst_1 : LE α] [CanonicallyOrderedAdd α] {x : WithBot α},
  x ≠ ⊥ → ∀ (y : WithBot α), y ≤ x + y

theorem WithBot.top_add_of_ne_bot E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] [inst_2 : Add α] [CanonicallyOrderedAdd α] {a : WithBot α},
  a ≠ ⊥ → ⊤ + a = ⊤

theorem WithBot.add_top_of_ne_bot E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] [inst_2 : Add α] [CanonicallyOrderedAdd α] {a : WithBot α},
  a ≠ ⊥ → a + ⊤ = ⊤