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.ConditionallyCompletePartialOrder.Indexed

57 declarations. Mathlib docs · Source

theorem Directed.isGLB_ciInf E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderInf α] [Nonempty ι] {f : ι → α},
  Directed (fun x1 x2 ↦ x2 ≤ x1) f → BddBelow (Set.range f) → IsGLB (Set.range f) (⨅ i, f i)

theorem Directed.isLUB_ciSup E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderSup α] [Nonempty ι] {f : ι → α},
  Directed (fun x1 x2 ↦ x1 ≤ x2) f → BddAbove (Set.range f) → IsLUB (Set.range f) (⨆ i, f i)

theorem DirectedOn.isGLB_ciInf_set E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderInf α] {f : β → α} {s : Set β},
  DirectedOn (fun x1 x2 ↦ x2 ≤ x1) (f '' s) → BddBelow (f '' s) → s.Nonempty → IsGLB (f '' s) (⨅ i, f ↑i)

theorem DirectedOn.isLUB_ciSup_set E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderSup α] {f : β → α} {s : Set β},
  DirectedOn (fun x1 x2 ↦ x1 ≤ x2) (f '' s) → BddAbove (f '' s) → s.Nonempty → IsLUB (f '' s) (⨆ i, f ↑i)

theorem Directed.le_ciInf_iff E0 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderInf α] [Nonempty ι] {f : ι → α} {a : α},
  Directed (fun x1 x2 ↦ x2 ≤ x1) f → BddBelow (Set.range f) → (a ≤ iInf f ↔ ∀ (i : ι), a ≤ f i)

theorem Directed.ciSup_le_iff E0 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderSup α] [Nonempty ι] {f : ι → α} {a : α},
  Directed (fun x1 x2 ↦ x1 ≤ x2) f → BddAbove (Set.range f) → (iSup f ≤ a ↔ ∀ (i : ι), f i ≤ a)

theorem DirectedOn.le_ciInf_set_iff E0 #

∀ {α : Type u_1} [inst : ConditionallyCompletePartialOrderInf α] {ι : Type u_5} {s : Set ι} {f : ι → α} {a : α},
  s.Nonempty → DirectedOn (fun x1 x2 ↦ x2 ≤ x1) (f '' s) → BddBelow (f '' s) → (a ≤ ⨅ i, f ↑i ↔ ∀ i ∈ s, a ≤ f i)

theorem DirectedOn.ciSup_set_le_iff E0 #

∀ {α : Type u_1} [inst : ConditionallyCompletePartialOrderSup α] {ι : Type u_5} {s : Set ι} {f : ι → α} {a : α},
  s.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) (f '' s) → BddAbove (f '' s) → (⨆ i, f ↑i ≤ a ↔ ∀ i ∈ s, f i ≤ a)

theorem Directed.ciInf_le_of_le E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderInf α] {a : α} {f : ι → α},
  Directed (fun x1 x2 ↦ x2 ≤ x1) f → BddBelow (Set.range f) → ∀ (c : ι), f c ≤ a → iInf f ≤ a

theorem Directed.le_ciSup_of_le E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderSup α] {a : α} {f : ι → α},
  Directed (fun x1 x2 ↦ x1 ≤ x2) f → BddAbove (Set.range f) → ∀ (c : ι), a ≤ f c → a ≤ iSup f

theorem Directed.ciSup_mono E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderSup α] {f g : ι → α},
  Directed (fun x1 x2 ↦ x1 ≤ x2) f →
    Directed (fun x1 x2 ↦ x1 ≤ x2) g → BddAbove (Set.range g) → (∀ (x : ι), f x ≤ g x) → iSup f ≤ iSup g

The indexed suprema of two functions are comparable if the functions are pointwise comparable

theorem Directed.ciInf_mono E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderInf α] {f g : ι → α},
  Directed (fun x1 x2 ↦ x2 ≤ x1) f →
    Directed (fun x1 x2 ↦ x2 ≤ x1) g → BddBelow (Set.range g) → (∀ (x : ι), g x ≤ f x) → iInf g ≤ iInf f

The indexed infimum of two functions are comparable if the functions are pointwise comparable

theorem DirectedOn.le_ciSup_set E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderSup α] {f : β → α} {s : Set β},
  DirectedOn (fun x1 x2 ↦ x1 ≤ x2) (f '' s) → BddAbove (f '' s) → ∀ {c : β}, c ∈ s → f c ≤ ⨆ i, f ↑i

