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.ConditionallyCompleteLattice.Basic

129 declarations and 1 deprecated aliases. Mathlib docs · Source

Theory of conditionally complete lattices

A conditionally complete lattice is a lattice in which every non-empty bounded subset s has a least upper bound and a greatest lower bound, denoted below by sSup s and sInf s. Typical examples are ℝ, ℕ, and ℤ with their usual orders.

The theory is very comparable to the theory of complete lattices, except that suitable boundedness and nonemptiness assumptions have to be added to most statements. We express these using the BddAbove and BddBelow predicates, which we use to prove most useful properties of sSup and sInf in conditionally complete lattices.

To differentiate the statements between complete lattices and conditionally complete lattices, we prefix sInf and sSup in the statements by c, giving csInf and csSup. For instance, sInf_le is a statement in complete lattices ensuring sInf s ≤ x, while csInf_le is the same statement in conditionally complete lattices with an additional assumption that s is bounded below.

Lemmas about a conditionally complete linear order with bottom element

In this case we have Sup ∅ = ⊥, so we can drop some Nonempty/Set.Nonempty assumptions.

A monotone function into a conditionally complete lattice preserves the ordering properties of sSup and sInf.

Supremum/infimum of Set.image2

A collection of lemmas showing what happens to the suprema/infima of s and t when mapped under a binary function whose partial evaluations are lower/upper adjoints of Galois connections.

instance ConditionallyCompleteLinearOrder.toLinearOrder E0 #

{α : Type u_1} → [h : ConditionallyCompleteLinearOrder α] → LinearOrder α

instance CompleteLattice.toConditionallyCompleteLattice E0 #

{α : Type u_1} → [CompleteLattice α] → ConditionallyCompleteLattice α

A complete lattice is a conditionally complete lattice, as there are no restrictions on the properties of sInf and sSup in a complete lattice.

instance CompleteLinearOrder.toConditionallyCompleteLinearOrderBot E0 #

{α : Type u_5} → [h : CompleteLinearOrder α] → ConditionallyCompleteLinearOrderBot α

instance OrderDual.instConditionallyCompleteLattice E0 #

(α : Type u_5) → [ConditionallyCompleteLattice α] → ConditionallyCompleteLattice αᵒᵈ

instance OrderDual.instConditionallyCompleteLinearOrder E0 #

(α : Type u_5) → [ConditionallyCompleteLinearOrder α] → ConditionallyCompleteLinearOrder αᵒᵈ

theorem isGLB_csInf E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α},
  s.Nonempty → autoParam (BddBelow s) isGLB_csInf._auto_1 → IsGLB s (sInf s)

theorem isLUB_csSup E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α},
  s.Nonempty → autoParam (BddAbove s) isLUB_csSup._auto_1 → IsLUB s (sSup s)

theorem le_csSup E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a : α}, BddAbove s → a ∈ s → a ≤ sSup s

theorem csInf_le E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a : α}, BddBelow s → a ∈ s → sInf s ≤ a

theorem le_csInf E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a : α}, s.Nonempty → (∀ b ∈ s, a ≤ b) → a ≤ sInf s

theorem csSup_le E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a : α}, s.Nonempty → (∀ b ∈ s, b ≤ a) → sSup s ≤ a

theorem csInf_le_of_le E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a b : α}, BddBelow s → b ∈ s → b ≤ a → sInf s ≤ a

theorem le_csSup_of_le E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a b : α}, BddAbove s → b ∈ s → a ≤ b → a ≤ sSup s

theorem csSup_le_csSup E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s t : Set α},
  BddAbove t → s.Nonempty → s ⊆ t → sSup s ≤ sSup t

theorem csInf_le_csInf E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s t : Set α},
  BddBelow t → s.Nonempty → s ⊆ t → sInf t ≤ sInf s

theorem le_csSup_iff E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a : α},
  BddAbove s → s.Nonempty → (a ≤ sSup s ↔ ∀ b ∈ upperBounds s, a ≤ b)

theorem csInf_le_iff E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a : α},
  BddBelow s → s.Nonempty → (sInf s ≤ a ↔ ∀ b ∈ lowerBounds s, b ≤ a)

