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

143 declarations. Mathlib docs · Source

Sets closed under join/meet

This file defines predicates for sets closed under ⊔ and shows that each set in a join-semilattice generates a join-closed set and that a semilattice where every directed set has a least upper bound is automatically complete. All dually for ⊓.

Main declarations

  • SupClosed: Predicate for a set to be closed under join (a ∈ s and b ∈ s imply a ⊔ b ∈ s).
  • InfClosed: Predicate for a set to be closed under meet (a ∈ s and b ∈ s imply a ⊓ b ∈ s).
  • IsSublattice: Predicate for a set to be closed under meet and join.
  • supClosure: Sup-closure. Smallest sup-closed set containing a given set.
  • infClosure: Inf-closure. Smallest inf-closed set containing a given set.
  • latticeClosure: Smallest sublattice containing a given set.
  • SemilatticeSup.toCompleteSemilatticeSup: A join-semilattice where every sup-closed set has a least upper bound is automatically complete.
  • SemilatticeInf.toCompleteSemilatticeInf: A meet-semilattice where every inf-closed set has a greatest lower bound is automatically complete.

Closure

theorem ClosureOperator.ofCompletePred.congr_simp E1 #

∀ {α : Type u_1} [inst : CompleteLattice α] (p p_1 : α → Prop) (e_p : p = p_1)
  (hsinf : ∀ (s : Set α), (∀ a ∈ s, p a) → p (sInf s)),
  ClosureOperator.ofCompletePred p hsinf = ClosureOperator.ofCompletePred p_1 ⋯

def SupClosed E3 #

{α : Type u_3} → [SemilatticeSup α] → Set α → Prop

A set s is sup-closed if a ⊔ b ∈ s for all a ∈ s, b ∈ s.

def InfClosed E3 #

{α : Type u_3} → [SemilatticeInf α] → Set α → Prop

A set s is inf-closed if a ⊓ b ∈ s for all a ∈ s, b ∈ s.

theorem supClosed_empty E0 #

∀ {α : Type u_3} [inst : SemilatticeSup α], SupClosed ∅

theorem infClosed_empty E0 #

∀ {α : Type u_3} [inst : SemilatticeInf α], InfClosed ∅

theorem supClosed_singleton E0 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {a : α}, SupClosed {a}

theorem infClosed_singleton E0 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {a : α}, InfClosed {a}

theorem infClosed_univ E0 #

∀ {α : Type u_3} [inst : SemilatticeInf α], InfClosed Set.univ

theorem supClosed_univ E0 #

∀ {α : Type u_3} [inst : SemilatticeSup α], SupClosed Set.univ

theorem SupClosed.inter E1 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {s t : Set α}, SupClosed s → SupClosed t → SupClosed (s ∩ t)

theorem InfClosed.inter E1 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {s t : Set α}, InfClosed s → InfClosed t → InfClosed (s ∩ t)

theorem supClosed_sInter E1 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {S : Set (Set α)}, (∀ s ∈ S, SupClosed s) → SupClosed (⋂₀ S)

theorem infClosed_sInter E1 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {S : Set (Set α)}, (∀ s ∈ S, InfClosed s) → InfClosed (⋂₀ S)

theorem infClosed_iInter E1 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {ι : Sort u_5} {f : ι → Set α},
  (∀ (i : ι), InfClosed (f i)) → InfClosed (⋂ i, f i)

theorem supClosed_iInter E1 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {ι : Sort u_5} {f : ι → Set α},
  (∀ (i : ι), SupClosed (f i)) → SupClosed (⋂ i, f i)

theorem SupClosed.directedOn E1 #

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

theorem InfClosed.codirectedOn E1 #

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

theorem IsUpperSet.infClosed_iff_directedOn E1 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {s : Set α},
  IsUpperSet s → (InfClosed s ↔ DirectedOn (fun x1 x2 ↦ x2 ≤ x1) s)

theorem IsLowerSet.supClosed_iff_directedOn E1 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {s : Set α},
  IsLowerSet s → (SupClosed s ↔ DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s)

theorem DirectedOn.supClosed_of_isLowerSet E1 #

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

