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.Order.Bounds.Defs

30 declarations. Mathlib docs · Source

Definitions about upper/lower bounds

In this file we define:

  • upperBounds, lowerBounds : the set of upper bounds (resp., lower bounds) of a set;
  • BddAbove s, BddBelow s : the set s is bounded above (resp., below), i.e., the set of upper (resp., lower) bounds of s is nonempty;
  • IsLeast s a, IsGreatest s a : a is a least (resp., greatest) element of s; for a partial order, it is unique if exists;
  • IsLUB s a, IsGLB s a : a is a least upper bound (resp., a greatest lower bound) of s; for a partial order, it is unique if exists.
  • IsCofinal s: for every a, there exists a member of s greater or equal to it.
  • IsCofinalFor s t : for all a ∈ s there exists b ∈ t such that a ≤ b
  • IsCoinitial s: for every a, there exists a member of s less than or equal to it.
  • IsCoinitialFor s t : for all a ∈ s there exists b ∈ t such that b ≤ a
  • SupSet α, InfSet α: typeclasses introducing the operation SupSet.sSup and InfSet.sInf (exported to the root namespace).
  • OrderSupSet α, OrderInfSet α: typeclasses expressing that sSup (resp., sInf) returns the least upper bound (resp., the greatest lower bound) of a set whenever one exists.

def InfSet.ctorIdx E1 #

{α : Type u_2} → InfSet α → ℕ

def SupSet.ctorIdx E1 #

{α : Type u_2} → SupSet α → ℕ

def OrderInfSet.ctorIdx E1 #

{α : Type u_2} → {inst : LE α} → OrderInfSet α → ℕ

def OrderSupSet.ctorIdx E1 #

{α : Type u_2} → {inst : LE α} → OrderSupSet α → ℕ

def upperBounds E1 #

{α : Type u_1} → [LE α] → Set α → Set α

The set of upper bounds of a set.

def lowerBounds E1 #

{α : Type u_1} → [LE α] → Set α → Set α

The set of lower bounds of a set.

def BddAbove E1 #

{α : Type u_1} → [LE α] → Set α → Prop

A set is bounded above if there exists an upper bound.

def BddBelow E1 #

{α : Type u_1} → [LE α] → Set α → Prop

A set is bounded below if there exists a lower bound.

def IsLeast E1 #

{α : Type u_1} → [LE α] → Set α → α → Prop

a is a least element of a set s; for a partial order, it is unique if exists.

def IsGreatest E1 #

{α : Type u_1} → [LE α] → Set α → α → Prop

a is a greatest element of a set s; for a partial order, it is unique if exists.

def IsLUB E1 #

{α : Type u_1} → [LE α] → Set α → α → Prop

a is a least upper bound of a set s; for a partial order, it is unique if exists.

def IsGLB E1 #

{α : Type u_1} → [LE α] → Set α → α → Prop

a is a greatest lower bound of a set s; for a partial order, it is unique if exists.

def IsCofinalFor E1 #

{α : Type u_1} → [LE α] → Set α → Set α → Prop

A set s is said to be cofinal for a set t if, for all a ∈ s there exists b ∈ t such that a ≤ b.

def IsCoinitialFor E1 #

{α : Type u_1} → [LE α] → Set α → Set α → Prop

A set s is said to be coinitial for a set t if, for all a ∈ s there exists b ∈ t such that b ≤ a.

def IsCofinal E1 #

{α : Type u_1} → [LE α] → Set α → Prop

A set is cofinal when for every x : α there exists y ∈ s with x ≤ y.

def IsCoinitial E1 #

{α : Type u_1} → [LE α] → Set α → Prop

A set is coinitial when for every x : α there exists y ∈ s with y ≤ x.

class SupSet E1 #

Type u_2 → Type u_2

Class for the sSup operator

ctor SupSet.mk E0 #

{α : Type u_2} → (Set α → α) → SupSet α

abbrev SupSet.sSup E1 #

{α : Type u_2} → [self : SupSet α] → Set α → α

Supremum of a set

class InfSet E1 #

Type u_2 → Type u_2

Class for the sInf operator

ctor InfSet.mk E0 #

{α : Type u_2} → (Set α → α) → InfSet α

abbrev InfSet.sInf E1 #

{α : Type u_2} → [self : InfSet α] → Set α → α

Infimum of a set

class OrderSupSet E1 #

(α : Type u_2) → [LE α] → Type u_2

OrderSupSet α expresses that α is equipped with the operation sSup that returns the least upper bound of a set whenever one exists.

instance OrderSupSet.toSupSet E0 #

{α : Type u_2} → {inst : LE α} → [self : OrderSupSet α] → SupSet α

ctor OrderSupSet.mk E0 #

{α : Type u_2} →
  [inst : LE α] → [toSupSet : SupSet α] → (∀ (s : Set α) (a : α), IsLUB s a → IsLUB s (sSup s)) → OrderSupSet α

theorem OrderSupSet.isLUB_sSup_of_isLUB E1 #

∀ {α : Type u_2} {inst : LE α} [self : OrderSupSet α] (s : Set α) (a : α), IsLUB s a → IsLUB s (sSup s)

class OrderInfSet E1 #

(α : Type u_2) → [LE α] → Type u_2

OrderInfSet α expresses that α is equipped with the operation sInf that returns the greatest lower bound of a set whenever one exists.

ctor OrderInfSet.mk E0 #

{α : Type u_2} →
  [inst : LE α] → [toInfSet : InfSet α] → (∀ (s : Set α) (a : α), IsGLB s a → IsGLB s (sInf s)) → OrderInfSet α

instance OrderInfSet.toInfSet E0 #

{α : Type u_2} → {inst : LE α} → [self : OrderInfSet α] → InfSet α

theorem OrderInfSet.isGLB_sInf_of_isGLB E1 #

∀ {α : Type u_2} {inst : LE α} [self : OrderInfSet α] (s : Set α) (a : α), IsGLB s a → IsGLB s (sInf s)