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.IsBotOne

73 declarations and 5 deprecated aliases. Mathlib docs · Source

class IsBotZeroClass E1 #

(α : Type u_1) → [LE α] → [Zero α] → Prop

A typeclass expressing that the 0 of a type is a bottom element. In a partial OrderBot, this is equivalent to ⊥ = 0.

ctor IsBotZeroClass.mk E0 #

∀ {α : Type u_1} [inst : LE α] [inst_1 : Zero α], IsBot 0 → IsBotZeroClass α

theorem IsBotZeroClass.isBot_zero E1 #

∀ {α : Type u_1} {inst : LE α} {inst_1 : Zero α} [self : IsBotZeroClass α], IsBot 0

class IsBotOneClass E1 #

(α : Type u_1) → [LE α] → [One α] → Prop

A typeclass expressing that the 1 of a type is a bottom element. In a partial OrderBot, this is equivalent to ⊥ = 1.

ctor IsBotOneClass.mk E0 #

∀ {α : Type u_1} [inst : LE α] [inst_1 : One α], IsBot 1 → IsBotOneClass α

theorem IsBotOneClass.isBot_one E1 #

∀ {α : Type u_1} {inst : LE α} {inst_1 : One α} [self : IsBotOneClass α], IsBot 1

theorem isBot_one E1 #

∀ {α : Type u_1} [inst : LE α] [inst_1 : One α] [IsBotOneClass α], IsBot 1

theorem isBot_zero E1 #

∀ {α : Type u_1} [inst : LE α] [inst_1 : Zero α] [IsBotZeroClass α], IsBot 0

theorem zero_le E0 #

∀ {α : Type u_1} [inst : LE α] [inst_1 : Zero α] [IsBotZeroClass α] {a : α}, 0 ≤ a

theorem one_le E0 #

∀ {α : Type u_1} [inst : LE α] [inst_1 : One α] [IsBotOneClass α] {a : α}, 1 ≤ a

def IsBotOneClass.toOrderBot E1 #

(α : Type u_1) → [inst : LE α] → [inst_1 : One α] → [IsBotOneClass α] → OrderBot α

Create an OrderBot instance, setting 1 as the bottom element.

def IsBotZeroClass.toOrderBot E1 #

(α : Type u_1) → [inst : LE α] → [inst_1 : Zero α] → [IsBotZeroClass α] → OrderBot α

Create an OrderBot instance, setting 0 as the bottom element.

instance instIsBotOneClassProd E0 #

∀ {α : Type u_1} [inst : LE α] [inst_1 : One α] [IsBotOneClass α] {β : Type u_2} [inst_3 : LE β] [inst_4 : One β]
  [IsBotOneClass β], IsBotOneClass (α × β)

instance instIsBotZeroClassSum E0 #

∀ {α : Type u_1} [inst : LE α] [inst_1 : Zero α] [IsBotZeroClass α] {β : Type u_2} [inst_3 : LE β] [inst_4 : Zero β]
  [IsBotZeroClass β], IsBotZeroClass (α × β)

instance instIsBotZeroClassForall E0 #

∀ {ι : Type u_2} {M : ι → Type u_3} [inst : (i : ι) → LE (M i)] [inst_1 : (i : ι) → Zero (M i)]
  [∀ (i : ι), IsBotZeroClass (M i)], IsBotZeroClass ((i : ι) → M i)

instance instIsBotOneClassForall E0 #

∀ {ι : Type u_2} {M : ι → Type u_3} [inst : (i : ι) → LE (M i)] [inst_1 : (i : ι) → One (M i)]
  [∀ (i : ι), IsBotOneClass (M i)], IsBotOneClass ((i : ι) → M i)

instance instZeroLEOneClassOfIsBotZeroClass E0 #

∀ {α : Type u_1} [inst : LE α] [inst_1 : Zero α] [inst_2 : One α] [IsBotZeroClass α], ZeroLEOneClass α

instance instIsBotZeroClassOfSubsingleton E0 #

∀ {α : Type u_1} [inst : Preorder α] [inst_1 : Zero α] [Subsingleton α], IsBotZeroClass α

instance instIsBotOneClassOfSubsingleton E0 #

∀ {α : Type u_1} [inst : Preorder α] [inst_1 : One α] [Subsingleton α], IsBotOneClass α

theorem not_lt_one E0 #

∀ {α : Type u_1} {a : α} [inst : Preorder α] [inst_1 : One α] [IsBotOneClass α], ¬a < 1

theorem not_lt_zero E0 #

∀ {α : Type u_1} {a : α} [inst : Preorder α] [inst_1 : Zero α] [IsBotZeroClass α], ¬a < 0

theorem pos_of_gt E1 #

∀ {α : Type u_1} {a b : α} [inst : Preorder α] [inst_1 : Zero α] [IsBotZeroClass α], a < b → 0 < b

