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

81 declarations and 4 deprecated aliases. Mathlib docs · Source

Sets closed under directed suprema

We say that a set s is closed under directed suprema whenever it contains all least upper bounds for nonempty, directed subsets. Conversely, a set s is inaccessible by directed suprema whenever its complement is closed under directed suprema. Equivalently, if the least upper bound of a nonempty directed set t is contained in s, then t and s must have nonempty intersection.

Main definitions

  • DirSupClosed: sets closed under directed suprema.
  • DirSupInacc: sets inaccessible by directed suprema.

def DirSupClosedOn E1 #

{α : Type u_1} → [Preorder α] → Set (Set α) → Set α → Prop

A predicate for a set which is closed under directed suprema of nonempty sets. This is the complement of a DirSupInaccOn set.

def DirSupInaccOn E1 #

{α : Type u_1} → [Preorder α] → Set (Set α) → Set α → Prop

A predicate for a set which is inaccessible by directed suprema of nonempty sets in D. This is the complement of a DirSupClosedOn set.

def DirSupClosed E3 #

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

A predicate for a set which is closed under directed suprema of nonempty sets. This is the complement of a DirSupInacc set.

def DirSupInacc E3 #

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

A predicate for a set which is inaccessible by directed suprema of nonempty sets. This is the complement of a DirSupClosed set.

theorem dirSupClosedOn_univ E0 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α], DirSupClosedOn Set.univ s ↔ DirSupClosed s

theorem dirSupInaccOn_univ E0 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α], DirSupInaccOn Set.univ s ↔ DirSupInacc s

theorem DirSupClosed.dirSupClosedOn E0 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : Preorder α], DirSupClosed s → DirSupClosedOn D s

theorem DirSupInacc.dirSupInaccOn E0 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : Preorder α], DirSupInacc s → DirSupInaccOn D s

theorem DirSupClosed.of_isEmpty E0 #

∀ {α : Type u_1} [inst : Preorder α] [IsEmpty α] {s : Set α}, DirSupClosed s

theorem DirSupInacc.of_isEmpty E0 #

∀ {α : Type u_1} [inst : Preorder α] [IsEmpty α] {s : Set α}, DirSupInacc s

theorem DirSupClosedOn.of_isEmpty E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α] [IsEmpty α] {s : Set α}, DirSupClosedOn D s

theorem DirSupInaccOn.of_isEmpty E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α] [IsEmpty α] {s : Set α}, DirSupInaccOn D s

theorem DirSupClosedOn.mono E1 #

∀ {α : Type u_1} {s : Set α} {D₁ D₂ : Set (Set α)} [inst : Preorder α],
  D₁ ⊆ D₂ → DirSupClosedOn D₂ s → DirSupClosedOn D₁ s

theorem DirSupInaccOn.mono E1 #

∀ {α : Type u_1} {s : Set α} {D₁ D₂ : Set (Set α)} [inst : Preorder α],
  D₁ ⊆ D₂ → DirSupInaccOn D₂ s → DirSupInaccOn D₁ s

theorem dirSupClosedOn_compl E0 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : Preorder α], DirSupClosedOn D sᶜ ↔ DirSupInaccOn D s

theorem dirSupClosed_compl E0 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α], DirSupClosed sᶜ ↔ DirSupInacc s

theorem dirSupInaccOn_compl E0 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : Preorder α], DirSupInaccOn D sᶜ ↔ DirSupClosedOn D s

theorem dirSupInacc_compl E0 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α], DirSupInacc sᶜ ↔ DirSupClosed s

theorem DirSupInaccOn.of_compl E1 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : Preorder α], DirSupClosedOn D sᶜ → DirSupInaccOn D s

Alias of the forward direction of dirSupClosedOn_compl.

theorem DirSupInaccOn.compl E1 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : Preorder α], DirSupInaccOn D s → DirSupClosedOn D sᶜ

Alias of the reverse direction of dirSupClosedOn_compl.

theorem DirSupClosedOn.compl E1 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : Preorder α], DirSupClosedOn D s → DirSupInaccOn D sᶜ

Alias of the reverse direction of dirSupInaccOn_compl.

theorem DirSupClosedOn.of_compl E1 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : Preorder α], DirSupInaccOn D sᶜ → DirSupClosedOn D s

