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

23 declarations and 12 deprecated aliases. Mathlib docs · Source

Subtypes of conditionally complete linear orders

In this file we give conditions on a subset of a conditionally complete linear order, to ensure that the subtype is itself conditionally complete.

We check that an OrdConnected set satisfies these conditions.

TODO

Add appropriate instances for all Set.Ixx.

theorem Subtype.isGLB_of_csInf_image_mem E1 #

∀ {α : Type u_2} [inst : ConditionallyCompleteLattice α] {s : Set α} {t : Set ↑s},
  t.Nonempty → BddBelow t → ∀ (h : sInf (Subtype.val '' t) ∈ s), IsGLB t ⟨sInf (Subtype.val '' t), h⟩

theorem Subtype.isLUB_of_csSup_image_mem E1 #

∀ {α : Type u_2} [inst : ConditionallyCompleteLattice α] {s : Set α} {t : Set ↑s},
  t.Nonempty → BddAbove t → ∀ (h : sSup (Subtype.val '' t) ∈ s), IsLUB t ⟨sSup (Subtype.val '' t), h⟩

abbrev subsetConditionallyCompleteLinearOrder E1 #

{α : Type u_2} →
  (s : Set α) →
    [inst : ConditionallyCompleteLinearOrder α] →
      [Inhabited ↑s] →
        (∀ {t : Set ↑s}, t.Nonempty → BddAbove t → sSup (Subtype.val '' t) ∈ s) →
          (∀ {t : Set ↑s}, t.Nonempty → BddBelow t → sInf (Subtype.val '' t) ∈ s) → ConditionallyCompleteLinearOrder ↑s

For a nonempty subset of a conditionally complete linear order to be a conditionally complete linear order, it suffices that it contain the sSup of all its nonempty bounded-above subsets, and the sInf of all its nonempty bounded-below subsets. See note [reducible non-instances].

theorem Set.OrdConnected.csSup_image_mem E1 #

∀ {α : Type u_2} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [hs : s.OrdConnected] ⦃t : Set ↑s⦄,
  t.Nonempty → BddAbove t → sSup (Subtype.val '' t) ∈ s

The sSup function on a nonempty OrdConnected set s in a conditionally complete linear order takes values within s, for all nonempty bounded-above subsets of s.

theorem Set.OrdConnected.csInf_image_mem E1 #

∀ {α : Type u_2} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [hs : s.OrdConnected] ⦃t : Set ↑s⦄,
  t.Nonempty → BddBelow t → sInf (Subtype.val '' t) ∈ s

The sInf function on a nonempty OrdConnected set s in a conditionally complete linear order takes values within s, for all nonempty bounded-below subsets of s.

instance Set.OrdConnected.conditionallyCompleteLinearOrder E0 #

{α : Type u_2} →
  (s : Set α) →
    [inst : ConditionallyCompleteLinearOrder α] →
      [Inhabited ↑s] → [s.OrdConnected] → ConditionallyCompleteLinearOrder ↑s

A nonempty OrdConnected set in a conditionally complete linear order is naturally a conditionally complete linear order.

theorem Set.OrdConnected.coe_sSup E0 #

∀ {α : Type u_2} (s : Set α) [inst : ConditionallyCompleteLinearOrder α] [inst_1 : Inhabited ↑s]
  [inst_2 : s.OrdConnected] {t : Set ↑s}, t.Nonempty → BddAbove t → ↑(sSup t) = sSup (Subtype.val '' t)

theorem Set.OrdConnected.coe_sInf E0 #

∀ {α : Type u_2} (s : Set α) [inst : ConditionallyCompleteLinearOrder α] [inst_1 : Inhabited ↑s]
  [inst_2 : s.OrdConnected] {t : Set ↑s}, t.Nonempty → BddBelow t → ↑(sInf t) = sInf (Subtype.val '' t)

theorem Set.OrdConnected.sSup_empty_of_noBotOrder E1 #

∀ {α : Type u_2} (s : Set α) [inst : ConditionallyCompleteLinearOrder α] [inst_1 : Inhabited ↑s]
  [inst_2 : s.OrdConnected] [NoBotOrder ↑s], sSup ∅ = default

theorem Set.OrdConnected.sInf_empty_of_noTopOrder E1 #

∀ {α : Type u_2} (s : Set α) [inst : ConditionallyCompleteLinearOrder α] [inst_1 : Inhabited ↑s]
  [inst_2 : s.OrdConnected] [NoTopOrder ↑s], sInf ∅ = default

instance Set.Icc.completeLattice E0 #