Alias of the reverse direction of IsLowerSet.supClosed_iff_directedOn.

theorem DirectedOn.infClosed_of_isUpperSet E1 #

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

Alias of the reverse direction of IsUpperSet.infClosed_iff_directedOn.

theorem IsUpperSet.supClosed E1 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {s : Set α}, IsUpperSet s → SupClosed s

theorem IsLowerSet.infClosed E1 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {s : Set α}, IsLowerSet s → InfClosed s

theorem InfClosed.preimage E1 #

∀ {F : Type u_2} {α : Type u_3} {β : Type u_4} [inst : SemilatticeInf α] [inst_1 : SemilatticeInf β] {s : Set α}
  [inst_2 : FunLike F β α] [InfHomClass F β α], InfClosed s → ∀ (f : F), InfClosed (⇑f ⁻¹' s)

theorem SupClosed.preimage E1 #

∀ {F : Type u_2} {α : Type u_3} {β : Type u_4} [inst : SemilatticeSup α] [inst_1 : SemilatticeSup β] {s : Set α}
  [inst_2 : FunLike F β α] [SupHomClass F β α], SupClosed s → ∀ (f : F), SupClosed (⇑f ⁻¹' s)

theorem SupClosed.image E1 #

∀ {F : Type u_2} {α : Type u_3} {β : Type u_4} [inst : SemilatticeSup α] [inst_1 : SemilatticeSup β] {s : Set α}
  [inst_2 : FunLike F α β] [SupHomClass F α β], SupClosed s → ∀ (f : F), SupClosed (⇑f '' s)

theorem InfClosed.image E1 #

∀ {F : Type u_2} {α : Type u_3} {β : Type u_4} [inst : SemilatticeInf α] [inst_1 : SemilatticeInf β] {s : Set α}
  [inst_2 : FunLike F α β] [InfHomClass F α β], InfClosed s → ∀ (f : F), InfClosed (⇑f '' s)

theorem infClosed_range E1 #

∀ {F : Type u_2} {α : Type u_3} {β : Type u_4} [inst : SemilatticeInf α] [inst_1 : SemilatticeInf β]
  [inst_2 : FunLike F α β] [InfHomClass F α β] (f : F), InfClosed (Set.range ⇑f)

theorem supClosed_range E1 #

∀ {F : Type u_2} {α : Type u_3} {β : Type u_4} [inst : SemilatticeSup α] [inst_1 : SemilatticeSup β]
  [inst_2 : FunLike F α β] [SupHomClass F α β] (f : F), SupClosed (Set.range ⇑f)

theorem InfClosed.prod E1 #

∀ {α : Type u_3} {β : Type u_4} [inst : SemilatticeInf α] [inst_1 : SemilatticeInf β] {s : Set α} {t : Set β},
  InfClosed s → InfClosed t → InfClosed (s ×ˢ t)

theorem SupClosed.prod E1 #

∀ {α : Type u_3} {β : Type u_4} [inst : SemilatticeSup α] [inst_1 : SemilatticeSup β] {s : Set α} {t : Set β},
  SupClosed s → SupClosed t → SupClosed (s ×ˢ t)

theorem supClosed_pi E1 #

∀ {ι : Type u_6} {α : ι → Type u_7} [inst : (i : ι) → SemilatticeSup (α i)] {s : Set ι} {t : (i : ι) → Set (α i)},
  (∀ i ∈ s, SupClosed (t i)) → SupClosed (s.pi t)

theorem infClosed_pi E1 #

∀ {ι : Type u_6} {α : ι → Type u_7} [inst : (i : ι) → SemilatticeInf (α i)] {s : Set ι} {t : (i : ι) → Set (α i)},
  (∀ i ∈ s, InfClosed (t i)) → InfClosed (s.pi t)

theorem InfClosed.insert_lowerBounds E1 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {s : Set α} {a : α}, InfClosed s → a ∈ lowerBounds s → InfClosed (insert a s)

theorem SupClosed.insert_upperBounds E1 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {s : Set α} {a : α}, SupClosed s → a ∈ upperBounds s → SupClosed (insert a s)

theorem SupClosed.insert_lowerBounds E1 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {s : Set α} {a : α}, SupClosed s → a ∈ lowerBounds s → SupClosed (insert a s)

theorem InfClosed.insert_upperBounds E1 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {s : Set α} {a : α}, InfClosed s → a ∈ upperBounds s → InfClosed (insert a s)

theorem SupClosed.finsetSup'_mem E1 #

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

theorem InfClosed.finsetInf'_mem E1 #

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

theorem InfClosed.finsetInf_mem E1 #

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

theorem SupClosed.finsetSup_mem E1 #

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

structure IsSublattice E3 #

{α : Type u_3} → [Lattice α] → Set α → Prop

A set s is a sublattice if a ⊔ b ∈ s and a ⊓ b ∈ s for all a ∈ s, b ∈ s. Note: This is not the preferred way to declare a sublattice. One should instead use Sublattice. TODO: Define Sublattice.

ctor IsSublattice.mk E0 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α}, SupClosed s → InfClosed s → IsSublattice s

theorem IsSublattice.supClosed E1 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α}, IsSublattice s → SupClosed s