Alias of the forward direction of dirSupInaccOn_compl.

theorem DirSupInacc.of_compl E1 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α], DirSupClosed sᶜ → DirSupInacc s

Alias of the forward direction of dirSupClosed_compl.

theorem DirSupInacc.compl E1 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α], DirSupInacc s → DirSupClosed sᶜ

Alias of the reverse direction of dirSupClosed_compl.

theorem DirSupClosed.of_compl E1 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α], DirSupInacc sᶜ → DirSupClosed s

Alias of the forward direction of dirSupInacc_compl.

theorem DirSupClosed.compl E1 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α], DirSupClosed s → DirSupInacc sᶜ

Alias of the reverse direction of dirSupInacc_compl.

theorem DirSupClosed.empty E0 #

∀ {α : Type u_1} [inst : Preorder α], DirSupClosed ∅

theorem DirSupInacc.empty E0 #

∀ {α : Type u_1} [inst : Preorder α], DirSupInacc ∅

theorem DirSupClosedOn.empty E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α], DirSupClosedOn D ∅

theorem DirSupInaccOn.empty E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α], DirSupInaccOn D ∅

theorem DirSupClosed.univ E0 #

∀ {α : Type u_1} [inst : Preorder α], DirSupClosed Set.univ

theorem DirSupInacc.univ E0 #

∀ {α : Type u_1} [inst : Preorder α], DirSupInacc Set.univ

theorem DirSupClosedOn.univ E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α], DirSupClosedOn D Set.univ

theorem DirSupInaccOn.univ E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α], DirSupInaccOn D Set.univ

theorem DirSupClosedOn.sInter E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α] {s : Set (Set α)},
  (∀ x ∈ s, DirSupClosedOn D x) → DirSupClosedOn D (⋂₀ s)

theorem DirSupClosed.sInter E1 #

∀ {α : Type u_1} [inst : Preorder α] {s : Set (Set α)}, (∀ x ∈ s, DirSupClosed x) → DirSupClosed (⋂₀ s)

theorem DirSupInaccOn.sUnion E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α] {s : Set (Set α)},
  (∀ x ∈ s, DirSupInaccOn D x) → DirSupInaccOn D (⋃₀ s)

theorem DirSupInacc.sUnion E1 #

∀ {α : Type u_1} [inst : Preorder α] {s : Set (Set α)}, (∀ x ∈ s, DirSupInacc x) → DirSupInacc (⋃₀ s)

theorem DirSupClosedOn.iInter E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α] {ι : Sort u_2} {f : ι → Set α},
  (∀ (i : ι), DirSupClosedOn D (f i)) → DirSupClosedOn D (⋂ i, f i)

theorem DirSupClosed.iInter E1 #

∀ {α : Type u_1} [inst : Preorder α] {ι : Sort u_2} {f : ι → Set α},
  (∀ (i : ι), DirSupClosed (f i)) → DirSupClosed (⋂ i, f i)

theorem DirSupInaccOn.iUnion E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α] {ι : Sort u_2} {f : ι → Set α},
  (∀ (i : ι), DirSupInaccOn D (f i)) → DirSupInaccOn D (⋃ i, f i)

theorem DirSupInacc.iUnion E1 #

∀ {α : Type u_1} [inst : Preorder α] {ι : Sort u_2} {f : ι → Set α},
  (∀ (i : ι), DirSupInacc (f i)) → DirSupInacc (⋃ i, f i)

theorem DirSupClosedOn.inter E1 #

∀ {α : Type u_1} {s t : Set α} {D : Set (Set α)} [inst : Preorder α],
  DirSupClosedOn D s → DirSupClosedOn D t → DirSupClosedOn D (s ∩ t)

theorem DirSupClosed.inter E1 #

∀ {α : Type u_1} {s t : Set α} [inst : Preorder α], DirSupClosed s → DirSupClosed t → DirSupClosed (s ∩ t)

theorem DirSupInaccOn.union E1 #

∀ {α : Type u_1} {s t : Set α} {D : Set (Set α)} [inst : Preorder α],
  DirSupInaccOn D s → DirSupInaccOn D t → DirSupInaccOn D (s ∪ t)

theorem DirSupInacc.union E1 #