theorem DirectedOn.ciInf_set_le E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderInf α] {f : β → α} {s : Set β},
  DirectedOn (fun x1 x2 ↦ x2 ≤ x1) (f '' s) → BddBelow (f '' s) → ∀ {c : β}, c ∈ s → ⨅ i, f ↑i ≤ f c

theorem ciSup_const E0 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderSup α] [hι : Nonempty ι] {a : α}, ⨆ x, a = a

theorem ciInf_const E0 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderInf α] [hι : Nonempty ι] {a : α}, ⨅ x, a = a

theorem ciSup_unique E0 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderSup α] [inst_1 : Unique ι] {s : ι → α},
  ⨆ i, s i = s default

theorem ciInf_unique E0 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderInf α] [inst_1 : Unique ι] {s : ι → α},
  ⨅ i, s i = s default

theorem ciInf_subsingleton E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderInf α] [Subsingleton ι] (i : ι) (s : ι → α),
  ⨅ i, s i = s i

theorem ciSup_subsingleton E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderSup α] [Subsingleton ι] (i : ι) (s : ι → α),
  ⨆ i, s i = s i

theorem ciSup_pos E1 #

∀ {α : Type u_1} [inst : ConditionallyCompletePartialOrderSup α] {p : Prop} {f : p → α} (hp : p), ⨆ (h : p), f h = f hp

theorem ciInf_pos E1 #

∀ {α : Type u_1} [inst : ConditionallyCompletePartialOrderInf α] {p : Prop} {f : p → α} (hp : p), ⨅ (h : p), f h = f hp

theorem ciInf_neg E1 #

∀ {α : Type u_1} [inst : ConditionallyCompletePartialOrderInf α] {p : Prop} {f : p → α}, ¬p → ⨅ (h : p), f h = sInf ∅

theorem ciSup_neg E1 #

∀ {α : Type u_1} [inst : ConditionallyCompletePartialOrderSup α] {p : Prop} {f : p → α}, ¬p → ⨆ (h : p), f h = sSup ∅

theorem ciInf_eq_ite E1 #

∀ {α : Type u_1} [inst : ConditionallyCompletePartialOrderInf α] {p : Prop} [inst_1 : Decidable p] {f : p → α},
  ⨅ (h : p), f h = if h : p then f h else sInf ∅

theorem ciSup_eq_ite E1 #

∀ {α : Type u_1} [inst : ConditionallyCompletePartialOrderSup α] {p : Prop} [inst_1 : Decidable p] {f : p → α},
  ⨆ (h : p), f h = if h : p then f h else sSup ∅

theorem cbiInf_eq_of_forall E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderInf α] {p : ι → Prop} {f : Subtype p → α},
  (∀ (i : ι), p i) → ⨅ i, ⨅ (h : p i), f ⟨i, h⟩ = iInf f

theorem cbiSup_eq_of_forall E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderSup α] {p : ι → Prop} {f : Subtype p → α},
  (∀ (i : ι), p i) → ⨆ i, ⨆ (h : p i), f ⟨i, h⟩ = iSup f

theorem cbiInf_eq_of_forall_not E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderInf α] {p : ι → Prop} {f : (i : ι) → p i → α},
  (∀ (i : ι), ¬p i) → ⨅ i, ⨅ (h : p i), f i h = sInf ∅

theorem cbiSup_eq_of_forall_not E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderSup α] {p : ι → Prop} {f : (i : ι) → p i → α},
  (∀ (i : ι), ¬p i) → ⨆ i, ⨆ (h : p i), f i h = sSup ∅

theorem cbiInf_empty E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderInf α] {f : β → α}, ⨅ i ∈ ∅, f i = sInf ∅

theorem cbiSup_empty E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderSup α] {f : β → α}, ⨆ i ∈ ∅, f i = sSup ∅

theorem Directed.ciSup_eq_of_forall_le_of_forall_lt_exists_gt E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderSup α] {b : α} [Nonempty ι] {f : ι → α},
  Directed (fun x1 x2 ↦ x1 ≤ x2) f → (∀ (i : ι), f i ≤ b) → (∀ w < b, ∃ i, w < f i) → ⨆ i, f i = b

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

theorem Directed.ciInf_eq_of_forall_ge_of_forall_gt_exists_lt E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderInf α] {b : α} [Nonempty ι] {f : ι → α},
  Directed (fun x1 x2 ↦ x2 ≤ x1) f → (∀ (i : ι), b ≤ f i) → (∀ (w : α), b < w → ∃ i, f i < w) → ⨅ i, f i = b

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