theorem IsGLB.csInf_eq E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a : α}, IsGLB s a → s.Nonempty → sInf s = a

theorem IsLUB.csSup_eq E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a : α}, IsLUB s a → s.Nonempty → sSup s = a

instance ConditionallyCompleteLattice.toConditionallyCompletePartialOrder E0 #

{α : Type u_1} → [ConditionallyCompleteLattice α] → ConditionallyCompletePartialOrder α

theorem subset_Icc_csInf_csSup E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α},
  BddBelow s → BddAbove s → s ⊆ Set.Icc (sInf s) (sSup s)

theorem csSup_le_iff E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a : α},
  BddAbove s → s.Nonempty → (sSup s ≤ a ↔ ∀ b ∈ s, b ≤ a)

theorem le_csInf_iff E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a : α},
  BddBelow s → s.Nonempty → (a ≤ sInf s ↔ ∀ b ∈ s, a ≤ b)

theorem csSup_lowerBounds_eq_csInf E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α},
  BddBelow s → s.Nonempty → sSup (lowerBounds s) = sInf s

theorem csInf_upperBounds_eq_csSup E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α},
  BddAbove s → s.Nonempty → sInf (upperBounds s) = sSup s

theorem csInf_upperBounds_range E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice α] [Nonempty β] {f : β → α},
  BddAbove (Set.range f) → sInf (upperBounds (Set.range f)) = ⨆ i, f i

theorem csSup_lowerBounds_range E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice α] [Nonempty β] {f : β → α},
  BddBelow (Set.range f) → sSup (lowerBounds (Set.range f)) = ⨅ i, f i

theorem notMem_of_csSup_lt E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {x : α} {s : Set α}, sSup s < x → BddAbove s → x ∉ s

theorem notMem_of_lt_csInf E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {x : α} {s : Set α}, x < sInf s → BddBelow s → x ∉ s

theorem csSup_eq_of_forall_le_of_forall_lt_exists_gt E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {b : α},
  s.Nonempty → (∀ a ∈ s, a ≤ b) → (∀ w < b, ∃ a ∈ s, w < a) → sSup s = b

Introduction rule to prove that b is the supremum of s: it suffices to check that b is larger than all elements of s, and that this is not the case of any w<b. See sSup_eq_of_forall_le_of_forall_lt_exists_gt for a version in complete lattices.

theorem csInf_eq_of_forall_ge_of_forall_gt_exists_lt E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {b : α},
  s.Nonempty → (∀ a ∈ s, b ≤ a) → (∀ (w : α), b < w → ∃ a ∈ s, a < w) → sInf s = b

Introduction rule to prove that b is the infimum of s: it suffices to check that b is smaller than all elements of s, and that this is not the case of any w>b. See sInf_eq_of_forall_ge_of_forall_gt_exists_lt for a version in complete lattices.

theorem lt_csSup_of_lt E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a b : α}, BddAbove s → a ∈ s → b < a → b < sSup s

b < sSup s when there is an element a in s with b < a, when s is bounded above. This is essentially an iff, except that the assumptions for the two implications are slightly different (one needs boundedness above for one direction, nonemptiness and linear order for the other one), so we formulate separately the two implications, contrary to the CompleteLattice case.

theorem csInf_lt_of_lt E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a b : α}, BddBelow s → a ∈ s → a < b → sInf s < b

sInf s < b when there is an element a in s with a < b, when s is bounded below. This is essentially an iff, except that the assumptions for the two implications are slightly different (one needs boundedness below for one direction, nonemptiness and linear order for the other one), so we formulate separately the two implications, contrary to the CompleteLattice case.

theorem exists_between_of_forall_le E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s t : Set α},
  s.Nonempty → t.Nonempty → (∀ x ∈ s, ∀ y ∈ t, x ≤ y) → (upperBounds s ∩ lowerBounds t).Nonempty

If all elements of a nonempty set s are less than or equal to all elements of a nonempty set t, then there exists an element between these sets.

theorem csSup_pair E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] (a b : α), sSup {a, b} = a ⊔ b