∀ {α : Type u_1} {s t : Set α} [inst : Preorder α], DirSupInacc s → DirSupInacc t → DirSupInacc (s ∪ t)

theorem DirSupClosedOn.union E1 #

∀ {α : Type u_1} {s t : Set α} {D : Set (Set α)} [inst : Preorder α],
  IsLowerSet D → DirSupClosedOn D s → DirSupClosedOn D t → DirSupClosedOn D (s ∪ t)

theorem DirSupInaccOn.inter E1 #

∀ {α : Type u_1} {s t : Set α} {D : Set (Set α)} [inst : Preorder α],
  IsLowerSet D → DirSupInaccOn D s → DirSupInaccOn D t → DirSupInaccOn D (s ∩ t)

theorem DirSupClosed.union E1 #

∀ {α : Type u_1} {s t : Set α} [inst : Preorder α], DirSupClosed s → DirSupClosed t → DirSupClosed (s ∪ t)

theorem DirSupInacc.inter E1 #

∀ {α : Type u_1} {s t : Set α} [inst : Preorder α], DirSupInacc s → DirSupInacc t → DirSupInacc (s ∩ t)

theorem DirSupInaccOn.of_inter_subset E1 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : Preorder α],
  (∀ ⦃d : Set α⦄,
      d ∈ D →
        d.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) d → ∀ ⦃a : α⦄, IsLUB d a → a ∈ s → ∃ b ∈ d, Set.Ici b ∩ d ⊆ s) →
    DirSupInaccOn D s

theorem DirSupInacc.of_inter_subset E1 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α],
  (∀ ⦃d : Set α⦄,
      d.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) d → ∀ ⦃a : α⦄, IsLUB d a → a ∈ s → ∃ b ∈ d, Set.Ici b ∩ d ⊆ s) →
    DirSupInacc s

theorem dirSupInaccOn_iff_inter_subset E1 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : Preorder α],
  IsLowerSet D →
    (DirSupInaccOn D s ↔
      ∀ ⦃d : Set α⦄,
        d ∈ D →
          d.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) d → ∀ ⦃a : α⦄, IsLUB d a → a ∈ s → ∃ b ∈ d, Set.Ici b ∩ d ⊆ s)

The condition (d ∩ s).Nonempty in DirSupInaccOn can be replaced with the stronger ∃ b ∈ d, Ici b ∩ d ⊆ s (under mild assumptions on D).

theorem dirSupInacc_iff_inter_subset E1 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α],
  DirSupInacc s ↔
    ∀ ⦃d : Set α⦄,
      d.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) d → ∀ ⦃a : α⦄, IsLUB d a → a ∈ s → ∃ b ∈ d, Set.Ici b ∩ d ⊆ s

The condition (d ∩ s).Nonempty in DirSupInacc can be replaced with the stronger ∃ b ∈ d, Ici b ∩ d ⊆ s.

theorem IsUpperSet.dirSupClosed E1 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α], IsUpperSet s → DirSupClosed s

theorem IsUpperSet.dirSupClosedOn E1 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : Preorder α], IsUpperSet s → DirSupClosedOn D s

theorem IsLowerSet.dirSupInacc E1 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α], IsLowerSet s → DirSupInacc s

theorem IsLowerSet.dirSupInaccOn E1 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : Preorder α], IsLowerSet s → DirSupInaccOn D s

theorem DirSupClosed.mem_imp_of_antisymmRel E0 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α],
  DirSupClosed s → ∀ {a b : α}, AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) a b → a ∈ s → b ∈ s

theorem DirSupClosed.mem_iff_of_antisymmRel E0 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α],
  DirSupClosed s → ∀ {a b : α}, AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) a b → (a ∈ s ↔ b ∈ s)

theorem DirSupInacc.mem_iff_of_antisymmRel E0 #

∀ {α : Type u_1} {s : Set α} [inst : Preorder α],
  DirSupInacc s → ∀ {a b : α}, AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) a b → (a ∈ s ↔ b ∈ s)

theorem DirSupClosed.Iic E1 #

∀ {α : Type u_1} [inst : Preorder α] (a : α), DirSupClosed (Set.Iic a)

theorem DirSupClosedOn.Iic E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α] (a : α), DirSupClosedOn D (Set.Iic a)

theorem DirSupInacc.Iic E1 #