theorem one_lt_of_gt E1 #

∀ {α : Type u_1} {a b : α} [inst : Preorder α] [inst_1 : One α] [IsBotOneClass α], a < b → 1 < b

theorem LT.lt.pos E1 #

∀ {α : Type u_1} {a b : α} [inst : Preorder α] [inst_1 : Zero α] [IsBotZeroClass α], a < b → 0 < b

Alias of pos_of_gt.

theorem LT.lt.one_lt E1 #

∀ {α : Type u_1} {a b : α} [inst : Preorder α] [inst_1 : One α] [IsBotOneClass α], a < b → 1 < b

Alias of one_lt_of_gt.

theorem ne_zero_of_lt E1 #

∀ {α : Type u_1} {a b : α} [inst : Preorder α] [inst_1 : Zero α] [IsBotZeroClass α], a < b → b ≠ 0

theorem ne_one_of_lt E1 #

∀ {α : Type u_1} {a b : α} [inst : Preorder α] [inst_1 : One α] [IsBotOneClass α], a < b → b ≠ 1

theorem LT.lt.ne_one E1 #

∀ {α : Type u_1} {a b : α} [inst : Preorder α] [inst_1 : One α] [IsBotOneClass α], a < b → b ≠ 1

Alias of ne_one_of_lt.

theorem LT.lt.ne_zero E2 #

∀ {α : Type u_1} {a b : α} [inst : Preorder α] [inst_1 : Zero α] [IsBotZeroClass α], a < b → b ≠ 0

Alias of ne_zero_of_lt.

theorem bot_eq_zero E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : Zero α] [IsBotZeroClass α] [inst_3 : OrderBot α], ⊥ = 0

theorem bot_eq_one E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : One α] [IsBotOneClass α] [inst_3 : OrderBot α], ⊥ = 1

theorem le_one_iff_eq_one E0 #

∀ {α : Type u_1} {a : α} [inst : PartialOrder α] [inst_1 : One α] [IsBotOneClass α], a ≤ 1 ↔ a = 1

theorem nonpos_iff_eq_zero E0 #

∀ {α : Type u_1} {a : α} [inst : PartialOrder α] [inst_1 : Zero α] [IsBotZeroClass α], a ≤ 0 ↔ a = 0

theorem pos_iff_ne_zero E1 #

∀ {α : Type u_1} {a : α} [inst : PartialOrder α] [inst_1 : Zero α] [IsBotZeroClass α], 0 < a ↔ a ≠ 0

theorem one_lt_iff_ne_one E1 #

∀ {α : Type u_1} {a : α} [inst : PartialOrder α] [inst_1 : One α] [IsBotOneClass α], 1 < a ↔ a ≠ 1

theorem one_lt_of_ne_one E1 #

∀ {α : Type u_1} {a : α} [inst : PartialOrder α] [inst_1 : One α] [IsBotOneClass α], a ≠ 1 → 1 < a

Alias of the reverse direction of one_lt_iff_ne_one.

theorem pos_of_ne_zero E1 #

∀ {α : Type u_1} {a : α} [inst : PartialOrder α] [inst_1 : Zero α] [IsBotZeroClass α], a ≠ 0 → 0 < a

Alias of the reverse direction of pos_iff_ne_zero.

theorem Ne.pos E1 #

∀ {α : Type u_1} {a : α} [inst : PartialOrder α] [inst_1 : Zero α] [IsBotZeroClass α], a ≠ 0 → 0 < a

Alias of pos_of_ne_zero.


Alias of the reverse direction of pos_iff_ne_zero.

theorem Ne.one_lt E1 #

∀ {α : Type u_1} {a : α} [inst : PartialOrder α] [inst_1 : One α] [IsBotOneClass α], a ≠ 1 → 1 < a

Alias of one_lt_of_ne_one.


Alias of the reverse direction of one_lt_iff_ne_one.

theorem one_notMem_iff E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : One α] [IsBotOneClass α] {s : Set α}, 1 ∉ s ↔ ∀ x ∈ s, 1 < x

theorem zero_notMem_iff E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : Zero α] [IsBotZeroClass α] {s : Set α}, 0 ∉ s ↔ ∀ x ∈ s, 0 < x

theorem zero_eq_of_le_of_zero_eq E0 #

∀ {α : Type u_1} {a b : α} [inst : PartialOrder α] [inst_1 : Zero α] [IsBotZeroClass α], b ≤ a → 0 = a → 0 = b

theorem one_eq_of_le_of_one_eq E0 #

∀ {α : Type u_1} {a b : α} [inst : PartialOrder α] [inst_1 : One α] [IsBotOneClass α], b ≤ a → 1 = a → 1 = b

theorem ne_zero_of_le_of_ne_zero E1 #

∀ {α : Type u_1} {a b : α} [inst : PartialOrder α] [inst_1 : Zero α] [IsBotZeroClass α], a ≤ b → a ≠ 0 → b ≠ 0