theorem csInf_pair E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] (a b : α), sInf {a, b} = a ⊓ b

theorem csInf_le_csSup E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α},
  s.Nonempty →
    autoParam (BddBelow s) csInf_le_csSup._auto_1 → autoParam (BddAbove s) csInf_le_csSup._auto_3 → sInf s ≤ sSup s

If a set is bounded below and above, and nonempty, its infimum is less than or equal to its supremum.

theorem csInf_le_csSup_of_nonempty_inter E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s t : Set α},
  (s ∩ t).Nonempty →
    autoParam (BddBelow s) csInf_le_csSup_of_nonempty_inter._auto_1 →
      autoParam (BddAbove t) csInf_le_csSup_of_nonempty_inter._auto_3 → sInf s ≤ sSup t

theorem csSup_union E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s t : Set α},
  BddAbove s → s.Nonempty → BddAbove t → t.Nonempty → sSup (s ∪ t) = sSup s ⊔ sSup t

The sSup of a union of two sets is the max of the suprema of each subset, under the assumptions that all sets are bounded above and nonempty.

theorem csInf_union E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s t : Set α},
  BddBelow s → s.Nonempty → BddBelow t → t.Nonempty → sInf (s ∪ t) = sInf s ⊓ sInf t

The sInf of a union of two sets is the min of the infima of each subset, under the assumptions that all sets are bounded below and nonempty.

theorem csSup_inter_le E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s t : Set α},
  BddAbove s → BddAbove t → (s ∩ t).Nonempty → sSup (s ∩ t) ≤ sSup s ⊓ sSup t

The supremum of an intersection of two sets is bounded by the minimum of the suprema of each set, if all sets are bounded above and nonempty.

theorem le_csInf_inter E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s t : Set α},
  BddBelow s → BddBelow t → (s ∩ t).Nonempty → sInf s ⊔ sInf t ≤ sInf (s ∩ t)

The infimum of an intersection of two sets is bounded below by the maximum of the infima of each set, if all sets are bounded below and nonempty.

theorem csSup_insert E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a : α},
  BddAbove s → s.Nonempty → sSup (insert a s) = a ⊔ sSup s

The supremum of insert a s is the maximum of a and the supremum of s, if s is nonempty and bounded above.

theorem csInf_insert E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {a : α},
  BddBelow s → s.Nonempty → sInf (insert a s) = a ⊓ sInf s

The infimum of insert a s is the minimum of a and the infimum of s, if s is nonempty and bounded below.

theorem csInf_Ioc E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {a b : α} [DenselyOrdered α], b < a → sInf (Set.Ioc b a) = b

theorem csSup_Ico E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {a b : α} [DenselyOrdered α], a < b → sSup (Set.Ico a b) = b

theorem csInf_Ioi E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {a : α} [NoMaxOrder α] [DenselyOrdered α], sInf (Set.Ioi a) = a

theorem csSup_Iio E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {a : α} [NoMinOrder α] [DenselyOrdered α], sSup (Set.Iio a) = a

theorem csSup_Ioo E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {a b : α} [DenselyOrdered α], a < b → sSup (Set.Ioo a b) = b

theorem csInf_Ioo E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {a b : α} [DenselyOrdered α], b < a → sInf (Set.Ioo b a) = b

theorem csSup_eq_of_is_forall_le_of_forall_le_imp_ge E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] {s : Set α} {b : α},
  s.Nonempty → (∀ a ∈ s, a ≤ b) → (∀ (ub : α), (∀ a ∈ s, a ≤ ub) → b ≤ ub) → sSup s = b

Introduction rule to prove that b is the supremum of s: it suffices to check that

  1. b is an upper bound
  2. every other upper bound b' satisfies b ≤ b'.

instance Pi.conditionallyCompleteLattice E0 #

{ι : Type u_5} →
  {α : ι → Type u_6} → [(i : ι) → ConditionallyCompleteLattice (α i)] → ConditionallyCompleteLattice ((i : ι) → α i)

theorem exists_lt_of_lt_csSup E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} {b : α},
  s.Nonempty → b < sSup s → ∃ a ∈ s, b < a

