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 / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Order.Nonneg.Lattice

9 declarations. Mathlib docs · Source

Lattice structures on the type of nonnegative elements

instance Nonneg.orderBot E0 #

{α : Type u_1} → [inst : Preorder α] → {a : α} → OrderBot { x // a ≤ x }

theorem Nonneg.bot_eq E0 #

∀ {α : Type u_1} [inst : Preorder α] {a : α}, ⊥ = ⟨a, ⋯⟩

instance Nonneg.noMaxOrder E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [NoMaxOrder α] {a : α}, NoMaxOrder { x // a ≤ x }

instance Nonneg.semilatticeSup E0 #

{α : Type u_1} → [inst : SemilatticeSup α] → {a : α} → SemilatticeSup { x // a ≤ x }

instance Nonneg.semilatticeInf E0 #

{α : Type u_1} → [inst : SemilatticeInf α] → {a : α} → SemilatticeInf { x // a ≤ x }

instance Nonneg.distribLattice E0 #

{α : Type u_1} → [inst : DistribLattice α] → {a : α} → DistribLattice { x // a ≤ x }

instance Nonneg.instDenselyOrdered E0 #

∀ {α : Type u_1} [inst : Preorder α] [DenselyOrdered α] {a : α}, DenselyOrdered { x // a ≤ x }

abbrev Nonneg.conditionallyCompleteLinearOrder E1 #

{α : Type u_1} → [inst : ConditionallyCompleteLinearOrder α] → {a : α} → ConditionallyCompleteLinearOrder { x // a ≤ x }

If sSup ∅ ≤ a then {x : α // a ≤ x} is a ConditionallyCompleteLinearOrder.

abbrev Nonneg.conditionallyCompleteLinearOrderBot E1 #

{α : Type u_1} →
  [inst : ConditionallyCompleteLinearOrder α] → (a : α) → ConditionallyCompleteLinearOrderBot { x // a ≤ x }

If sSup ∅ ≤ a then {x : α // a ≤ x} is a ConditionallyCompleteLinearOrderBot.

This instance uses data fields from Subtype.linearOrder to help type-class inference. The Set.Ici data fields are definitionally equal, but that requires unfolding semireducible definitions, so type-class inference won't see this.