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

86 declarations. Mathlib docs · Source

Sets closed under countable join/meet

This file defines predicates for sets closed under countable supremum and dually for countable infimum.

Main declarations

  • CountableSupClosed: Predicate for a set to be closed under countable supremum.
  • CountableInfClosed: Predicate for a set to be closed under countable infimum.
  • countableSupClosure: countable Sup-closure. Smallest countable sup-closed set containing a given set.
  • countableInfClosure: countable Inf-closure. Smallest countable inf-closed set containing a given set.

Implementation notes

The list of properties in this file is copied and adapted from the file about SupClosed. We should keep these files in sync.

Closure

structure CountableSupClosed E3 #

{α : Type u_2} → [LE α] → Set α → Prop

A set s is closed under countable supremum if for every nonempty countable subset of s, any least upper bound of that subset is in s.

ctor CountableSupClosed.mk E0 #

∀ {α : Type u_2} [inst : LE α] {s : Set α},
  (∀ t ⊆ s, t.Nonempty → t.Countable → ∀ (x : α), IsLUB t x → x ∈ s) → CountableSupClosed s

theorem CountableSupClosed.isLUB_mem E1 #

∀ {α : Type u_2} [inst : LE α] {s : Set α},
  CountableSupClosed s → ∀ t ⊆ s, t.Nonempty → t.Countable → ∀ (x : α), IsLUB t x → x ∈ s

structure CountableInfClosed E3 #

{α : Type u_2} → [LE α] → Set α → Prop

A set s is closed under countable infimum if for every nonempty countable subset of s, any greatest lower bound of that subset is in s.

ctor CountableInfClosed.mk E0 #

∀ {α : Type u_2} [inst : LE α] {s : Set α},
  (∀ t ⊆ s, t.Nonempty → t.Countable → ∀ (x : α), IsGLB t x → x ∈ s) → CountableInfClosed s

theorem CountableInfClosed.isGLB_mem E1 #

∀ {α : Type u_2} [inst : LE α] {s : Set α},
  CountableInfClosed s → ∀ t ⊆ s, t.Nonempty → t.Countable → ∀ (x : α), IsGLB t x → x ∈ s

theorem CountableSupClosed.iSup_mem E1 #

∀ {ι : Sort u_1} {α : Type u_2} {s : Set α} [inst : CompleteLattice α] [Countable ι] [Nonempty ι],
  CountableSupClosed s → ∀ {A : ι → α}, (∀ (n : ι), A n ∈ s) → ⨆ n, A n ∈ s

theorem CountableInfClosed.iInf_mem E1 #

∀ {ι : Sort u_1} {α : Type u_2} {s : Set α} [inst : CompleteLattice α] [Countable ι] [Nonempty ι],
  CountableInfClosed s → ∀ {A : ι → α}, (∀ (n : ι), A n ∈ s) → ⨅ n, A n ∈ s

theorem CountableInfClosed.of_iInf_mem E1 #

∀ {α : Type u_2} {s : Set α} [inst : CompleteLattice α],
  (∀ (A : ℕ → α), (∀ (n : ℕ), A n ∈ s) → ⨅ n, A n ∈ s) → CountableInfClosed s

theorem CountableSupClosed.of_iSup_mem E1 #

∀ {α : Type u_2} {s : Set α} [inst : CompleteLattice α],
  (∀ (A : ℕ → α), (∀ (n : ℕ), A n ∈ s) → ⨆ n, A n ∈ s) → CountableSupClosed s

theorem CountableSupClosed.sSup_mem E1 #

∀ {α : Type u_2} {s : Set α} [inst : CompleteLattice α],
  CountableSupClosed s → ∀ {A : Set α}, A.Countable → A.Nonempty → (∀ a ∈ A, a ∈ s) → sSup A ∈ s

theorem CountableInfClosed.sInf_mem E1 #

∀ {α : Type u_2} {s : Set α} [inst : CompleteLattice α],
  CountableInfClosed s → ∀ {A : Set α}, A.Countable → A.Nonempty → (∀ a ∈ A, a ∈ s) → sInf A ∈ s