When b < sSup s, there is an element a in s with b < a, if s is nonempty and the order is a linear order.

theorem exists_lt_of_csInf_lt E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} {b : α},
  s.Nonempty → sInf s < b → ∃ a ∈ s, a < b

When sInf s < b, there is an element a in s with a < b, if s is nonempty and the order is a linear order.

theorem csInf_lt_iff E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} {a : α},
  BddBelow s → s.Nonempty → (sInf s < a ↔ ∃ b ∈ s, b < a)

theorem lt_csSup_iff E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} {a : α},
  BddAbove s → s.Nonempty → (a < sSup s ↔ ∃ b ∈ s, a < b)

theorem csInf_of_not_bddBelow E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α}, ¬BddBelow s → sInf s = sInf ∅

theorem csSup_of_not_bddAbove E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α}, ¬BddAbove s → sSup s = sSup ∅

theorem ciInf_of_not_bddBelow E0 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompleteLinearOrder α] {f : ι → α},
  ¬BddBelow (Set.range f) → ⨅ i, f i = sInf ∅

theorem ciSup_of_not_bddAbove E0 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompleteLinearOrder α] {f : ι → α},
  ¬BddAbove (Set.range f) → ⨆ i, f i = sSup ∅

theorem csInf_eq_univ_of_not_bddBelow E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α}, ¬BddBelow s → sInf s = sInf Set.univ

theorem csSup_eq_univ_of_not_bddAbove E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α}, ¬BddAbove s → sSup s = sSup Set.univ

theorem ciInf_eq_univ_of_not_bddBelow E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompleteLinearOrder α] {f : ι → α},
  ¬BddBelow (Set.range f) → ⨅ i, f i = sInf Set.univ

theorem ciSup_eq_univ_of_not_bddAbove E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompleteLinearOrder α] {f : ι → α},
  ¬BddAbove (Set.range f) → ⨆ i, f i = sSup Set.univ

theorem csSup_eq_csSup_of_forall_exists_le E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s t : Set α},
  (∀ x ∈ s, ∃ y ∈ t, x ≤ y) → (∀ y ∈ t, ∃ x ∈ s, y ≤ x) → sSup s = sSup t

When every element of a set s is bounded by an element of a set t, and conversely, then s and t have the same supremum. This holds even when the sets may be empty or unbounded.

theorem csInf_eq_csInf_of_forall_exists_le E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s t : Set α},
  (∀ x ∈ s, ∃ y ∈ t, y ≤ x) → (∀ y ∈ t, ∃ x ∈ s, x ≤ y) → sInf s = sInf t

When every element of a set s is bounded by an element of a set t, and conversely, then s and t have the same infimum. This holds even when the sets may be empty or unbounded.

theorem csSup_union_le E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] (s t : Set α), sSup (s ∪ t) ≤ max (sSup s) (sSup t)

theorem le_csInf_union E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] (s t : Set α), min (sInf s) (sInf t) ≤ sInf (s ∪ t)

theorem sInf_iUnion_Ici E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompleteLinearOrder α] (f : ι → α),
  sInf (⋃ i, Set.Ici (f i)) = ⨅ i, f i

theorem sSup_iUnion_Iic E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompleteLinearOrder α] (f : ι → α),
  sSup (⋃ i, Set.Iic (f i)) = ⨆ i, f i

theorem csSup_eq_top_of_top_mem E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] [inst_1 : OrderTop α] {s : Set α}, ⊤ ∈ s → sSup s = ⊤

theorem csInf_eq_bot_of_bot_mem E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] [inst_1 : OrderBot α] {s : Set α}, ⊥ ∈ s → sInf s = ⊥

theorem sSup_eq_argmax_on E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [inst_1 : WellFoundedGT α] (hs : s.Nonempty),
  sSup s = Function.argmaxOn id s hs

theorem sInf_eq_argmin_on E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [inst_1 : WellFoundedLT α] (hs : s.Nonempty),
  sInf s = Function.argminOn id s hs

theorem isLeast_csInf E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [WellFoundedLT α],
  s.Nonempty → IsLeast s (sInf s)