theorem IsSublattice.infClosed E1 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α}, IsSublattice s → InfClosed s

theorem isSublattice_empty E0 #

∀ {α : Type u_3} [inst : Lattice α], IsSublattice ∅

theorem isSublattice_singleton E0 #

∀ {α : Type u_3} [inst : Lattice α] {a : α}, IsSublattice {a}

theorem isSublattice_univ E0 #

∀ {α : Type u_3} [inst : Lattice α], IsSublattice Set.univ

theorem IsSublattice.inter E1 #

∀ {α : Type u_3} [inst : Lattice α] {s t : Set α}, IsSublattice s → IsSublattice t → IsSublattice (s ∩ t)

theorem isSublattice_sInter E1 #

∀ {α : Type u_3} [inst : Lattice α] {S : Set (Set α)}, (∀ s ∈ S, IsSublattice s) → IsSublattice (⋂₀ S)

theorem isSublattice_iInter E1 #

∀ {α : Type u_3} {ι : Sort u_5} [inst : Lattice α] {f : ι → Set α},
  (∀ (i : ι), IsSublattice (f i)) → IsSublattice (⋂ i, f i)

theorem IsSublattice.preimage E1 #

∀ {F : Type u_2} {α : Type u_3} {β : Type u_4} [inst : Lattice α] [inst_1 : Lattice β] {s : Set α}
  [inst_2 : FunLike F β α] [LatticeHomClass F β α], IsSublattice s → ∀ (f : F), IsSublattice (⇑f ⁻¹' s)

theorem IsSublattice.image E1 #

∀ {F : Type u_2} {α : Type u_3} {β : Type u_4} [inst : Lattice α] [inst_1 : Lattice β] {s : Set α}
  [inst_2 : FunLike F α β] [LatticeHomClass F α β], IsSublattice s → ∀ (f : F), IsSublattice (⇑f '' s)

theorem IsSublattice_range E1 #

∀ {F : Type u_2} {α : Type u_3} {β : Type u_4} [inst : Lattice α] [inst_1 : Lattice β] [inst_2 : FunLike F α β]
  [LatticeHomClass F α β] (f : F), IsSublattice (Set.range ⇑f)

theorem IsSublattice.prod E1 #

∀ {α : Type u_3} {β : Type u_4} [inst : Lattice α] [inst_1 : Lattice β] {s : Set α} {t : Set β},
  IsSublattice s → IsSublattice t → IsSublattice (s ×ˢ t)

theorem isSublattice_pi E1 #

∀ {ι : Type u_6} {α : ι → Type u_7} [inst : (i : ι) → Lattice (α i)] {s : Set ι} {t : (i : ι) → Set (α i)},
  (∀ i ∈ s, IsSublattice (t i)) → IsSublattice (s.pi t)

theorem infClosed_preimage_toDual E0 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set αᵒᵈ}, InfClosed (⇑OrderDual.toDual ⁻¹' s) ↔ SupClosed s

theorem supClosed_preimage_toDual E0 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set αᵒᵈ}, SupClosed (⇑OrderDual.toDual ⁻¹' s) ↔ InfClosed s

theorem supClosed_preimage_ofDual E0 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α}, SupClosed (⇑OrderDual.ofDual ⁻¹' s) ↔ InfClosed s

theorem infClosed_preimage_ofDual E0 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α}, InfClosed (⇑OrderDual.ofDual ⁻¹' s) ↔ SupClosed s

theorem isSublattice_preimage_toDual E0 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set αᵒᵈ}, IsSublattice (⇑OrderDual.toDual ⁻¹' s) ↔ IsSublattice s

theorem isSublattice_preimage_ofDual E0 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α}, IsSublattice (⇑OrderDual.ofDual ⁻¹' s) ↔ IsSublattice s

theorem SupClosed.dual E1 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α}, SupClosed s → InfClosed (⇑OrderDual.ofDual ⁻¹' s)

Alias of the reverse direction of infClosed_preimage_ofDual.

theorem InfClosed.dual E1 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α}, InfClosed s → SupClosed (⇑OrderDual.ofDual ⁻¹' s)

Alias of the reverse direction of supClosed_preimage_ofDual.

theorem IsSublattice.dual E1 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α}, IsSublattice s → IsSublattice (⇑OrderDual.ofDual ⁻¹' s)

Alias of the reverse direction of isSublattice_preimage_ofDual.

theorem IsSublattice.of_dual E1 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set αᵒᵈ}, IsSublattice s → IsSublattice (⇑OrderDual.toDual ⁻¹' s)

Alias of the reverse direction of isSublattice_preimage_toDual.

theorem LinearOrder.infClosed E0 #

∀ {α : Type u_3} [inst : LinearOrder α] (s : Set α), InfClosed s

theorem LinearOrder.supClosed E0 #

∀ {α : Type u_3} [inst : LinearOrder α] (s : Set α), SupClosed s

theorem LinearOrder.isSublattice E0 #

∀ {α : Type u_3} [inst : LinearOrder α] (s : Set α), IsSublattice s

def supClosure E3 #

{α : Type u_3} → [SemilatticeSup α] → ClosureOperator (Set α)

Every set in a join-semilattice generates a set closed under join.

def infClosure E3 #

{α : Type u_3} → [SemilatticeInf α] → ClosureOperator (Set α)

Every set in a meet-semilattice generates a set closed under meet.

theorem supClosure_isClosed E0 #

∀ {α : Type u_3} [inst : SemilatticeSup α] (s : Set α), supClosure.IsClosed s = SupClosed s

theorem infClosure_isClosed E0 #

∀ {α : Type u_3} [inst : SemilatticeInf α] (s : Set α), infClosure.IsClosed s = InfClosed s

theorem subset_infClosure E0 #

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

theorem subset_supClosure E0 #

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

theorem infClosed_infClosure E0 #

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

theorem supClosed_supClosure E0 #

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

theorem supClosure_mono E1 #

∀ {α : Type u_3} [inst : SemilatticeSup α], Monotone ⇑supClosure

theorem infClosure_mono E1 #

∀ {α : Type u_3} [inst : SemilatticeInf α], Monotone ⇑infClosure

theorem supClosure_eq_self E0 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {s : Set α}, supClosure s = s ↔ SupClosed s

theorem infClosure_eq_self E0 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {s : Set α}, infClosure s = s ↔ InfClosed s

theorem InfClosed.infClosure_eq E0 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {s : Set α}, InfClosed s → infClosure s = s

Alias of the reverse direction of infClosure_eq_self.

theorem SupClosed.supClosure_eq E0 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {s : Set α}, SupClosed s → supClosure s = s

Alias of the reverse direction of supClosure_eq_self.

theorem supClosure_idem E1 #

∀ {α : Type u_3} [inst : SemilatticeSup α] (s : Set α), supClosure (supClosure s) = supClosure s

theorem infClosure_idem E1 #

∀ {α : Type u_3} [inst : SemilatticeInf α] (s : Set α), infClosure (infClosure s) = infClosure s

theorem supClosure_empty E0 #

∀ {α : Type u_3} [inst : SemilatticeSup α], supClosure ∅ = ∅

theorem infClosure_empty E0 #

∀ {α : Type u_3} [inst : SemilatticeInf α], infClosure ∅ = ∅

theorem infClosure_singleton E0 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {a : α}, infClosure {a} = {a}

theorem supClosure_singleton E0 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {a : α}, supClosure {a} = {a}

theorem infClosure_univ E0 #

∀ {α : Type u_3} [inst : SemilatticeInf α], infClosure Set.univ = Set.univ

theorem supClosure_univ E0 #

∀ {α : Type u_3} [inst : SemilatticeSup α], supClosure Set.univ = Set.univ

theorem upperBounds_supClosure E0 #

∀ {α : Type u_3} [inst : SemilatticeSup α] (s : Set α), upperBounds (supClosure s) = upperBounds s

theorem lowerBounds_infClosure E0 #

∀ {α : Type u_3} [inst : SemilatticeInf α] (s : Set α), lowerBounds (infClosure s) = lowerBounds s

theorem isGLB_infClosure E0 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {s : Set α} {a : α}, IsGLB (infClosure s) a ↔ IsGLB s a

theorem isLUB_supClosure E0 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {s : Set α} {a : α}, IsLUB (supClosure s) a ↔ IsLUB s a

theorem inf_mem_infClosure E1 #

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

theorem sup_mem_supClosure E1 #

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

theorem finsetInf'_mem_infClosure E1 #

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

theorem finsetSup'_mem_supClosure E1 #

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

theorem infClosure_min E1 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {s t : Set α}, s ⊆ t → InfClosed t → infClosure s ⊆ t

theorem supClosure_min E1 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {s t : Set α}, s ⊆ t → SupClosed t → supClosure s ⊆ t

theorem Set.Finite.supClosure E3 #

∀ {α : Type u_3} [inst : SemilatticeSup α] {s : Set α}, s.Finite → (supClosure s).Finite

The semilattice generated by a finite set is finite.

theorem Set.Finite.infClosure E3 #

∀ {α : Type u_3} [inst : SemilatticeInf α] {s : Set α}, s.Finite → (infClosure s).Finite

The semilattice generated by a finite set is finite.

theorem infClosure_prod E0 #

∀ {α : Type u_3} {β : Type u_4} [inst : SemilatticeInf α] [inst_1 : SemilatticeInf β] (s : Set α) (t : Set β),
  infClosure (s ×ˢ t) = infClosure s ×ˢ infClosure t

theorem supClosure_prod E0 #

∀ {α : Type u_3} {β : Type u_4} [inst : SemilatticeSup α] [inst_1 : SemilatticeSup β] (s : Set α) (t : Set β),
  supClosure (s ×ˢ t) = supClosure s ×ˢ supClosure t

def latticeClosure E3 #

{α : Type u_3} → [Lattice α] → ClosureOperator (Set α)

Every set in a join-semilattice generates a set closed under join.

theorem latticeClosure_isClosed E0 #

∀ {α : Type u_3} [inst : Lattice α] (s : Set α), latticeClosure.IsClosed s = IsSublattice s

theorem subset_latticeClosure E0 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α}, s ⊆ latticeClosure s

