The areas / V03. Sets, finite structures and big operators
Mathlib.Data.Set.Sups
92 declarations. Mathlib docs · Source
Set family operations
This file defines a few binary operations on Set α for use in set family combinatorics.
Main declarations
s ⊻ t: Set of elements of the forma ⊔ bwherea ∈ s,b ∈ t.s ⊼ t: Set of elements of the forma ⊓ bwherea ∈ s,b ∈ t.
Notation
We define the following notation in scope SetFamily:
s ⊻ ts ⊼ t
References
[B. Bollobás, Combinatorics][bollobas1986]
def HasSups.ctorIdx E1 #
{α : Type u_4} → HasSups α → ℕ
def HasInfs.ctorIdx E1 #
{α : Type u_4} → HasInfs α → ℕ
class HasSups E1 #
Type u_4 → Type u_4
Notation typeclass for pointwise supremum ⊻.
ctor HasSups.mk E0 #
{α : Type u_4} → (α → α → α) → HasSups α
abbrev HasSups.sups E1 #
{α : Type u_4} → [self : HasSups α] → α → α → α
The point-wise supremum a ⊔ b of a, b : α.
class HasInfs E1 #
Type u_4 → Type u_4
Notation typeclass for pointwise infimum ⊼.
ctor HasInfs.mk E0 #
{α : Type u_4} → (α → α → α) → HasInfs α
abbrev HasInfs.infs E1 #
{α : Type u_4} → [self : HasInfs α] → α → α → α
The point-wise infimum a ⊓ b of a, b : α.
def «term_⊻_» E1 #
Lean.TrailingParserDescr
The point-wise supremum a ⊔ b of a, b : α.
def «term_⊼_» E1 #
Lean.TrailingParserDescr
The point-wise infimum a ⊓ b of a, b : α.
def Set.hasSups E1 #
{α : Type u_2} → [SemilatticeSup α] → HasSups (Set α)
s ⊻ t is the set of elements of the form a ⊔ b where a ∈ s, b ∈ t.
theorem Set.mem_sups E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t : Set α} {c : α}, c ∈ s ⊻ t ↔ ∃ a ∈ s, ∃ b ∈ t, a ⊔ b = c
theorem Set.sup_mem_sups E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t : Set α} {a b : α}, a ∈ s → b ∈ t → a ⊔ b ∈ s ⊻ t
theorem Set.sups_subset E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s₁ s₂ t₁ t₂ : Set α}, s₁ ⊆ s₂ → t₁ ⊆ t₂ → s₁ ⊻ t₁ ⊆ s₂ ⊻ t₂
theorem Set.sups_subset_left E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t₁ t₂ : Set α}, t₁ ⊆ t₂ → s ⊻ t₁ ⊆ s ⊻ t₂
theorem Set.sups_subset_right E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s₁ s₂ t : Set α}, s₁ ⊆ s₂ → s₁ ⊻ t ⊆ s₂ ⊻ t
theorem Set.image_subset_sups_left E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t : Set α} {b : α}, b ∈ t → (fun a ↦ a ⊔ b) '' s ⊆ s ⊻ t
theorem Set.image_subset_sups_right E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t : Set α} {a : α}, a ∈ s → (fun x1 x2 ↦ x1 ⊔ x2) a '' t ⊆ s ⊻ t
theorem Set.forall_sups_iff E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t : Set α} {p : α → Prop},
(∀ c ∈ s ⊻ t, p c) ↔ ∀ a ∈ s, ∀ b ∈ t, p (a ⊔ b)
theorem Set.sups_subset_iff E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t u : Set α}, s ⊻ t ⊆ u ↔ ∀ a ∈ s, ∀ b ∈ t, a ⊔ b ∈ u
theorem Set.sups_nonempty E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t : Set α}, (s ⊻ t).Nonempty ↔ s.Nonempty ∧ t.Nonempty
theorem Set.Nonempty.sups E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t : Set α}, s.Nonempty → t.Nonempty → (s ⊻ t).Nonempty
theorem Set.Nonempty.of_sups_left E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t : Set α}, (s ⊻ t).Nonempty → s.Nonempty
theorem Set.Nonempty.of_sups_right E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t : Set α}, (s ⊻ t).Nonempty → t.Nonempty
theorem Set.empty_sups E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {t : Set α}, ∅ ⊻ t = ∅
theorem Set.sups_empty E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s : Set α}, s ⊻ ∅ = ∅
theorem Set.sups_eq_empty E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t : Set α}, s ⊻ t = ∅ ↔ s = ∅ ∨ t = ∅
theorem Set.singleton_sups E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {t : Set α} {a : α}, {a} ⊻ t = (fun b ↦ a ⊔ b) '' t
theorem Set.sups_singleton E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s : Set α} {b : α}, s ⊻ {b} = (fun a ↦ a ⊔ b) '' s
theorem Set.singleton_sups_singleton E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a b : α}, {a} ⊻ {b} = {a ⊔ b}
theorem Set.sups_union_left E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s₁ s₂ t : Set α}, (s₁ ∪ s₂) ⊻ t = s₁ ⊻ t ∪ s₂ ⊻ t
theorem Set.sups_union_right E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t₁ t₂ : Set α}, s ⊻ (t₁ ∪ t₂) = s ⊻ t₁ ∪ s ⊻ t₂
theorem Set.sups_inter_subset_left E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s₁ s₂ t : Set α}, (s₁ ∩ s₂) ⊻ t ⊆ s₁ ⊻ t ∩ s₂ ⊻ t
theorem Set.sups_inter_subset_right E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s t₁ t₂ : Set α}, s ⊻ (t₁ ∩ t₂) ⊆ s ⊻ t₁ ∩ s ⊻ t₂
theorem Set.image_sups E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : SemilatticeSup α] [inst_1 : SemilatticeSup β]
[inst_2 : FunLike F α β] [SupHomClass F α β] (f : F) (s t : Set α), ⇑f '' (s ⊻ t) = ⇑f '' s ⊻ ⇑f '' t
theorem Set.subset_sups_self E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s : Set α}, s ⊆ s ⊻ s
theorem Set.sups_subset_self E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s : Set α}, s ⊻ s ⊆ s ↔ SupClosed s
theorem Set.sups_eq_self E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {s : Set α}, s ⊻ s = s ↔ SupClosed s
theorem Set.sep_sups_le E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] (s t : Set α) (a : α),
{b | b ∈ s ⊻ t ∧ b ≤ a} = {b | b ∈ s ∧ b ≤ a} ⊻ {b | b ∈ t ∧ b ≤ a}
theorem Set.iUnion_image_sup_left E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] (s t : Set α), ⋃ a ∈ s, (fun x1 x2 ↦ x1 ⊔ x2) a '' t = s ⊻ t
theorem Set.iUnion_image_sup_right E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] (s t : Set α), ⋃ b ∈ t, (fun x ↦ x ⊔ b) '' s = s ⊻ t
theorem Set.image_sup_prod E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] (s t : Set α), Set.image2 (fun x1 x2 ↦ x1 ⊔ x2) s t = s ⊻ t
theorem Set.sups_assoc E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] (s t u : Set α), s ⊻ t ⊻ u = s ⊻ (t ⊻ u)
theorem Set.sups_comm E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] (s t : Set α), s ⊻ t = t ⊻ s
theorem Set.sups_left_comm E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] (s t u : Set α), s ⊻ (t ⊻ u) = t ⊻ (s ⊻ u)
theorem Set.sups_right_comm E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] (s t u : Set α), s ⊻ t ⊻ u = s ⊻ u ⊻ t
theorem Set.sups_sups_sups_comm E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] (s t u v : Set α), s ⊻ t ⊻ (u ⊻ v) = s ⊻ u ⊻ (t ⊻ v)
def Set.hasInfs E1 #
{α : Type u_2} → [SemilatticeInf α] → HasInfs (Set α)
s ⊼ t is the set of elements of the form a ⊓ b where a ∈ s, b ∈ t.
theorem Set.mem_infs E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t : Set α} {c : α}, c ∈ s ⊼ t ↔ ∃ a ∈ s, ∃ b ∈ t, a ⊓ b = c
theorem Set.inf_mem_infs E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t : Set α} {a b : α}, a ∈ s → b ∈ t → a ⊓ b ∈ s ⊼ t
theorem Set.infs_subset E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s₁ s₂ t₁ t₂ : Set α}, s₁ ⊆ s₂ → t₁ ⊆ t₂ → s₁ ⊼ t₁ ⊆ s₂ ⊼ t₂
theorem Set.infs_subset_left E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t₁ t₂ : Set α}, t₁ ⊆ t₂ → s ⊼ t₁ ⊆ s ⊼ t₂
theorem Set.infs_subset_right E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s₁ s₂ t : Set α}, s₁ ⊆ s₂ → s₁ ⊼ t ⊆ s₂ ⊼ t
theorem Set.image_subset_infs_left E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t : Set α} {b : α}, b ∈ t → (fun a ↦ a ⊓ b) '' s ⊆ s ⊼ t
theorem Set.image_subset_infs_right E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t : Set α} {a : α}, a ∈ s → (fun x ↦ a ⊓ x) '' t ⊆ s ⊼ t
theorem Set.forall_infs_iff E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t : Set α} {p : α → Prop},
(∀ c ∈ s ⊼ t, p c) ↔ ∀ a ∈ s, ∀ b ∈ t, p (a ⊓ b)
theorem Set.infs_subset_iff E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t u : Set α}, s ⊼ t ⊆ u ↔ ∀ a ∈ s, ∀ b ∈ t, a ⊓ b ∈ u
theorem Set.infs_nonempty E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t : Set α}, (s ⊼ t).Nonempty ↔ s.Nonempty ∧ t.Nonempty
theorem Set.Nonempty.infs E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t : Set α}, s.Nonempty → t.Nonempty → (s ⊼ t).Nonempty
theorem Set.Nonempty.of_infs_left E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t : Set α}, (s ⊼ t).Nonempty → s.Nonempty
theorem Set.Nonempty.of_infs_right E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t : Set α}, (s ⊼ t).Nonempty → t.Nonempty
theorem Set.empty_infs E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {t : Set α}, ∅ ⊼ t = ∅
theorem Set.infs_empty E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s : Set α}, s ⊼ ∅ = ∅
theorem Set.infs_eq_empty E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t : Set α}, s ⊼ t = ∅ ↔ s = ∅ ∨ t = ∅
theorem Set.singleton_infs E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {t : Set α} {a : α}, {a} ⊼ t = (fun b ↦ a ⊓ b) '' t
theorem Set.infs_singleton E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s : Set α} {b : α}, s ⊼ {b} = (fun a ↦ a ⊓ b) '' s
theorem Set.singleton_infs_singleton E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a b : α}, {a} ⊼ {b} = {a ⊓ b}
theorem Set.infs_union_left E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s₁ s₂ t : Set α}, (s₁ ∪ s₂) ⊼ t = s₁ ⊼ t ∪ s₂ ⊼ t
theorem Set.infs_union_right E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t₁ t₂ : Set α}, s ⊼ (t₁ ∪ t₂) = s ⊼ t₁ ∪ s ⊼ t₂
theorem Set.infs_inter_subset_left E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s₁ s₂ t : Set α}, (s₁ ∩ s₂) ⊼ t ⊆ s₁ ⊼ t ∩ s₂ ⊼ t
theorem Set.infs_inter_subset_right E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t₁ t₂ : Set α}, s ⊼ (t₁ ∩ t₂) ⊆ s ⊼ t₁ ∩ s ⊼ t₂
theorem Set.image_infs E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : SemilatticeInf α] [inst_1 : SemilatticeInf β]
[inst_2 : FunLike F α β] [InfHomClass F α β] (f : F) (s t : Set α), ⇑f '' (s ⊼ t) = ⇑f '' s ⊼ ⇑f '' t
theorem Set.subset_infs_self E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s : Set α}, s ⊆ s ⊼ s
theorem Set.infs_self_subset E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s : Set α}, s ⊼ s ⊆ s ↔ InfClosed s
theorem Set.infs_self E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s : Set α}, s ⊼ s = s ↔ InfClosed s
theorem Set.sep_infs_le E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] (s t : Set α) (a : α),
{b | b ∈ s ⊼ t ∧ a ≤ b} = {b | b ∈ s ∧ a ≤ b} ⊼ {b | b ∈ t ∧ a ≤ b}
theorem Set.iUnion_image_inf_left E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] (s t : Set α), ⋃ a ∈ s, (fun x ↦ a ⊓ x) '' t = s ⊼ t
theorem Set.iUnion_image_inf_right E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] (s t : Set α), ⋃ b ∈ t, (fun x ↦ x ⊓ b) '' s = s ⊼ t
theorem Set.image_inf_prod E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] (s t : Set α), Set.image2 (fun x x_1 ↦ x ⊓ x_1) s t = s ⊼ t
theorem Set.infs_assoc E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] (s t u : Set α), s ⊼ t ⊼ u = s ⊼ (t ⊼ u)
theorem Set.infs_comm E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] (s t : Set α), s ⊼ t = t ⊼ s
theorem Set.infs_left_comm E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] (s t u : Set α), s ⊼ (t ⊼ u) = t ⊼ (s ⊼ u)
theorem Set.infs_right_comm E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] (s t u : Set α), s ⊼ t ⊼ u = s ⊼ u ⊼ t
theorem Set.infs_infs_infs_comm E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] (s t u v : Set α), s ⊼ t ⊼ (u ⊼ v) = s ⊼ u ⊼ (t ⊼ v)
theorem Set.infs_eq_inter E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {s t : Set α}, IsLowerSet s → IsLowerSet t → s ⊼ t = s ∩ t
theorem Set.sups_infs_subset_left E1 #
∀ {α : Type u_2} [inst : DistribLattice α] (s t u : Set α), s ⊻ t ⊼ u ⊆ (s ⊻ t) ⊼ (s ⊻ u)
theorem Set.sups_infs_subset_right E1 #
∀ {α : Type u_2} [inst : DistribLattice α] (s t u : Set α), t ⊼ u ⊻ s ⊆ (t ⊻ s) ⊼ (u ⊻ s)
theorem Set.infs_sups_subset_left E1 #
∀ {α : Type u_2} [inst : DistribLattice α] (s t u : Set α), s ⊼ (t ⊻ u) ⊆ s ⊼ t ⊻ s ⊼ u
theorem Set.infs_sups_subset_right E1 #
∀ {α : Type u_2} [inst : DistribLattice α] (s t u : Set α), (t ⊻ u) ⊼ s ⊆ t ⊼ s ⊻ u ⊼ s
theorem Set.isLowerSet_powerset E0 #
∀ {α : Type u_2} (s : Set α), IsLowerSet (𝒫 s)
theorem upperClosure_sups E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] (s t : Set α), upperClosure (s ⊻ t) = upperClosure s ⊔ upperClosure t
theorem lowerClosure_infs E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] (s t : Set α), lowerClosure (s ⊼ t) = lowerClosure s ⊓ lowerClosure t