theorem isGreatest_csSup E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [WellFoundedGT α],
  s.Nonempty → IsGreatest s (sSup s)

theorem csSup_le_iff_of_wellFoundedGT E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} {b : α} [WellFoundedGT α],
  s.Nonempty → (sSup s ≤ b ↔ b ∈ upperBounds s)

theorem le_csInf_iff_of_wellFoundedLT E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} {b : α} [WellFoundedLT α],
  s.Nonempty → (b ≤ sInf s ↔ b ∈ lowerBounds s)

theorem csInf_mem E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [WellFoundedLT α], s.Nonempty → sInf s ∈ s

theorem csSup_mem E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [WellFoundedGT α], s.Nonempty → sSup s ∈ s

theorem csInf_eq_iff E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [WellFoundedLT α],
  s.Nonempty → ∀ (n : α), sInf s = n ↔ n ∈ s ∧ ∀ a ∈ s, n ≤ a

theorem csSup_eq_iff E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [WellFoundedGT α],
  s.Nonempty → ∀ (n : α), sSup s = n ↔ n ∈ s ∧ ∀ a ∈ s, a ≤ n

theorem MonotoneOn.map_csSup E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [WellFoundedGT α] {β : Type u_5}
  [inst_2 : ConditionallyCompleteLattice β] {f : α → β}, MonotoneOn f s → s.Nonempty → f (sSup s) = sSup (f '' s)

theorem MonotoneOn.map_csInf E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [WellFoundedLT α] {β : Type u_5}
  [inst_2 : ConditionallyCompleteLattice β] {f : α → β}, MonotoneOn f s → s.Nonempty → f (sInf s) = sInf (f '' s)

theorem Monotone.map_csSup E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [WellFoundedGT α] {β : Type u_5}
  [inst_2 : ConditionallyCompleteLattice β] {f : α → β}, Monotone f → s.Nonempty → f (sSup s) = sSup (f '' s)

theorem Monotone.map_csInf E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrder α] {s : Set α} [WellFoundedLT α] {β : Type u_5}
  [inst_2 : ConditionallyCompleteLattice β] {f : α → β}, Monotone f → s.Nonempty → f (sInf s) = sInf (f '' s)

theorem csSup_univ E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] [inst_1 : OrderTop α], sSup Set.univ = ⊤

theorem csInf_univ E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLattice α] [inst_1 : OrderBot α], sInf Set.univ = ⊥

theorem csSup_empty E0 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α], sSup ∅ = ⊥

theorem isLUB_csSup' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {s : Set α}, BddAbove s → IsLUB s (sSup s)

theorem csSup_le_iff' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {s : Set α},
  BddAbove s → ∀ {a : α}, sSup s ≤ a ↔ ∀ x ∈ s, x ≤ a

In conditionally complete orders with a bottom element, the nonempty condition can be omitted from csSup_le_iff.

theorem csSup_le' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {s : Set α} {a : α}, a ∈ upperBounds s → sSup s ≤ a

theorem lt_csSup_iff' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {s : Set α} {a : α},
  BddAbove s → (a < sSup s ↔ ∃ b ∈ s, a < b)

In conditionally complete orders with a bottom element, the nonempty condition can be omitted from lt_csSup_iff.

theorem le_csSup_iff' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {s : Set α} {a : α},
  BddAbove s → (a ≤ sSup s ↔ ∀ b ∈ upperBounds s, a ≤ b)

theorem le_csInf_iff' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {s : Set α} {a : α},
  s.Nonempty → (a ≤ sInf s ↔ ∀ b ∈ s, a ≤ b)

theorem csInf_le' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {s : Set α} {a : α}, a ∈ s → sInf s ≤ a

theorem exists_lt_of_lt_csSup' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {s : Set α} {a : α}, a < sSup s → ∃ b ∈ s, a < b

theorem notMem_of_lt_csInf' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {x : α} {s : Set α}, x < sInf s → x ∉ s

theorem csInf_le_csInf' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {s t : Set α}, t.Nonempty → t ⊆ s → sInf s ≤ sInf t

