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.CompleteLattice.Lemmas

48 declarations. Mathlib docs · Source

Theory of complete lattices

This file contains results on complete lattices that need more theory to develop.

Naming conventions

In lemma names,

  • sSup is called sSup
  • sInf is called sInf
  • ⨆ i, s i is called iSup
  • ⨅ i, s i is called iInf
  • ⨆ i j, s i j is called iSup₂. This is an iSup inside an iSup.
  • ⨅ i j, s i j is called iInf₂. This is an iInf inside an iInf.
  • ⨆ i ∈ s, t i is called biSup for "bounded iSup". This is the special case of iSup₂ where j : i ∈ s.
  • ⨅ i ∈ s, t i is called biInf for "bounded iInf". This is the special case of iInf₂ where j : i ∈ s.

Notation

  • ⨆ i, f i : iSup f, the supremum of the range of f;
  • ⨅ i, f i : iInf f, the infimum of the range of f.

iSup and iInf under Bool

iSup and iInf under ℕ

Instances

theorem iSup_bool_eq E0 #

∀ {α : Type u_1} [inst : CompleteLattice α] {f : Bool → α}, ⨆ b, f b = f true ⊔ f false

theorem iInf_bool_eq E0 #

∀ {α : Type u_1} [inst : CompleteLattice α] {f : Bool → α}, ⨅ b, f b = f true ⊓ f false

theorem inf_eq_iInf E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] (x y : α), x ⊓ y = ⨅ b, bif b then x else y

theorem sup_eq_iSup E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] (x y : α), x ⊔ y = ⨆ b, bif b then x else y

theorem iSup_ge_eq_iSup_nat_add E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] (u : ℕ → α) (n : ℕ), ⨆ i, ⨆ (_ : i ≥ n), u i = ⨆ i, u (i + n)

theorem iInf_ge_eq_iInf_nat_add E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] (u : ℕ → α) (n : ℕ), ⨅ i, ⨅ (_ : i ≥ n), u i = ⨅ i, u (i + n)

theorem Monotone.iSup_nat_add E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {f : ℕ → α}, Monotone f → ∀ (k : ℕ), ⨆ n, f (n + k) = ⨆ n, f n

theorem Antitone.iInf_nat_add E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {f : ℕ → α}, Antitone f → ∀ (k : ℕ), ⨅ n, f (n + k) = ⨅ n, f n

theorem iSup_iInf_ge_nat_add E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] (f : ℕ → α) (k : ℕ),
  ⨆ n, ⨅ i, ⨅ (_ : i ≥ n), f (i + k) = ⨆ n, ⨅ i, ⨅ (_ : i ≥ n), f i

theorem iInf_iSup_ge_nat_add E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] (f : ℕ → α) (k : ℕ),
  ⨅ n, ⨆ i, ⨆ (_ : i ≥ n), f (i + k) = ⨅ n, ⨆ i, ⨆ (_ : i ≥ n), f i

theorem inf_iInf_nat_succ E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] (u : ℕ → α), u 0 ⊓ ⨅ i, u (i + 1) = ⨅ i, u i

theorem sup_iSup_nat_succ E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] (u : ℕ → α), u 0 ⊔ ⨆ i, u (i + 1) = ⨆ i, u i

theorem iInf_nat_gt_zero_eq E0 #

∀ {α : Type u_1} [inst : CompleteLattice α] (f : ℕ → α), ⨅ i, ⨅ (_ : i > 0), f i = ⨅ i, f (i + 1)

theorem iSup_nat_gt_zero_eq E0 #

∀ {α : Type u_1} [inst : CompleteLattice α] (f : ℕ → α), ⨆ i, ⨆ (_ : i > 0), f i = ⨆ i, f (i + 1)

theorem sup_sInf_le_iInf_sup E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {a : α} {s : Set α}, a ⊔ sInf s ≤ ⨅ b ∈ s, a ⊔ b

This is a weaker version of sup_sInf_eq

theorem iSup_inf_le_inf_sSup E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {a : α} {s : Set α}, ⨆ b ∈ s, a ⊓ b ≤ a ⊓ sSup s

This is a weaker version of inf_sSup_eq

theorem sInf_sup_le_iInf_sup E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {a : α} {s : Set α}, sInf s ⊔ a ≤ ⨅ b ∈ s, b ⊔ a

This is a weaker version of sInf_sup_eq

theorem iSup_inf_le_sSup_inf E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {a : α} {s : Set α}, ⨆ b ∈ s, b ⊓ a ≤ sSup s ⊓ a

This is a weaker version of sSup_inf_eq

theorem iSup_inf_le_iSup_inf E1 #

∀ {α : Type u_1} {ι : Sort u_3} [inst : CompleteLattice α] (f : ι → α) (a : α), ⨆ i, f i ⊓ a ≤ (⨆ i, f i) ⊓ a

theorem iInf_sup_le_iInf_sup E1 #

∀ {α : Type u_1} {ι : Sort u_3} [inst : CompleteLattice α] (f : ι → α) (a : α), (⨅ i, f i) ⊔ a ≤ ⨅ i, f i ⊔ a

theorem iSup_inf_le_inf_iSup E1 #

∀ {α : Type u_1} {ι : Sort u_3} [inst : CompleteLattice α] (f : ι → α) (a : α), ⨆ i, a ⊓ f i ≤ a ⊓ ⨆ i, f i

theorem sup_iInf_le_iInf_sup E1 #

∀ {α : Type u_1} {ι : Sort u_3} [inst : CompleteLattice α] (f : ι → α) (a : α), a ⊔ ⨅ i, f i ≤ ⨅ i, a ⊔ f i