theorem isSublattice_latticeClosure E0 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α}, IsSublattice (latticeClosure s)

theorem latticeClosure_min E1 #

∀ {α : Type u_3} [inst : Lattice α] {s t : Set α}, s ⊆ t → IsSublattice t → latticeClosure s ⊆ t

theorem latticeClosure_sup_inf_induction E1 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α} (p : (a : α) → a ∈ latticeClosure s → Prop),
  (∀ (a : α) (has : a ∈ s), p a ⋯) →
    (∀ (a : α) (has : a ∈ latticeClosure s) (b : α) (hbs : b ∈ latticeClosure s), p a has → p b hbs → p (a ⊔ b) ⋯) →
      (∀ (a : α) (has : a ∈ latticeClosure s) (b : α) (hbs : b ∈ latticeClosure s), p a has → p b hbs → p (a ⊓ b) ⋯) →
        ∀ {a : α} (has : a ∈ latticeClosure s), p a has

theorem latticeClosure_mono E1 #

∀ {α : Type u_3} [inst : Lattice α], Monotone ⇑latticeClosure

theorem latticeClosure_eq_self E0 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α}, latticeClosure s = s ↔ IsSublattice s

theorem IsSublattice.latticeClosure_eq E0 #

∀ {α : Type u_3} [inst : Lattice α] {s : Set α}, IsSublattice s → latticeClosure s = s