theorem ne_one_of_le_of_ne_one E1 #

∀ {α : Type u_1} {a b : α} [inst : PartialOrder α] [inst_1 : One α] [IsBotOneClass α], a ≤ b → a ≠ 1 → b ≠ 1

theorem zero_ne_of_le_of_zero_ne E1 #

∀ {α : Type u_1} {a b : α} [inst : PartialOrder α] [inst_1 : Zero α] [IsBotZeroClass α], a ≤ b → 0 ≠ a → 0 ≠ b

theorem one_ne_of_le_of_one_ne E1 #

∀ {α : Type u_1} {a b : α} [inst : PartialOrder α] [inst_1 : One α] [IsBotOneClass α], a ≤ b → 1 ≠ a → 1 ≠ b

theorem one_inf E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : One α] [IsBotOneClass α] (a : α), 1 ⊓ a = 1

theorem zero_inf E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : Zero α] [IsBotZeroClass α] (a : α), 0 ⊓ a = 0

theorem inf_zero E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : Zero α] [IsBotZeroClass α] (a : α), a ⊓ 0 = 0

theorem inf_one E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : One α] [IsBotOneClass α] (a : α), a ⊓ 1 = 1

theorem one_sup E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : One α] [IsBotOneClass α] (a : α), 1 ⊔ a = a

theorem zero_sup E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : Zero α] [IsBotZeroClass α] (a : α), 0 ⊔ a = a

theorem sup_one E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : One α] [IsBotOneClass α] (a : α), a ⊔ 1 = a

theorem sup_zero E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : Zero α] [IsBotZeroClass α] (a : α), a ⊔ 0 = a

theorem sup_eq_one E0 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : One α] [IsBotOneClass α] {a b : α}, a ⊔ b = 1 ↔ a = 1 ∧ b = 1

theorem sup_eq_zero E0 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : Zero α] [IsBotZeroClass α] {a b : α}, a ⊔ b = 0 ↔ a = 0 ∧ b = 0

theorem one_min E1 #

∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : One α] [IsBotOneClass α] (a : α), min 1 a = 1

theorem zero_min E1 #

∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : Zero α] [IsBotZeroClass α] (a : α), min 0 a = 0

theorem min_one E1 #

∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : One α] [IsBotOneClass α] (a : α), min a 1 = 1

theorem min_zero E1 #

∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : Zero α] [IsBotZeroClass α] (a : α), min a 0 = 0

theorem one_max E1 #

∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : One α] [IsBotOneClass α] (a : α), max 1 a = a

theorem zero_max E1 #

∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : Zero α] [IsBotZeroClass α] (a : α), max 0 a = a

theorem max_zero E1 #

∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : Zero α] [IsBotZeroClass α] (a : α), max a 0 = a

theorem max_one E1 #

∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : One α] [IsBotOneClass α] (a : α), max a 1 = a

theorem max_eq_one E1 #

∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : One α] [IsBotOneClass α] {a b : α}, max a b = 1 ↔ a = 1 ∧ b = 1

theorem max_eq_zero E1 #

∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : Zero α] [IsBotZeroClass α] {a b : α}, max a b = 0 ↔ a = 0 ∧ b = 0

theorem min_eq_one E0 #

∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : One α] [IsBotOneClass α] {a b : α}, min a b = 1 ↔ a = 1 ∨ b = 1

theorem min_eq_zero E0 #

∀ {α : Type u_1} [inst : LinearOrder α] [inst_1 : Zero α] [IsBotZeroClass α] {a b : α}, min a b = 0 ↔ a = 0 ∨ b = 0

theorem NeZero.of_gt E1 #

∀ {α : Type u_1} {a b : α} [inst : Zero α] [inst_1 : Preorder α] [IsBotZeroClass α], a < b → NeZero b

theorem NeZero.pos E1 #

∀ {α : Type u_1} [inst : Zero α] [inst_1 : PartialOrder α] [IsBotZeroClass α] (a : α) [NeZero a], 0 < a

instance NeZero.of_gt' E0 #

∀ {α : Type u_1} {a : α} [inst : Zero α] [inst_1 : Preorder α] [IsBotZeroClass α] [inst_3 : One α] [Fact (1 < a)],
  NeZero a

theorem NeZero.of_ge E1 #

∀ {α : Type u_1} {a b : α} [inst : Zero α] [inst_1 : PartialOrder α] [IsBotZeroClass α] [NeZero a], a ≤ b → NeZero b

Deprecated aliases

NameNew nameSince
bot_eq_zero''bot_eq_zero2026-05-07
le_zero_iffnonpos_iff_eq_zero2026-11-13
not_lt_zero'not_lt_zero2026-05-07
zero_le'zero_le2026-05-27
zero_lt_iffpos_iff_ne_zero2026-11-13