The areas / V04. Order and lattices
Mathlib.Order.ConditionallyCompletePartialOrder.Defs
29 declarations. Mathlib docs · Source
Conditionally complete partial orders
This file defines conditionally complete partial orders with suprema, infima or both. These are
partial orders where every nonempty, upwards (downwards) directed set which is
bounded above (below) has a least upper bound (greatest lower bound). This class extends SupSet
(InfSet) and the requirement is that sSup (sInf) must be the least upper bound.
The three classes defined herein are:
ConditionallyCompletePartialOrderSupfor partial orders with suprema,ConditionallyCompletePartialOrderInffor partial orders with infima, andConditionallyCompletePartialOrderfor partial orders with both suprema and infima
One common use case for these classes is the order on a von Neumann algebra, or W⋆-algebra.
This is the strongest order-theoretic structure satisfied by a von Neumann algebra;
in particular it is not a conditionally complete lattice, and indeed it is a lattice if and only
if the algebra is commutative. In addition, ℂ can be made to satisfy this class (one must provide
a suitable SupSet instance), with the order w ≤ z ↔ w.re ≤ z.re ∧ w.im = z.im, which is
available in the ComplexOrder namespace.
These use cases are the motivation for defining three classes, as compared with other parts of the
order theory library, where only the supremum versions are defined (e.g., CompletePartialOrder and
OmegaCompletePartialOrder). We note that, if these classes are used outside of order theory, then
it is more likely that the infimum versions would be useful. Indeed, whenever the underlying type
has an antitone involution (e.g., if it is an ordered ring, then negation would be such a map),
then any ConditionallyCompletePartialOrder{Sup,Inf} is automatically a
ConditionallyCompletePartialOrder. Because of the to_dual attribute, the additional overhead
required to add and maintain the infimum version is minimal.
def ConditionallyCompletePartialOrderInf.ctorIdx E1 #
{α : Type u_3} → ConditionallyCompletePartialOrderInf α → ℕ
def ConditionallyCompletePartialOrderSup.ctorIdx E1 #
{α : Type u_3} → ConditionallyCompletePartialOrderSup α → ℕ
def ConditionallyCompletePartialOrder.ctorIdx E1 #
{α : Type u_3} → ConditionallyCompletePartialOrder α → ℕ
class ConditionallyCompletePartialOrderInf E1 #
Type u_3 → Type u_3
Conditionally complete partial orders (with infima) are partial orders where every nonempty, directed set which is bounded below has a greatest lower bound.
ctor ConditionallyCompletePartialOrderInf.mk E0 #
{α : Type u_3} →
[toPartialOrder : PartialOrder α] →
[toInfSet : InfSet α] →
(∀ (s : Set α), DirectedOn (fun x1 x2 ↦ x1 ≥ x2) s → s.Nonempty → BddBelow s → IsGLB s (sInf s)) →
ConditionallyCompletePartialOrderInf α
instance ConditionallyCompletePartialOrderInf.toPartialOrder E0 #
{α : Type u_3} → [self : ConditionallyCompletePartialOrderInf α] → PartialOrder α
instance ConditionallyCompletePartialOrderInf.toInfSet E0 #
{α : Type u_3} → [self : ConditionallyCompletePartialOrderInf α] → InfSet α
theorem ConditionallyCompletePartialOrderInf.isGLB_csInf_of_directed E1 #
∀ {α : Type u_3} [self : ConditionallyCompletePartialOrderInf α] (s : Set α),
DirectedOn (fun x1 x2 ↦ x1 ≥ x2) s → s.Nonempty → BddBelow s → IsGLB s (sInf s)
For each nonempty, directed set s which is bounded below, sInf s is
the greatest lower bound of s.
class ConditionallyCompletePartialOrderSup E1 #
Type u_3 → Type u_3
Conditionally complete partial orders (with suprema) are partial orders where every nonempty, directed set which is bounded above has a least upper bound.
ctor ConditionallyCompletePartialOrderSup.mk E0 #
{α : Type u_3} →
[toPartialOrder : PartialOrder α] →
[toSupSet : SupSet α] →
(∀ (s : Set α), DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s → s.Nonempty → BddAbove s → IsLUB s (sSup s)) →
ConditionallyCompletePartialOrderSup α
instance ConditionallyCompletePartialOrderSup.toPartialOrder E0 #
{α : Type u_3} → [self : ConditionallyCompletePartialOrderSup α] → PartialOrder α
instance ConditionallyCompletePartialOrderSup.toSupSet E0 #
{α : Type u_3} → [self : ConditionallyCompletePartialOrderSup α] → SupSet α
theorem ConditionallyCompletePartialOrderSup.isLUB_csSup_of_directed E1 #
∀ {α : Type u_3} [self : ConditionallyCompletePartialOrderSup α] (s : Set α),
DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s → s.Nonempty → BddAbove s → IsLUB s (sSup s)
For each nonempty, directed set s which is bounded above, sSup s is
the least upper bound of s.
class ConditionallyCompletePartialOrder E1 #
Type u_3 → Type u_3
Conditionally complete partial orders (with suprema and infima) are partial orders where every nonempty, directed set which is bounded above (respectively, below) has a least upper (respectively, greatest lower) bound.
abbrev ConditionallyCompletePartialOrder.toInfSet E1 #
{α : Type u_3} → [self : ConditionallyCompletePartialOrder α] → InfSet α
ctor ConditionallyCompletePartialOrder.mk E0 #
{α : Type u_3} →
[toConditionallyCompletePartialOrderSup : ConditionallyCompletePartialOrderSup α] →
[toInfSet : InfSet α] →
(∀ (s : Set α), DirectedOn (fun x1 x2 ↦ x1 ≥ x2) s → s.Nonempty → BddBelow s → IsGLB s (sInf s)) →
ConditionallyCompletePartialOrder α
instance ConditionallyCompletePartialOrder.toConditionallyCompletePartialOrderSup E0 #
{α : Type u_3} → [self : ConditionallyCompletePartialOrder α] → ConditionallyCompletePartialOrderSup α
instance ConditionallyCompletePartialOrder.toConditionallyCompletePartialOrderInf E0 #
{α : Type u_3} → [self : ConditionallyCompletePartialOrder α] → ConditionallyCompletePartialOrderInf α
theorem ConditionallyCompletePartialOrder.isGLB_csInf_of_directed E1 #
∀ {α : Type u_3} [self : ConditionallyCompletePartialOrder α] (s : Set α),
DirectedOn (fun x1 x2 ↦ x1 ≥ x2) s → s.Nonempty → BddBelow s → IsGLB s (sInf s)
For each nonempty, directed set s which is bounded below, sInf s is
the greatest lower bound of s.
theorem DirectedOn.isLUB_csSup E1 #
∀ {α : Type u_2} [inst : ConditionallyCompletePartialOrderSup α] {s : Set α},
DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s → s.Nonempty → BddAbove s → IsLUB s (sSup s)
theorem DirectedOn.isGLB_csInf E1 #
∀ {α : Type u_2} [inst : ConditionallyCompletePartialOrderInf α] {s : Set α},
DirectedOn (fun x1 x2 ↦ x2 ≤ x1) s → s.Nonempty → BddBelow s → IsGLB s (sInf s)
theorem DirectedOn.le_csSup E1 #
∀ {α : Type u_2} [inst : ConditionallyCompletePartialOrderSup α] {s : Set α} {a : α},
DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s → BddAbove s → a ∈ s → a ≤ sSup s
theorem DirectedOn.csInf_le E1 #
∀ {α : Type u_2} [inst : ConditionallyCompletePartialOrderInf α] {s : Set α} {a : α},
DirectedOn (fun x1 x2 ↦ x2 ≤ x1) s → BddBelow s → a ∈ s → sInf s ≤ a
theorem DirectedOn.csSup_le E1 #
∀ {α : Type u_2} [inst : ConditionallyCompletePartialOrderSup α] {s : Set α} {a : α},
DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s → s.Nonempty → (∀ b ∈ s, b ≤ a) → sSup s ≤ a
theorem DirectedOn.le_csInf E1 #
∀ {α : Type u_2} [inst : ConditionallyCompletePartialOrderInf α] {s : Set α} {a : α},
DirectedOn (fun x1 x2 ↦ x2 ≤ x1) s → s.Nonempty → (∀ b ∈ s, a ≤ b) → a ≤ sInf s
theorem Directed.ciInf_le E1 #
∀ {ι : Sort u_1} {α : Type u_2} [inst : ConditionallyCompletePartialOrderInf α] {f : ι → α},
Directed (fun x1 x2 ↦ x2 ≤ x1) f → BddBelow (Set.range f) → ∀ (i : ι), ⨅ j, f j ≤ f i
theorem Directed.le_ciSup E1 #
∀ {ι : Sort u_1} {α : Type u_2} [inst : ConditionallyCompletePartialOrderSup α] {f : ι → α},
Directed (fun x1 x2 ↦ x1 ≤ x2) f → BddAbove (Set.range f) → ∀ (i : ι), f i ≤ ⨆ j, f j
theorem Directed.ciSup_le E1 #
∀ {ι : Sort u_1} {α : Type u_2} [inst : ConditionallyCompletePartialOrderSup α] {f : ι → α} {a : α} [Nonempty ι],
Directed (fun x1 x2 ↦ x1 ≤ x2) f → (∀ (i : ι), f i ≤ a) → ⨆ i, f i ≤ a
theorem Directed.le_ciInf E1 #
∀ {ι : Sort u_1} {α : Type u_2} [inst : ConditionallyCompletePartialOrderInf α] {f : ι → α} {a : α} [Nonempty ι],
Directed (fun x1 x2 ↦ x2 ≤ x1) f → (∀ (i : ι), a ≤ f i) → a ≤ ⨅ i, f i