theorem Monotone.ciSup_mem_iInter_Icc_of_antitone E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderSup α] [inst_1 : Preorder β]
  [IsDirectedOrder β] {f g : β → α}, Monotone f → Antitone g → f ≤ g → ⨆ n, f n ∈ ⋂ n, Set.Icc (f n) (g n)

Nested intervals lemma: if f is a monotone sequence, g is an antitone sequence, and f n ≤ g n for all n, then ⨆ n, f n belongs to all the intervals [f n, g n].

theorem ciSup_mem_iInter_Icc_of_antitone_Icc E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderSup α] [inst_1 : Preorder β]
  [IsDirectedOrder β] {f g : β → α},
  (Antitone fun n ↦ Set.Icc (f n) (g n)) → (∀ (n : β), f n ≤ g n) → ⨆ n, f n ∈ ⋂ n, Set.Icc (f n) (g n)

Nested intervals lemma: if [f n, g n] is an antitone sequence of nonempty closed intervals, then ⨆ n, f n belongs to all the intervals [f n, g n].

theorem Directed.Ici_ciSup E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderSup α] [Nonempty ι] {f : ι → α},
  Directed (fun x1 x2 ↦ x1 ≤ x2) f → BddAbove (Set.range f) → Set.Ici (⨆ i, f i) = ⋂ i, Set.Ici (f i)

theorem Directed.Iic_ciInf E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderInf α] [Nonempty ι] {f : ι → α},
  Directed (fun x1 x2 ↦ x2 ≤ x1) f → BddBelow (Set.range f) → Set.Iic (⨅ i, f i) = ⋂ i, Set.Iic (f i)

theorem ciSup_Iic E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderSup α] [inst_1 : Preorder β] {f : β → α}
  (a : β), Monotone f → ⨆ x, f ↑x = f a

theorem ciInf_Ici E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderInf α] [inst_1 : Preorder β] {f : β → α}
  (a : β), Monotone f → ⨅ x, f ↑x = f a

theorem Directed.ciInf_le_ciSup E1 #

∀ {α : Type u_1} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrder α] [Nonempty ι] {f : ι → α},
  Directed (fun x1 x2 ↦ x1 ≥ x2) f →
    BddBelow (Set.range f) → Directed (fun x1 x2 ↦ x1 ≤ x2) f → BddAbove (Set.range f) → ⨅ i, f i ≤ ⨆ i, f i

theorem GaloisConnection.l_csSup_of_directedOn' E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderSup α]
  [inst_1 : ConditionallyCompletePartialOrderSup β] {l : α → β} {u : β → α},
  GaloisConnection l u →
    ∀ {s : Set α}, DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s → s.Nonempty → BddAbove s → l (sSup s) = sSup (l '' s)

theorem GaloisConnection.u_csInf_of_directedOn' E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderInf α]
  [inst_1 : ConditionallyCompletePartialOrderInf β] {l : α → β} {u : β → α},
  GaloisConnection u l →
    ∀ {s : Set α}, DirectedOn (fun x1 x2 ↦ x2 ≤ x1) s → s.Nonempty → BddBelow s → l (sInf s) = sInf (l '' s)

theorem GaloisConnection.l_csSup_of_directedOn E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderSup α]
  [inst_1 : ConditionallyCompletePartialOrderSup β] {l : α → β} {u : β → α},
  GaloisConnection l u →
    ∀ {s : Set α}, DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s → s.Nonempty → BddAbove s → l (sSup s) = ⨆ x, l ↑x

theorem GaloisConnection.u_csInf_of_directedOn E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderInf α]
  [inst_1 : ConditionallyCompletePartialOrderInf β] {l : α → β} {u : β → α},
  GaloisConnection u l →
    ∀ {s : Set α}, DirectedOn (fun x1 x2 ↦ x2 ≤ x1) s → s.Nonempty → BddBelow s → l (sInf s) = ⨅ x, l ↑x

theorem GaloisConnection.l_ciSup_of_directed E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderSup α]
  [inst_1 : ConditionallyCompletePartialOrderSup β] [Nonempty ι] {l : α → β} {u : β → α},
  GaloisConnection l u →
    ∀ {f : ι → α}, Directed (fun x1 x2 ↦ x1 ≤ x2) f → BddAbove (Set.range f) → l (⨆ i, f i) = ⨆ i, l (f i)