Alias of the reverse direction of latticeClosure_eq_self.

theorem latticeClosure_idem E1 #

∀ {α : Type u_3} [inst : Lattice α] (s : Set α), latticeClosure (latticeClosure s) = latticeClosure s

theorem latticeClosure_empty E0 #

∀ {α : Type u_3} [inst : Lattice α], latticeClosure ∅ = ∅

theorem latticeClosure_singleton E0 #

∀ {α : Type u_3} [inst : Lattice α] (a : α), latticeClosure {a} = {a}

theorem latticeClosure_univ E0 #

∀ {α : Type u_3} [inst : Lattice α], latticeClosure Set.univ = Set.univ

theorem image_latticeClosure E1 #

∀ {α : Type u_3} {β : Type u_4} [inst : Lattice α] [inst_1 : Lattice β] (s : Set α) (f : α → β),
  (∀ (a b : α), f (a ⊔ b) = f a ⊔ f b) →
    (∀ (a b : α), f (a ⊓ b) = f a ⊓ f b) → f '' latticeClosure s = latticeClosure (f '' s)

theorem ofDual_preimage_latticeClosure E1 #

∀ {α : Type u_3} [inst : Lattice α] (s : Set α),
  ⇑OrderDual.ofDual ⁻¹' latticeClosure s = latticeClosure (⇑OrderDual.ofDual ⁻¹' s)