theorem csSup_le_csSup' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {s t : Set α}, BddAbove t → s ⊆ t → sSup s ≤ sSup t

theorem csSup_union' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {s t : Set α},
  autoParam (BddAbove s) csSup_union'._auto_1 →
    autoParam (BddAbove t) csSup_union'._auto_3 → sSup (s ∪ t) = max (sSup s) (sSup t)

theorem csSup_inter_le' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {s t : Set α},
  autoParam (BddAbove s) csSup_inter_le'._auto_1 →
    autoParam (BddAbove t) csSup_inter_le'._auto_3 → sSup (s ∩ t) ≤ min (sSup s) (sSup t)

theorem csSup_insert' E1 #

∀ {α : Type u_1} [inst : ConditionallyCompleteLinearOrderBot α] {s : Set α} {a : α},
  autoParam (BddAbove s) csSup_insert'._auto_1 → sSup (insert a s) = max a (sSup s)

theorem Monotone.csInf_image_le E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice β] [inst_1 : Preorder α] {f : α → β},
  Monotone f → ∀ {s : Set α} {c : α}, c ∈ s → BddBelow s → sInf (f '' s) ≤ f c

theorem Monotone.le_csSup_image E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice β] [inst_1 : Preorder α] {f : α → β},
  Monotone f → ∀ {s : Set α} {c : α}, c ∈ s → BddAbove s → f c ≤ sSup (f '' s)

theorem Antitone.csInf_image_le E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice β] [inst_1 : Preorder α] {f : α → β},
  Antitone f → ∀ {s : Set α} {c : α}, c ∈ s → BddAbove s → sInf (f '' s) ≤ f c

theorem Antitone.le_csSup_image E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice β] [inst_1 : Preorder α] {f : α → β},
  Antitone f → ∀ {s : Set α} {c : α}, c ∈ s → BddBelow s → f c ≤ sSup (f '' s)

theorem Monotone.csSup_image_le E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice β] [inst_1 : Preorder α] {f : α → β},
  Monotone f → ∀ {s : Set α}, s.Nonempty → ∀ {B : α}, B ∈ upperBounds s → sSup (f '' s) ≤ f B

theorem Monotone.le_csInf_image E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice β] [inst_1 : Preorder α] {f : α → β},
  Monotone f → ∀ {s : Set α}, s.Nonempty → ∀ {B : α}, B ∈ lowerBounds s → f B ≤ sInf (f '' s)

theorem Antitone.csSup_image_le E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice β] [inst_1 : Preorder α] {f : α → β},
  Antitone f → ∀ {s : Set α}, s.Nonempty → ∀ {B : α}, B ∈ lowerBounds s → sSup (f '' s) ≤ f B

theorem Antitone.le_csInf_image E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice β] [inst_1 : Preorder α] {f : α → β},
  Antitone f → ∀ {s : Set α}, s.Nonempty → ∀ {B : α}, B ∈ upperBounds s → f B ≤ sInf (f '' s)

theorem Monotone.csSup_image_le_map_csSup E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice β] [inst_1 : ConditionallyCompleteLattice α]
  {f : α → β} {s : Set α},
  s.Nonempty →
    Monotone f → autoParam (BddAbove s) Monotone.csSup_image_le_map_csSup._auto_1 → sSup (f '' s) ≤ f (sSup s)

theorem Monotone.map_csInf_le_csInf_image E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice β] [inst_1 : ConditionallyCompleteLattice α]
  {f : α → β} {s : Set α},
  s.Nonempty →
    Monotone f → autoParam (BddBelow s) Monotone.map_csInf_le_csInf_image._auto_1 → f (sInf s) ≤ sInf (f '' s)

theorem Antitone.csSup_image_le_map_csInf E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice β] [inst_1 : ConditionallyCompleteLattice α]
  {f : α → β} {s : Set α},
  s.Nonempty →
    Antitone f → autoParam (BddBelow s) Antitone.csSup_image_le_map_csInf._auto_1 → sSup (f '' s) ≤ f (sInf s)