{α : Type u_2} → [inst : ConditionallyCompleteLattice α] → {a b : α} → [Fact (a ≤ b)] → CompleteLattice ↑(Set.Icc a b)

Complete lattice structure on Set.Icc

instance instCompleteLinearOrderElemIccOfFactLe E0 #

{α : Type u_2} →
  [inst : ConditionallyCompleteLinearOrder α] → {a b : α} → [Fact (a ≤ b)] → CompleteLinearOrder ↑(Set.Icc a b)

Complete linear order structure on Set.Icc

theorem Set.Icc.coe_sSup E0 #

∀ {α : Type u_2} [inst : ConditionallyCompleteLattice α] {a b : α} (h : a ≤ b) {S : Set ↑(Set.Icc a b)},
  S.Nonempty →
    have this := ⋯;
    ↑(sSup S) = sSup (Subtype.val '' S)

theorem Set.Icc.coe_sInf E0 #

∀ {α : Type u_2} [inst : ConditionallyCompleteLattice α] {a b : α} (h : a ≤ b) {S : Set ↑(Set.Icc a b)},
  S.Nonempty →
    have this := ⋯;
    ↑(sInf S) = sInf (Subtype.val '' S)

theorem Set.Icc.coe_iSup E0 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : ConditionallyCompleteLattice α] {a b : α} (h : a ≤ b) [Nonempty ι]
  {S : ι → ↑(Set.Icc a b)},
  have this := ⋯;
  ↑(iSup S) = ⨆ i, ↑(S i)

theorem Set.Icc.coe_iInf E0 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : ConditionallyCompleteLattice α] {a b : α} (h : a ≤ b) [Nonempty ι]
  {S : ι → ↑(Set.Icc a b)},
  have this := ⋯;
  ↑(iInf S) = ⨅ i, ↑(S i)

instance Set.Iic.instCompleteLattice E0 #

{α : Type u_2} → [inst : CompleteLattice α] → {a : α} → CompleteLattice ↑(Set.Iic a)

theorem Set.Iic.coe_sSup E0 #

∀ {α : Type u_2} [inst : CompleteLattice α] {a : α} (S : Set ↑(Set.Iic a)), ↑(sSup S) = sSup (Subtype.val '' S)

theorem Set.Iic.coe_iSup E0 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : CompleteLattice α] {a : α} (f : ι → ↑(Set.Iic a)), ↑(⨆ i, f i) = ⨆ i, ↑(f i)

theorem Set.Iic.coe_biSup E0 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : CompleteLattice α] {a : α} (f : ι → ↑(Set.Iic a)) (p : ι → Prop),
  ↑(⨆ i, ⨆ (_ : p i), f i) = ⨆ i, ⨆ (_ : p i), ↑(f i)

theorem Set.Iic.coe_sInf E0 #

∀ {α : Type u_2} [inst : CompleteLattice α] {a : α} (S : Set ↑(Set.Iic a)), ↑(sInf S) = a ⊓ sInf (Subtype.val '' S)

theorem Set.Iic.coe_iInf E0 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : CompleteLattice α] {a : α} (f : ι → ↑(Set.Iic a)), ↑(⨅ i, f i) = a ⊓ ⨅ i, ↑(f i)

theorem Set.Iic.coe_biInf E0 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : CompleteLattice α] {a : α} (f : ι → ↑(Set.Iic a)) (p : ι → Prop),
  ↑(⨅ i, ⨅ (_ : p i), f i) = a ⊓ ⨅ i, ⨅ (_ : p i), ↑(f i)

Deprecated aliases

NameNew nameSince
sInf_within_of_ordConnectedSet.OrdConnected.csInf_image_mem2026-10-26
sSup_within_of_ordConnectedSet.OrdConnected.csSup_image_mem2026-10-26
subsetInfSet2026-10-26
subsetSupSet2026-10-26
subset_sInf_def2026-10-26
subset_sInf_emptysetSet.OrdConnected.sInf_empty_of_noTopOrder2026-10-26
subset_sInf_of_not_bddBelowcsInf_of_not_bddBelow2026-10-26
subset_sInf_of_withinSubtype.isGLB_of_csInf_image_mem2026-10-26
subset_sSup_def2026-10-26
subset_sSup_emptysetSet.OrdConnected.sSup_empty_of_noBotOrder2026-10-26
subset_sSup_of_not_bddAbovecsSup_of_not_bddAbove2026-10-26
subset_sSup_of_withinSubtype.isLUB_of_csSup_image_mem2026-10-26