theorem image_latticeClosure' E1 #

∀ {α : Type u_3} {β : Type u_4} [inst : Lattice α] [inst_1 : Lattice β] (s : Set α) (f : α → β),
  (∀ (a b : α), f (a ⊔ b) = f a ⊓ f b) →
    (∀ (a b : α), f (a ⊓ b) = f a ⊔ f b) → f '' latticeClosure s = latticeClosure (f '' s)

theorem SupClosed.infClosure E3 #

∀ {α : Type u_3} [inst : DistribLattice α] {s : Set α}, SupClosed s → SupClosed (infClosure s)

theorem InfClosed.supClosure E3 #

∀ {α : Type u_3} [inst : DistribLattice α] {s : Set α}, InfClosed s → InfClosed (supClosure s)

theorem supClosure_infClosure E0 #

∀ {α : Type u_3} [inst : DistribLattice α] (s : Set α), supClosure (infClosure s) = latticeClosure s

theorem infClosure_supClosure E0 #

∀ {α : Type u_3} [inst : DistribLattice α] (s : Set α), infClosure (supClosure s) = latticeClosure s

theorem Set.Finite.latticeClosure E3 #

∀ {α : Type u_3} [inst : DistribLattice α] {s : Set α}, s.Finite → (latticeClosure s).Finite

theorem latticeClosure_prod E0 #

∀ {α : Type u_3} {β : Type u_4} [inst : DistribLattice α] [inst_1 : DistribLattice β] (s : Set α) (t : Set β),
  latticeClosure (s ×ˢ t) = latticeClosure s ×ˢ latticeClosure t

def SemilatticeSup.toCompleteSemilatticeSup E3 #

{α : Type u_3} →
  [inst : SemilatticeSup α] →
    (sSup : Set α → α) → (∀ (s : Set α), SupClosed s → IsLUB s (sSup s)) → CompleteSemilatticeSup α

A join-semilattice where every sup-closed set has a least upper bound is automatically complete.

def SemilatticeInf.toCompleteSemilatticeInf E3 #

{α : Type u_3} →
  [inst : SemilatticeInf α] →
    (sInf : Set α → α) → (∀ (s : Set α), InfClosed s → IsGLB s (sInf s)) → CompleteSemilatticeInf α

A meet-semilattice where every inf-closed set has a greatest lower bound is automatically complete.

theorem SupClosed.iSup_mem_of_nonempty E1 #