theorem Antitone.map_csSup_le_csInf_image E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompleteLattice β] [inst_1 : ConditionallyCompleteLattice α]
  {f : α → β} {s : Set α},
  s.Nonempty →
    Antitone f → autoParam (BddAbove s) Antitone.map_csSup_le_csInf_image._auto_1 → f (sSup s) ≤ sInf (f '' s)

theorem MonotoneOn.csInf_eq_of_subset_of_forall_exists_le E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : ConditionallyCompleteLattice β] {f : α → β} {s t : Set α},
  BddBelow (f '' t) → MonotoneOn f t → s ⊆ t → (∀ y ∈ t, ∃ x ∈ s, x ≤ y) → sInf (f '' s) = sInf (f '' t)

theorem MonotoneOn.csSup_eq_of_subset_of_forall_exists_le E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : ConditionallyCompleteLattice β] {f : α → β} {s t : Set α},
  BddAbove (f '' t) → MonotoneOn f t → s ⊆ t → (∀ y ∈ t, ∃ x ∈ s, y ≤ x) → sSup (f '' s) = sSup (f '' t)

theorem MonotoneOn.sInf_image_Icc E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : ConditionallyCompleteLattice β] {f : α → β} {a b : α},
  a ≤ b → MonotoneOn f (Set.Icc a b) → sInf (f '' Set.Icc a b) = f a

theorem MonotoneOn.sSup_image_Icc E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : ConditionallyCompleteLattice β] {f : α → β} {a b : α},
  b ≤ a → MonotoneOn f (Set.Icc b a) → sSup (f '' Set.Icc b a) = f a

theorem AntitoneOn.sInf_image_Icc E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : ConditionallyCompleteLattice β] {f : α → β} {a b : α},
  a ≤ b → AntitoneOn f (Set.Icc a b) → sInf (f '' Set.Icc a b) = f b

theorem AntitoneOn.sSup_image_Icc E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : ConditionallyCompleteLattice β] {f : α → β} {a b : α},
  b ≤ a → AntitoneOn f (Set.Icc b a) → sSup (f '' Set.Icc b a) = f b

theorem csSup_image2_eq_csSup_csSup E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : ConditionallyCompleteLattice α]
  [inst_1 : ConditionallyCompleteLattice β] [inst_2 : ConditionallyCompleteLattice γ] {s : Set α} {t : Set β}
  {l : α → β → γ} {u₁ : β → γ → α} {u₂ : α → γ → β},
  (∀ (b : β), GaloisConnection (Function.swap l b) (u₁ b)) →
    (∀ (a : α), GaloisConnection (l a) (u₂ a)) →
      s.Nonempty → BddAbove s → t.Nonempty → BddAbove t → sSup (Set.image2 l s t) = l (sSup s) (sSup t)

theorem csInf_image2_eq_csInf_csInf E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : ConditionallyCompleteLattice α]
  [inst_1 : ConditionallyCompleteLattice β] [inst_2 : ConditionallyCompleteLattice γ] {s : Set α} {t : Set β}
  {u : α → β → γ} {l₁ : β → γ → α} {l₂ : α → γ → β},
  (∀ (b : β), GaloisConnection (l₁ b) (Function.swap u b)) →
    (∀ (a : α), GaloisConnection (l₂ a) (u a)) →
      s.Nonempty → BddBelow s → t.Nonempty → BddBelow t → sInf (Set.image2 u s t) = u (sInf s) (sInf t)

theorem csSup_image2_eq_csSup_csInf E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : ConditionallyCompleteLattice α]
  [inst_1 : ConditionallyCompleteLattice β] [inst_2 : ConditionallyCompleteLattice γ] {s : Set α} {t : Set β}
  {l : α → β → γ} {u₁ : β → γ → α} {u₂ : α → γ → β},
  (∀ (b : β), GaloisConnection (Function.swap l b) (u₁ b)) →
    (∀ (a : α), GaloisConnection (l a ∘ ⇑OrderDual.ofDual) (⇑OrderDual.toDual ∘ u₂ a)) →
      s.Nonempty → BddAbove s → t.Nonempty → BddBelow t → sSup (Set.image2 l s t) = l (sSup s) (sInf t)

