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 / V03. Sets, finite structures and big operators

Mathlib.Data.Set.Lattice.Order

26 declarations. Mathlib docs · Source

Set unions, intersections, and order

This file contains results connecting indexed unions and intersections of sets with order structures. It covers intersections of intervals, tails of families indexed by natural numbers, and the interaction of set unions with complete-lattice suprema and infima.

Intervals

theorem Set.nonempty_iInter_Iic_iff E0 #

∀ {α : Type u_1} {ι : Sort u_3} [inst : Preorder α] {f : ι → α}, (⋂ i, Set.Iic (f i)).Nonempty ↔ BddBelow (Set.range f)

theorem Set.nonempty_iInter_Ici_iff E0 #

∀ {α : Type u_1} {ι : Sort u_3} [inst : Preorder α] {f : ι → α}, (⋂ i, Set.Ici (f i)).Nonempty ↔ BddAbove (Set.range f)

theorem Set.Iic_iInf E1 #

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

theorem Set.Ici_iSup E1 #

∀ {α : Type u_1} {ι : Sort u_3} [inst : CompleteLattice α] (f : ι → α), Set.Ici (⨆ i, f i) = ⋂ i, Set.Ici (f i)

theorem Set.Iic_iInf₂ E1 #

∀ {α : Type u_1} {ι : Sort u_3} {κ : ι → Sort u_4} [inst : CompleteLattice α] (f : (i : ι) → κ i → α),
  Set.Iic (⨅ i, ⨅ j, f i j) = ⋂ i, ⋂ j, Set.Iic (f i j)

theorem Set.Ici_iSup₂ E1 #

∀ {α : Type u_1} {ι : Sort u_3} {κ : ι → Sort u_4} [inst : CompleteLattice α] (f : (i : ι) → κ i → α),
  Set.Ici (⨆ i, ⨆ j, f i j) = ⋂ i, ⋂ j, Set.Ici (f i j)

theorem Set.Ici_sSup E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] (s : Set α), Set.Ici (sSup s) = ⋂ a ∈ s, Set.Ici a

theorem Set.Iic_sInf E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] (s : Set α), Set.Iic (sInf s) = ⋂ a ∈ s, Set.Iic a

theorem Set.iUnion_ge_eq_iUnion_nat_add E1 #

∀ {α : Type u_1} (u : ℕ → Set α) (n : ℕ), ⋃ i, ⋃ (_ : i ≥ n), u i = ⋃ i, u (i + n)

theorem Set.iInter_ge_eq_iInter_nat_add E1 #

∀ {α : Type u_1} (u : ℕ → Set α) (n : ℕ), ⋂ i, ⋂ (_ : i ≥ n), u i = ⋂ i, u (i + n)

theorem Monotone.iUnion_nat_add E1 #

∀ {α : Type u_1} {f : ℕ → Set α}, Monotone f → ∀ (k : ℕ), ⋃ n, f (n + k) = ⋃ n, f n

theorem Antitone.iInter_nat_add E1 #

∀ {α : Type u_1} {f : ℕ → Set α}, Antitone f → ∀ (k : ℕ), ⋂ n, f (n + k) = ⋂ n, f n

theorem Set.iUnion_iInter_ge_nat_add E0 #

∀ {α : Type u_1} (f : ℕ → Set α) (k : ℕ), ⋃ n, ⋂ i, ⋂ (_ : i ≥ n), f (i + k) = ⋃ n, ⋂ i, ⋂ (_ : i ≥ n), f i

theorem Set.union_iUnion_nat_succ E1 #

∀ {α : Type u_1} (u : ℕ → Set α), u 0 ∪ ⋃ i, u (i + 1) = ⋃ i, u i

theorem Set.inter_iInter_nat_succ E1 #

∀ {α : Type u_1} (u : ℕ → Set α), u 0 ∩ ⋂ i, u (i + 1) = ⋂ i, u i

theorem Set.iUnion_le_nat E1 #

⋃ n, {i | i ≤ n} = Set.univ

theorem iSup_iUnion E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_3} [inst : CompleteLattice β] (s : ι → Set α) (f : α → β),
  ⨆ a ∈ ⋃ i, s i, f a = ⨆ i, ⨆ a ∈ s i, f a

theorem iInf_iUnion E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_3} [inst : CompleteLattice β] (s : ι → Set α) (f : α → β),
  ⨅ a ∈ ⋃ i, s i, f a = ⨅ i, ⨅ a ∈ s i, f a

theorem sSup_iUnion E1 #

∀ {β : Type u_2} {ι : Sort u_3} [inst : CompleteLattice β] (t : ι → Set β), sSup (⋃ i, t i) = ⨆ i, sSup (t i)

theorem sInf_iUnion E1 #

∀ {β : Type u_2} {ι : Sort u_3} [inst : CompleteLattice β] (t : ι → Set β), sInf (⋃ i, t i) = ⨅ i, sInf (t i)

theorem sInf_sUnion E1 #

∀ {β : Type u_2} [inst : CompleteLattice β] (s : Set (Set β)), sInf (⋃₀ s) = ⨅ t ∈ s, sInf t

theorem sSup_sUnion E1 #

∀ {β : Type u_2} [inst : CompleteLattice β] (s : Set (Set β)), sSup (⋃₀ s) = ⨆ t ∈ s, sSup t

theorem iInf_sUnion E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : CompleteLattice β] (S : Set (Set α)) (f : α → β),
  ⨅ x ∈ ⋃₀ S, f x = ⨅ s ∈ S, ⨅ x ∈ s, f x

theorem iSup_sUnion E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : CompleteLattice β] (S : Set (Set α)) (f : α → β),
  ⨆ x ∈ ⋃₀ S, f x = ⨆ s ∈ S, ⨆ x ∈ s, f x

theorem forall_sUnion E1 #

∀ {α : Type u_1} {S : Set (Set α)} {p : α → Prop}, (∀ x ∈ ⋃₀ S, p x) ↔ ∀ s ∈ S, ∀ x ∈ s, p x

theorem exists_sUnion E1 #

∀ {α : Type u_1} {S : Set (Set α)} {p : α → Prop}, (∃ x ∈ ⋃₀ S, p x) ↔ ∃ s ∈ S, ∃ x ∈ s, p x