∀ {ι : Sort u_1} {α : Type u_3} [inst : ConditionallyCompleteLattice α] {f : ι → α} {s : Set α} [Finite ι] [Nonempty ι],
  SupClosed s → (∀ (i : ι), f i ∈ s) → ⨆ i, f i ∈ s

theorem InfClosed.iInf_mem_of_nonempty E1 #

∀ {ι : Sort u_1} {α : Type u_3} [inst : ConditionallyCompleteLattice α] {f : ι → α} {s : Set α} [Finite ι] [Nonempty ι],
  InfClosed s → (∀ (i : ι), f i ∈ s) → ⨅ i, f i ∈ s

theorem SupClosed.sSup_mem_of_nonempty E1 #

∀ {α : Type u_3} [inst : ConditionallyCompleteLattice α] {s t : Set α},
  SupClosed s → t.Finite → t.Nonempty → t ⊆ s → sSup t ∈ s

theorem InfClosed.sInf_mem_of_nonempty E1 #

∀ {α : Type u_3} [inst : ConditionallyCompleteLattice α] {s t : Set α},
  InfClosed s → t.Finite → t.Nonempty → t ⊆ s → sInf t ∈ s

theorem compl_image_latticeClosure E1 #

∀ {α : Type u_3} [inst : BooleanAlgebra α] (s : Set α), compl '' latticeClosure s = latticeClosure (compl '' s)

theorem compl_image_latticeClosure_eq_of_compl_image_eq_self E1 #

∀ {α : Type u_3} [inst : BooleanAlgebra α] {s : Set α}, compl '' s = s → compl '' latticeClosure s = latticeClosure s

theorem SupClosed.biSup_mem_of_nonempty E1 #

∀ {α : Type u_3} [inst : CompleteLattice α] {s : Set α} {ι : Type u_5} {t : Set ι} {f : ι → α},
  SupClosed s → t.Finite → t.Nonempty → (∀ i ∈ t, f i ∈ s) → ⨆ i ∈ t, f i ∈ s

theorem InfClosed.biInf_mem_of_nonempty E1 #

∀ {α : Type u_3} [inst : CompleteLattice α] {s : Set α} {ι : Type u_5} {t : Set ι} {f : ι → α},
  InfClosed s → t.Finite → t.Nonempty → (∀ i ∈ t, f i ∈ s) → ⨅ i ∈ t, f i ∈ s

theorem SupClosed.iSup_mem E1 #

∀ {ι : Sort u_1} {α : Type u_3} [inst : CompleteLattice α] {f : ι → α} {s : Set α} [Finite ι],
  SupClosed s → ⊥ ∈ s → (∀ (i : ι), f i ∈ s) → ⨆ i, f i ∈ s

theorem InfClosed.iInf_mem E1 #

∀ {ι : Sort u_1} {α : Type u_3} [inst : CompleteLattice α] {f : ι → α} {s : Set α} [Finite ι],
  InfClosed s → ⊤ ∈ s → (∀ (i : ι), f i ∈ s) → ⨅ i, f i ∈ s

theorem SupClosed.sSup_mem E1 #

∀ {α : Type u_3} [inst : CompleteLattice α] {s t : Set α}, SupClosed s → t.Finite → ⊥ ∈ s → t ⊆ s → sSup t ∈ s

theorem InfClosed.sInf_mem E1 #

∀ {α : Type u_3} [inst : CompleteLattice α] {s t : Set α}, InfClosed s → t.Finite → ⊤ ∈ s → t ⊆ s → sInf t ∈ s

theorem SupClosed.biSup_mem E1 #

∀ {α : Type u_3} [inst : CompleteLattice α] {s : Set α} {ι : Type u_5} {t : Set ι} {f : ι → α},
  SupClosed s → t.Finite → ⊥ ∈ s → (∀ i ∈ t, f i ∈ s) → ⨆ i ∈ t, f i ∈ s

theorem InfClosed.biInf_mem E1 #

∀ {α : Type u_3} [inst : CompleteLattice α] {s : Set α} {ι : Type u_5} {t : Set ι} {f : ι → α},
  InfClosed s → t.Finite → ⊤ ∈ s → (∀ i ∈ t, f i ∈ s) → ⨅ i ∈ t, f i ∈ s