theorem CountableSupClosed.supClosed E1 #

∀ {α : Type u_2} {s : Set α} [inst : SemilatticeSup α], CountableSupClosed s → SupClosed s

theorem CountableInfClosed.infClosed E1 #

∀ {α : Type u_2} {s : Set α} [inst : SemilatticeInf α], CountableInfClosed s → InfClosed s

theorem CountableSupClosed.singleton E0 #

∀ {α : Type u_2} [inst : PartialOrder α] {x : α}, CountableSupClosed {x}

theorem CountableInfClosed.singleton E0 #

∀ {α : Type u_2} [inst : PartialOrder α] {x : α}, CountableInfClosed {x}

theorem CountableInfClosed.univ E0 #

∀ {α : Type u_2} [inst : LE α], CountableInfClosed Set.univ

theorem CountableSupClosed.univ E0 #

∀ {α : Type u_2} [inst : LE α], CountableSupClosed Set.univ

theorem CountableInfClosed.empty E0 #

∀ {α : Type u_2} [inst : LE α], CountableInfClosed ∅

theorem CountableSupClosed.empty E0 #

∀ {α : Type u_2} [inst : LE α], CountableSupClosed ∅

theorem CountableSupClosed.inter E1 #

∀ {α : Type u_2} {s t : Set α} [inst : LE α], CountableSupClosed s → CountableSupClosed t → CountableSupClosed (s ∩ t)

theorem CountableInfClosed.inter E1 #

∀ {α : Type u_2} {s t : Set α} [inst : LE α], CountableInfClosed s → CountableInfClosed t → CountableInfClosed (s ∩ t)

theorem CountableSupClosed.sInter E1 #

∀ {α : Type u_2} {S : Set (Set α)} [inst : LE α], (∀ s ∈ S, CountableSupClosed s) → CountableSupClosed (⋂₀ S)

theorem CountableInfClosed.sInter E1 #

∀ {α : Type u_2} {S : Set (Set α)} [inst : LE α], (∀ s ∈ S, CountableInfClosed s) → CountableInfClosed (⋂₀ S)

theorem CountableSupClosed.iInter E1 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : LE α] {f : ι → Set α},
  (∀ (i : ι), CountableSupClosed (f i)) → CountableSupClosed (⋂ i, f i)

theorem CountableInfClosed.iInter E1 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : LE α] {f : ι → Set α},
  (∀ (i : ι), CountableInfClosed (f i)) → CountableInfClosed (⋂ i, f i)

theorem CountableSupClosed.directedOn E1 #

∀ {α : Type u_2} {s : Set α} [inst : SemilatticeSup α], CountableSupClosed s → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s

theorem CountableInfClosed.directedOn E1 #

∀ {α : Type u_2} {s : Set α} [inst : SemilatticeInf α], CountableInfClosed s → DirectedOn (fun x1 x2 ↦ x2 ≤ x1) s

theorem CountableSupClosed.prod E1 #

∀ {α : Type u_2} {β : Type u_3} {s : Set α} [inst : Preorder α] [inst_1 : Preorder β] {t : Set β},
  CountableSupClosed s → CountableSupClosed t → CountableSupClosed (s ×ˢ t)

theorem CountableInfClosed.prod E1 #

∀ {α : Type u_2} {β : Type u_3} {s : Set α} [inst : Preorder α] [inst_1 : Preorder β] {t : Set β},
  CountableInfClosed s → CountableInfClosed t → CountableInfClosed (s ×ˢ t)

theorem CountableSupClosed.finsetSup'_mem E1 #

∀ {α : Type u_2} {s : Set α} {ι : Type u_4} {f : ι → α} {t : Finset ι} [inst : SemilatticeSup α],
  CountableSupClosed s → ∀ (ht : t.Nonempty), (∀ i ∈ t, f i ∈ s) → t.sup' ht f ∈ s

theorem CountableInfClosed.finsetInf'_mem E1 #

∀ {α : Type u_2} {s : Set α} {ι : Type u_4} {f : ι → α} {t : Finset ι} [inst : SemilatticeInf α],
  CountableInfClosed s → ∀ (ht : t.Nonempty), (∀ i ∈ t, f i ∈ s) → t.inf' ht f ∈ s