theorem GaloisConnection.u_ciInf_of_directed E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderInf α]
  [inst_1 : ConditionallyCompletePartialOrderInf β] [Nonempty ι] {l : α → β} {u : β → α},
  GaloisConnection u l →
    ∀ {f : ι → α}, Directed (fun x1 x2 ↦ x2 ≤ x1) f → BddBelow (Set.range f) → l (⨅ i, f i) = ⨅ i, l (f i)

theorem GaloisConnection.l_ciSup_set_of_directedOn E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : ConditionallyCompletePartialOrderSup α]
  [inst_1 : ConditionallyCompletePartialOrderSup β] {l : α → β} {u : β → α},
  GaloisConnection l u →
    ∀ {s : Set γ} {f : γ → α},
      DirectedOn (fun x1 x2 ↦ x1 ≤ x2) (f '' s) → BddAbove (f '' s) → s.Nonempty → l (⨆ i, f ↑i) = ⨆ i, l (f ↑i)

theorem GaloisConnection.u_ciInf_set_of_directedOn E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : ConditionallyCompletePartialOrderInf α]
  [inst_1 : ConditionallyCompletePartialOrderInf β] {l : α → β} {u : β → α},
  GaloisConnection u l →
    ∀ {s : Set γ} {f : γ → α},
      DirectedOn (fun x1 x2 ↦ x2 ≤ x1) (f '' s) → BddBelow (f '' s) → s.Nonempty → l (⨅ i, f ↑i) = ⨅ i, l (f ↑i)

theorem OrderIso.map_csSup_of_directedOn E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderSup α]
  [inst_1 : ConditionallyCompletePartialOrderSup β] (e : α ≃o β) {s : Set α},
  DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s → s.Nonempty → BddAbove s → e (sSup s) = ⨆ x, e ↑x

theorem OrderIso.map_csInf_of_directedOn E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderInf α]
  [inst_1 : ConditionallyCompletePartialOrderInf β] (e : α ≃o β) {s : Set α},
  DirectedOn (fun x1 x2 ↦ x2 ≤ x1) s → s.Nonempty → BddBelow s → e (sInf s) = ⨅ x, e ↑x

theorem OrderIso.map_csSup_of_directedOn' E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderSup α]
  [inst_1 : ConditionallyCompletePartialOrderSup β] (e : α ≃o β) {s : Set α},
  DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s → s.Nonempty → BddAbove s → e (sSup s) = sSup (⇑e '' s)

theorem OrderIso.map_csInf_of_directedOn' E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : ConditionallyCompletePartialOrderInf α]
  [inst_1 : ConditionallyCompletePartialOrderInf β] (e : α ≃o β) {s : Set α},
  DirectedOn (fun x1 x2 ↦ x2 ≤ x1) s → s.Nonempty → BddBelow s → e (sInf s) = sInf (⇑e '' s)

theorem OrderIso.map_ciInf_of_directed E0 #

∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderInf α]
  [inst_1 : ConditionallyCompletePartialOrderInf β] [Nonempty ι] (e : α ≃o β) {f : ι → α},
  Directed (fun x1 x2 ↦ x2 ≤ x1) f → BddBelow (Set.range f) → e (⨅ i, f i) = ⨅ i, e (f i)

theorem OrderIso.map_ciSup_of_directed E0 #

∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_4} [inst : ConditionallyCompletePartialOrderSup α]
  [inst_1 : ConditionallyCompletePartialOrderSup β] [Nonempty ι] (e : α ≃o β) {f : ι → α},
  Directed (fun x1 x2 ↦ x1 ≤ x2) f → BddAbove (Set.range f) → e (⨆ i, f i) = ⨆ i, e (f i)

theorem OrderIso.map_ciSup_set_of_directedOn E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : ConditionallyCompletePartialOrderSup α]
  [inst_1 : ConditionallyCompletePartialOrderSup β] (e : α ≃o β) {s : Set γ} {f : γ → α},
  DirectedOn (fun x1 x2 ↦ x1 ≤ x2) (f '' s) → BddAbove (f '' s) → s.Nonempty → e (⨆ i, f ↑i) = ⨆ i, e (f ↑i)

theorem OrderIso.map_ciInf_set_of_directedOn E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : ConditionallyCompletePartialOrderInf α]
  [inst_1 : ConditionallyCompletePartialOrderInf β] (e : α ≃o β) {s : Set γ} {f : γ → α},
  DirectedOn (fun x1 x2 ↦ x2 ≤ x1) (f '' s) → BddBelow (f '' s) → s.Nonempty → e (⨅ i, f ↑i) = ⨅ i, e (f ↑i)