theorem csInf_image2_eq_csInf_csSup E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : ConditionallyCompleteLattice α]
  [inst_1 : ConditionallyCompleteLattice β] [inst_2 : ConditionallyCompleteLattice γ] {s : Set α} {t : Set β}
  {u : α → β → γ} {l₁ : β → γ → α} {l₂ : α → γ → β},
  (∀ (b : β), GaloisConnection (l₁ b) (Function.swap u b)) →
    (∀ (a : α), GaloisConnection (⇑OrderDual.toDual ∘ l₂ a) (u a ∘ ⇑OrderDual.ofDual)) →
      s.Nonempty → BddBelow s → t.Nonempty → BddAbove t → sInf (Set.image2 u s t) = u (sInf s) (sSup t)

theorem csInf_image2_eq_csSup_csInf E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : ConditionallyCompleteLattice α]
  [inst_1 : ConditionallyCompleteLattice β] [inst_2 : ConditionallyCompleteLattice γ] {s : Set α} {t : Set β}
  {u : α → β → γ} {l₁ : β → γ → α} {l₂ : α → γ → β},
  (∀ (b : β), GaloisConnection (⇑OrderDual.toDual ∘ l₁ b) (Function.swap u b ∘ ⇑OrderDual.ofDual)) →
    (∀ (a : α), GaloisConnection (l₂ a) (u a)) →
      s.Nonempty → BddAbove s → t.Nonempty → BddBelow t → sInf (Set.image2 u s t) = u (sSup s) (sInf t)

theorem csSup_image2_eq_csInf_csSup E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : ConditionallyCompleteLattice α]
  [inst_1 : ConditionallyCompleteLattice β] [inst_2 : ConditionallyCompleteLattice γ] {s : Set α} {t : Set β}
  {l : α → β → γ} {u₁ : β → γ → α} {u₂ : α → γ → β},
  (∀ (b : β), GaloisConnection (Function.swap l b ∘ ⇑OrderDual.ofDual) (⇑OrderDual.toDual ∘ u₁ b)) →
    (∀ (a : α), GaloisConnection (l a) (u₂ a)) →
      s.Nonempty → BddBelow s → t.Nonempty → BddAbove t → sSup (Set.image2 l s t) = l (sInf s) (sSup t)

theorem csSup_image2_eq_csInf_csInf E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : ConditionallyCompleteLattice α]
  [inst_1 : ConditionallyCompleteLattice β] [inst_2 : ConditionallyCompleteLattice γ] {s : Set α} {t : Set β}
  {l : α → β → γ} {u₁ : β → γ → α} {u₂ : α → γ → β},
  (∀ (b : β), GaloisConnection (Function.swap l b ∘ ⇑OrderDual.ofDual) (⇑OrderDual.toDual ∘ u₁ b)) →
    (∀ (a : α), GaloisConnection (l a ∘ ⇑OrderDual.ofDual) (⇑OrderDual.toDual ∘ u₂ a)) →
      s.Nonempty → BddBelow s → t.Nonempty → BddBelow t → sSup (Set.image2 l s t) = l (sInf s) (sInf t)

theorem csInf_image2_eq_csSup_csSup E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : ConditionallyCompleteLattice α]
  [inst_1 : ConditionallyCompleteLattice β] [inst_2 : ConditionallyCompleteLattice γ] {s : Set α} {t : Set β}
  {u : α → β → γ} {l₁ : β → γ → α} {l₂ : α → γ → β},
  (∀ (b : β), GaloisConnection (⇑OrderDual.toDual ∘ l₁ b) (Function.swap u b ∘ ⇑OrderDual.ofDual)) →
    (∀ (a : α), GaloisConnection (⇑OrderDual.toDual ∘ l₂ a) (u a ∘ ⇑OrderDual.ofDual)) →
      s.Nonempty → BddAbove s → t.Nonempty → BddAbove t → sInf (Set.image2 u s t) = u (sSup s) (sSup t)

Deprecated aliases

NameNew nameSince
le_csInf_iff''le_csInf_iff'2026-08-25