theorem CountableInfClosed.finsetInf_mem E1 #

∀ {α : Type u_2} {s : Set α} {ι : Type u_4} {f : ι → α} {t : Finset ι} [inst : SemilatticeInf α] [inst_1 : OrderTop α],
  CountableInfClosed s → t.Nonempty → (∀ i ∈ t, f i ∈ s) → t.inf f ∈ s

theorem CountableSupClosed.finsetSup_mem E1 #

∀ {α : Type u_2} {s : Set α} {ι : Type u_4} {f : ι → α} {t : Finset ι} [inst : SemilatticeSup α] [inst_1 : OrderBot α],
  CountableSupClosed s → t.Nonempty → (∀ i ∈ t, f i ∈ s) → t.sup f ∈ s

theorem countableSupClosed_preimage_toDual E0 #

∀ {α : Type u_2} [inst : LE α] {s : Set αᵒᵈ}, CountableSupClosed (⇑OrderDual.toDual ⁻¹' s) ↔ CountableInfClosed s

theorem countableInfClosed_preimage_toDual E0 #

∀ {α : Type u_2} [inst : LE α] {s : Set αᵒᵈ}, CountableInfClosed (⇑OrderDual.toDual ⁻¹' s) ↔ CountableSupClosed s

theorem countableInfClosed_preimage_ofDual E0 #

∀ {α : Type u_2} [inst : LE α] {s : Set α}, CountableInfClosed (⇑OrderDual.ofDual ⁻¹' s) ↔ CountableSupClosed s

theorem countableSupClosed_preimage_ofDual E0 #

∀ {α : Type u_2} [inst : LE α] {s : Set α}, CountableSupClosed (⇑OrderDual.ofDual ⁻¹' s) ↔ CountableInfClosed s

theorem CountableInfClosed.dual E1 #

∀ {α : Type u_2} [inst : LE α] {s : Set α}, CountableInfClosed s → CountableSupClosed (⇑OrderDual.ofDual ⁻¹' s)

Alias of the reverse direction of countableSupClosed_preimage_ofDual.

theorem CountableSupClosed.dual E1 #

∀ {α : Type u_2} [inst : LE α] {s : Set α}, CountableSupClosed s → CountableInfClosed (⇑OrderDual.ofDual ⁻¹' s)

Alias of the reverse direction of countableInfClosed_preimage_ofDual.

def countableSupClosure E3 #

{α : Type u_2} → [Preorder α] → ClosureOperator (Set α)

Every set generates a set closed under countable supremum.

def countableInfClosure E3 #

{α : Type u_2} → [Preorder α] → ClosureOperator (Set α)

Every set generates a set closed under countable infimum.

theorem subset_countableInfClosure E0 #

∀ {α : Type u_2} {s : Set α} [inst : Preorder α], s ⊆ countableInfClosure s

theorem subset_countableSupClosure E0 #

∀ {α : Type u_2} {s : Set α} [inst : Preorder α], s ⊆ countableSupClosure s

theorem countableInfClosure_min E1 #

∀ {α : Type u_2} {s t : Set α} [inst : Preorder α], s ⊆ t → CountableInfClosed t → countableInfClosure s ⊆ t

theorem countableSupClosure_min E1 #

∀ {α : Type u_2} {s t : Set α} [inst : Preorder α], s ⊆ t → CountableSupClosed t → countableSupClosure s ⊆ t

theorem countableInfClosed_countableInfClosure E0 #

∀ {α : Type u_2} {s : Set α} [inst : Preorder α], CountableInfClosed (countableInfClosure s)

theorem countableSupClosed_countableSupClosure E0 #

∀ {α : Type u_2} {s : Set α} [inst : Preorder α], CountableSupClosed (countableSupClosure s)

theorem countableSupClosure_mono E1 #

∀ {α : Type u_2} [inst : Preorder α], Monotone ⇑countableSupClosure

theorem countableInfClosure_mono E1 #

∀ {α : Type u_2} [inst : Preorder α], Monotone ⇑countableInfClosure

theorem countableSupClosure_eq_self E0 #

∀ {α : Type u_2} {s : Set α} [inst : Preorder α], countableSupClosure s = s ↔ CountableSupClosed s

theorem countableInfClosure_eq_self E0 #

∀ {α : Type u_2} {s : Set α} [inst : Preorder α], countableInfClosure s = s ↔ CountableInfClosed s

theorem CountableInfClosed.countableInfClosure_eq E0 #

∀ {α : Type u_2} {s : Set α} [inst : Preorder α], CountableInfClosed s → countableInfClosure s = s

Alias of the reverse direction of countableInfClosure_eq_self.

theorem CountableSupClosed.countableSupClosure_eq E0 #

∀ {α : Type u_2} {s : Set α} [inst : Preorder α], CountableSupClosed s → countableSupClosure s = s

Alias of the reverse direction of countableSupClosure_eq_self.

theorem countableSupClosure_idem E1 #

∀ {α : Type u_2} [inst : Preorder α] (s : Set α), countableSupClosure (countableSupClosure s) = countableSupClosure s

theorem countableInfClosure_idem E1 #

∀ {α : Type u_2} [inst : Preorder α] (s : Set α), countableInfClosure (countableInfClosure s) = countableInfClosure s

theorem countableSupClosure_eq_sInter E1 #

∀ {α : Type u_2} [inst : Preorder α] (s : Set α), countableSupClosure s = ⋂₀ {t | s ⊆ t ∧ CountableSupClosed t}

theorem countableInfClosure_eq_sInter E1 #

∀ {α : Type u_2} [inst : Preorder α] (s : Set α), countableInfClosure s = ⋂₀ {t | s ⊆ t ∧ CountableInfClosed t}

theorem mem_countableSupClosure_iff E0 #

∀ {α : Type u_2} {s : Set α} {a : α} [inst : Preorder α],
  a ∈ countableSupClosure s ↔ ∃ A, ∃ (_ : A ⊆ s) (_ : A.Nonempty) (_ : A.Countable), IsLUB A a

theorem mem_countableInfClosure_iff E0 #

∀ {α : Type u_2} {s : Set α} {a : α} [inst : Preorder α],
  a ∈ countableInfClosure s ↔ ∃ A, ∃ (_ : A ⊆ s) (_ : A.Nonempty) (_ : A.Countable), IsGLB A a

theorem countableSupClosure_univ E0 #

∀ {α : Type u_2} [inst : Preorder α], countableSupClosure Set.univ = Set.univ

theorem countableInfClosure_univ E0 #

∀ {α : Type u_2} [inst : Preorder α], countableInfClosure Set.univ = Set.univ

theorem countableSupClosure_empty E0 #

∀ {α : Type u_2} [inst : Preorder α], countableSupClosure ∅ = ∅

theorem countableInfClosure_empty E0 #

∀ {α : Type u_2} [inst : Preorder α], countableInfClosure ∅ = ∅

theorem lowerBounds_countableInfClosure E0 #

∀ {α : Type u_2} [inst : Preorder α] (s : Set α), lowerBounds (countableInfClosure s) = lowerBounds s

theorem upperBounds_countableSupClosure E0 #

∀ {α : Type u_2} [inst : Preorder α] (s : Set α), upperBounds (countableSupClosure s) = upperBounds s

theorem isGLB_countableInfClosure E0 #

∀ {α : Type u_2} {s : Set α} {a : α} [inst : Preorder α], IsGLB (countableInfClosure s) a ↔ IsGLB s a

theorem isLUB_countableSupClosure E0 #

∀ {α : Type u_2} {s : Set α} {a : α} [inst : Preorder α], IsLUB (countableSupClosure s) a ↔ IsLUB s a

theorem countableInfClosure_prod E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] (s : Set α) (t : Set β),
  countableInfClosure (s ×ˢ t) = countableInfClosure s ×ˢ countableInfClosure t

theorem countableSupClosure_prod E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] (s : Set α) (t : Set β),
  countableSupClosure (s ×ˢ t) = countableSupClosure s ×ˢ countableSupClosure t

theorem mem_countableInfClosure_iff_iInf E0 #

∀ {α : Type u_2} {s : Set α} {a : α} [inst : CompleteLattice α],
  a ∈ countableInfClosure s ↔ ∃ t, (∀ (n : ℕ), t n ∈ s) ∧ ⨅ n, t n = a

theorem mem_countableSupClosure_iff_iSup E0 #

∀ {α : Type u_2} {s : Set α} {a : α} [inst : CompleteLattice α],
  a ∈ countableSupClosure s ↔ ∃ t, (∀ (n : ℕ), t n ∈ s) ∧ ⨆ n, t n = a

theorem infClosed_countableInfClosure E0 #

∀ {α : Type u_2} {s : Set α} [inst : SemilatticeInf α], InfClosed (countableInfClosure s)

theorem supClosed_countableSupClosure E0 #

∀ {α : Type u_2} {s : Set α} [inst : SemilatticeSup α], SupClosed (countableSupClosure s)

theorem countableInfClosure_singleton E0 #

∀ {α : Type u_2} [inst : PartialOrder α] {x : α}, countableInfClosure {x} = {x}

theorem countableSupClosure_singleton E0 #

∀ {α : Type u_2} [inst : PartialOrder α] {x : α}, countableSupClosure {x} = {x}

theorem inf_mem_countableInfClosure E1 #

∀ {α : Type u_2} {s : Set α} {a b : α} [inst : SemilatticeInf α], a ∈ s → b ∈ s → a ⊓ b ∈ countableInfClosure s

theorem sup_mem_countableSupClosure E1 #

∀ {α : Type u_2} {s : Set α} {a b : α} [inst : SemilatticeSup α], a ∈ s → b ∈ s → a ⊔ b ∈ countableSupClosure s

theorem infClosure_subset_countableInfClosure E1 #

∀ {α : Type u_2} {s : Set α} [inst : SemilatticeInf α], infClosure s ⊆ countableInfClosure s

theorem supClosure_subset_countableSupClosure E1 #

∀ {α : Type u_2} {s : Set α} [inst : SemilatticeSup α], supClosure s ⊆ countableSupClosure s

theorem iSup_mem_countableSupClosure E1 #

∀ {ι : Sort u_1} {α : Type u_2} {s : Set α} [inst : CompleteLattice α] [Countable ι] [Nonempty ι] {A : ι → α},
  (∀ (n : ι), A n ∈ s) → ⨆ n, A n ∈ countableSupClosure s

theorem iInf_mem_countableInfClosure E1 #

∀ {ι : Sort u_1} {α : Type u_2} {s : Set α} [inst : CompleteLattice α] [Countable ι] [Nonempty ι] {A : ι → α},
  (∀ (n : ι), A n ∈ s) → ⨅ n, A n ∈ countableInfClosure s

theorem finsetSup'_mem_countableSupClosure E1 #

∀ {α : Type u_2} {s : Set α} {ι : Type u_4} [inst : SemilatticeSup α] {t : Finset ι} (ht : t.Nonempty) {f : ι → α},
  (∀ i ∈ t, f i ∈ s) → t.sup' ht f ∈ countableSupClosure s

theorem finsetInf'_mem_countableInfClosure E1 #

∀ {α : Type u_2} {s : Set α} {ι : Type u_4} [inst : SemilatticeInf α] {t : Finset ι} (ht : t.Nonempty) {f : ι → α},
  (∀ i ∈ t, f i ∈ s) → t.inf' ht f ∈ countableInfClosure s

theorem SupClosed.countableInfClosure E3 #

∀ {α : Type u_2} {s : Set α} [inst : Order.Coframe α], SupClosed s → SupClosed (countableInfClosure s)

If a set is closed under binary suprema, then its countable infimum closure is also closed under binary suprema.

theorem InfClosed.countableSupClosure E3 #

∀ {α : Type u_2} {s : Set α} [inst : Order.Frame α], InfClosed s → InfClosed (countableSupClosure s)

If a set is closed under binary infima, then its countable supremum closure is also closed under binary infima.