∀ {α : Type u_1} [inst : Preorder α] (a : α), DirSupInacc (Set.Iic a)

theorem DirSupInaccOn.Iic E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α] (a : α), DirSupInaccOn D (Set.Iic a)

theorem DirSupClosed.Ioi E1 #

∀ {α : Type u_1} [inst : Preorder α] (a : α), DirSupClosed (Set.Ioi a)

theorem DirSupClosedOn.Ioi E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α] (a : α), DirSupClosedOn D (Set.Ioi a)

theorem DirSupClosed.Ici E1 #

∀ {α : Type u_1} [inst : Preorder α] (a : α), DirSupClosed (Set.Ici a)

theorem DirSupClosedOn.Ici E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : Preorder α] (a : α), DirSupClosedOn D (Set.Ici a)

theorem dirSupClosed_singleton E1 #

∀ {α : Type u_1} [inst : PartialOrder α] (a : α), DirSupClosed {a}

theorem dirSupClosedOn_singleton E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : PartialOrder α] (a : α), DirSupClosedOn D {a}

theorem dirSupClosedOn_iff_of_linearOrder E1 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : LinearOrder α],
  DirSupClosedOn D s ↔ ∀ ⦃d : Set α⦄, d ∈ D → d ⊆ s → d.Nonempty → ∀ ⦃a : α⦄, IsLUB d a → a ∈ s

theorem dirSupClosed_iff_of_linearOrder E1 #

∀ {α : Type u_1} {s : Set α} [inst : LinearOrder α],
  DirSupClosed s ↔ ∀ ⦃d : Set α⦄, d ⊆ s → d.Nonempty → ∀ ⦃a : α⦄, IsLUB d a → a ∈ s

theorem dirSupInaccOn_iff_of_linearOrder E1 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : LinearOrder α],
  DirSupInaccOn D s ↔ ∀ ⦃d : Set α⦄, d ∈ D → d.Nonempty → ∀ ⦃a : α⦄, IsLUB d a → a ∈ s → (d ∩ s).Nonempty

theorem dirSupInacc_iff_of_linearOrder E1 #

∀ {α : Type u_1} {s : Set α} [inst : LinearOrder α],
  DirSupInacc s ↔ ∀ ⦃d : Set α⦄, d.Nonempty → ∀ ⦃a : α⦄, IsLUB d a → a ∈ s → (d ∩ s).Nonempty

theorem DirSupInacc.Ioi E1 #

∀ {α : Type u_1} [inst : LinearOrder α] (a : α), DirSupInacc (Set.Ioi a)

theorem DirSupInaccOn.Ioi E1 #

∀ {α : Type u_1} {D : Set (Set α)} [inst : LinearOrder α] (a : α), DirSupInaccOn D (Set.Ioi a)

theorem dirSupClosedOn_iff_forall_sSup E1 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : CompleteLattice α],
  DirSupClosedOn D s ↔ ∀ ⦃d : Set α⦄, d ∈ D → d ⊆ s → d.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) d → sSup d ∈ s

theorem dirSupInaccOn_iff_forall_sSup E1 #

∀ {α : Type u_1} {s : Set α} {D : Set (Set α)} [inst : CompleteLattice α],
  DirSupInaccOn D s ↔
    ∀ ⦃d : Set α⦄, d ∈ D → d.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) d → sSup d ∈ s → (d ∩ s).Nonempty

theorem dirSupClosed_iff_forall_sSup E1 #

∀ {α : Type u_1} {s : Set α} [inst : CompleteLattice α],
  DirSupClosed s ↔ ∀ ⦃d : Set α⦄, d ⊆ s → d.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) d → sSup d ∈ s

theorem dirSupInacc_iff_forall_sSup E1 #

∀ {α : Type u_1} {s : Set α} [inst : CompleteLattice α],
  DirSupInacc s ↔ ∀ ⦃d : Set α⦄, d.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) d → sSup d ∈ s → (d ∩ s).Nonempty

Deprecated aliases

NameNew nameSince
dirSupClosedOn_IicDirSupClosedOn.Iic2026-10-16
dirSupClosed_IicDirSupClosed.Iic2026-10-16
dirSupInaccOn_IicDirSupInaccOn.Iic2026-10-16
dirSupInacc_IicDirSupInacc.Iic2026-10-16