theorem biSup_inf_le_biSup_inf E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : CompleteLattice α] (f : β → α) (s : Set β) (a : α),
  ⨆ i ∈ s, f i ⊓ a ≤ (⨆ i ∈ s, f i) ⊓ a

theorem biInf_sup_le_biInf_sup E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : CompleteLattice α] (f : β → α) (s : Set β) (a : α),
  (⨅ i ∈ s, f i) ⊔ a ≤ ⨅ i ∈ s, f i ⊔ a

theorem biSup_inf_le_inf_biSup E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : CompleteLattice α] (f : β → α) (s : Set β) (a : α),
  ⨆ i ∈ s, a ⊓ f i ≤ a ⊓ ⨆ i ∈ s, f i

theorem sup_biInf_le_biInf_sup E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : CompleteLattice α] (f : β → α) (s : Set β) (a : α),
  a ⊔ ⨅ i ∈ s, f i ≤ ⨅ i ∈ s, a ⊔ f i

theorem iInf_sup_iInf_le E1 #

∀ {α : Type u_1} {ι : Sort u_3} [inst : CompleteLattice α] (f g : ι → α), (⨅ i, f i) ⊔ ⨅ i, g i ≤ ⨅ i, f i ⊔ g i

theorem le_iSup_inf_iSup E1 #

∀ {α : Type u_1} {ι : Sort u_3} [inst : CompleteLattice α] (f g : ι → α), ⨆ i, f i ⊓ g i ≤ (⨆ i, f i) ⊓ ⨆ i, g i

theorem disjoint_sSup_left E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {a : Set α} {b : α}, Disjoint (sSup a) b → ∀ {i : α}, i ∈ a → Disjoint i b

theorem codisjoint_sInf_left E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {a : Set α} {b : α},
  Codisjoint (sInf a) b → ∀ {i : α}, i ∈ a → Codisjoint i b

theorem disjoint_sSup_right E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {a : Set α} {b : α}, Disjoint b (sSup a) → ∀ {i : α}, i ∈ a → Disjoint b i

theorem codisjoint_sInf_right E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {a : Set α} {b : α},
  Codisjoint b (sInf a) → ∀ {i : α}, i ∈ a → Codisjoint b i

theorem disjoint_of_sSup_disjoint_of_le_of_le E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {a b : α} {c d : Set α},
  (∀ e ∈ c, e ≤ a) → (∀ e ∈ d, e ≤ b) → Disjoint a b → ⊥ ∉ c ∨ ⊥ ∉ d → Disjoint c d

theorem codisjoint_of_sInf_codisjoint_of_le_of_le E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {a b : α} {c d : Set α},
  (∀ e ∈ c, a ≤ e) → (∀ e ∈ d, b ≤ e) → Codisjoint a b → ⊤ ∉ c ∨ ⊤ ∉ d → Disjoint c d

theorem disjoint_of_sSup_disjoint E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {a b : Set α}, Disjoint (sSup a) (sSup b) → ⊥ ∉ a ∨ ⊥ ∉ b → Disjoint a b

theorem codisjoint_of_sInf_codisjoint E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] {a b : Set α}, Codisjoint (sInf a) (sInf b) → ⊤ ∉ a ∨ ⊤ ∉ b → Disjoint a b

instance ULift.supSet E0 #

{α : Type u_1} → [SupSet α] → SupSet (ULift.{v, u_1} α)

instance ULift.infSet E0 #

{α : Type u_1} → [InfSet α] → InfSet (ULift.{v, u_1} α)

theorem ULift.down_sSup E1 #

∀ {α : Type u_1} [inst : SupSet α] (s : Set (ULift.{v, u_1} α)), (sSup s).down = sSup (ULift.up ⁻¹' s)

theorem ULift.down_sInf E1 #

∀ {α : Type u_1} [inst : InfSet α] (s : Set (ULift.{v, u_1} α)), (sInf s).down = sInf (ULift.up ⁻¹' s)

theorem ULift.up_sInf E1 #

∀ {α : Type u_1} [inst : InfSet α] (s : Set α), { down := sInf s } = sInf (ULift.down ⁻¹' s)

theorem ULift.up_sSup E1 #

∀ {α : Type u_1} [inst : SupSet α] (s : Set α), { down := sSup s } = sSup (ULift.down ⁻¹' s)

theorem ULift.down_iInf E1 #

∀ {α : Type u_1} {ι : Sort u_3} [inst : InfSet α] (f : ι → ULift.{v, u_1} α), (⨅ i, f i).down = ⨅ i, (f i).down

theorem ULift.down_iSup E1 #

∀ {α : Type u_1} {ι : Sort u_3} [inst : SupSet α] (f : ι → ULift.{v, u_1} α), (⨆ i, f i).down = ⨆ i, (f i).down

theorem ULift.up_iSup E1 #

∀ {α : Type u_1} {ι : Sort u_3} [inst : SupSet α] (f : ι → α), { down := ⨆ i, f i } = ⨆ i, { down := f i }

theorem ULift.up_iInf E1 #

∀ {α : Type u_1} {ι : Sort u_3} [inst : InfSet α] (f : ι → α), { down := ⨅ i, f i } = ⨅ i, { down := f i }

instance ULift.instCompleteLattice E0 #

{α : Type u_1} → [CompleteLattice α] → CompleteLattice (ULift.{v, u_1} α)

instance PUnit.instCompleteLinearOrder E0 #

CompleteLinearOrder PUnit.{u_4 + 1}