Mathlib.Algebra.Group.Pointwise.Set.Scalar
146 declarations. Mathlib docs · Source
Pointwise scalar operations of sets
This file defines pointwise scalar-flavored algebraic operations on sets.
Main declarations
For sets s and t and scalar a:
s • t: Scalar multiplication, set of allx • ywherex ∈ sandy ∈ t.s /ₛ t: Scalar division, set of allx /ₛ ywherex ∈ sandy ∈ t. Available in multiplicative torsors.s +ᵥ t: Scalar addition, set of allx +ᵥ ywherex ∈ sandy ∈ t.s -ᵥ t: Scalar subtraction, set of allx -ᵥ ywherex ∈ sandy ∈ t.a • s: Scaling, set of alla • xwherex ∈ s.a +ᵥ s: Translation, set of alla +ᵥ xwherex ∈ s.
For α a semigroup/monoid, Set α is a semigroup/monoid.
As an unfortunate side effect, this means that n • s, where n : ℕ, is ambiguous between
pointwise scaling and repeated pointwise addition; the former has (2 : ℕ) • {1, 2} = {2, 4}, while
the latter has (2 : ℕ) • {1, 2} = {2, 3, 4}. See note [pointwise nat action].
Appropriate definitions and results are also transported to the additive theory via to_additive.
Implementation notes
- The following expressions are considered in simp-normal form in a group:
(fun h ↦ h * g) ⁻¹' s,(fun h ↦ g * h) ⁻¹' s,(fun h ↦ h * g⁻¹) ⁻¹' s,(fun h ↦ g⁻¹ * h) ⁻¹' s,s * t,s⁻¹,(1 : Set _)(and similarly for additive variants). Expressions equal to one of these will be simplified. - We put all instances in the scope
Pointwise, so that these instances are not available by default. Note that we do not mark them as reducible (as argued by note [reducible non-instances]) since we expect the scope to be open whenever the instances are actually used (and making the instances reducible changes the behavior ofsimp).
Tags
set multiplication, set addition, pointwise addition, pointwise multiplication, pointwise subtraction
Translation/scaling of sets
def Set.smulSet E1 #
{α : Type u_1} → {β : Type u_2} → [SMul α β] → SMul α (Set β)
The dilation of set x • s is defined as {x • y | y ∈ s} in scope Pointwise.
def Set.vaddSet E1 #
{α : Type u_1} → {β : Type u_2} → [VAdd α β] → VAdd α (Set β)
The translation of set x +ᵥ s is defined as {x +ᵥ y | y ∈ s} in scope Pointwise.
def Set.smul E1 #
{α : Type u_1} → {β : Type u_2} → [SMul α β] → SMul (Set α) (Set β)
The pointwise scalar multiplication of sets s • t is defined as {x • y | x ∈ s, y ∈ t} in
scope Pointwise.
def Set.vadd E1 #
{α : Type u_1} → {β : Type u_2} → [VAdd α β] → VAdd (Set α) (Set β)
The pointwise scalar addition of sets s +ᵥ t is defined as {x +ᵥ y | x ∈ s, y ∈ t} in locale
Pointwise.
theorem Set.image2_vadd E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {t : Set β},
Set.image2 (fun x1 x2 ↦ x1 +ᵥ x2) s t = s +ᵥ t
theorem Set.image2_smul E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {t : Set β}, Set.image2 (fun x1 x2 ↦ x1 • x2) s t = s • t
theorem Set.image_smul_prod E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {t : Set β}, (fun x ↦ x.1 • x.2) '' s ×ˢ t = s • t
theorem Set.vadd_image_prod E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {t : Set β}, (fun x ↦ x.1 +ᵥ x.2) '' s ×ˢ t = s +ᵥ t
theorem Set.mem_smul E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {t : Set β} {b : β},
b ∈ s • t ↔ ∃ x ∈ s, ∃ y ∈ t, x • y = b
theorem Set.mem_vadd E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {t : Set β} {b : β},
b ∈ s +ᵥ t ↔ ∃ x ∈ s, ∃ y ∈ t, x +ᵥ y = b
theorem Set.vadd_mem_vadd E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {t : Set β} {a : α} {b : β},
a ∈ s → b ∈ t → a +ᵥ b ∈ s +ᵥ t
theorem Set.smul_mem_smul E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {t : Set β} {a : α} {b : β}, a ∈ s → b ∈ t → a • b ∈ s • t
theorem Set.empty_vadd E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {t : Set β}, ∅ +ᵥ t = ∅
theorem Set.empty_smul E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {t : Set β}, ∅ • t = ∅
theorem Set.smul_empty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α}, s • ∅ = ∅
theorem Set.vadd_empty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α}, s +ᵥ ∅ = ∅
theorem Set.smul_eq_empty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {t : Set β}, s • t = ∅ ↔ s = ∅ ∨ t = ∅
theorem Set.vadd_eq_empty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {t : Set β}, s +ᵥ t = ∅ ↔ s = ∅ ∨ t = ∅
theorem Set.vadd_nonempty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {t : Set β}, (s +ᵥ t).Nonempty ↔ s.Nonempty ∧ t.Nonempty
theorem Set.smul_nonempty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {t : Set β}, (s • t).Nonempty ↔ s.Nonempty ∧ t.Nonempty
theorem Set.Nonempty.smul E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {t : Set β}, s.Nonempty → t.Nonempty → (s • t).Nonempty
theorem Set.Nonempty.vadd E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {t : Set β}, s.Nonempty → t.Nonempty → (s +ᵥ t).Nonempty
theorem Set.Nonempty.of_smul_left E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {t : Set β}, (s • t).Nonempty → s.Nonempty
theorem Set.Nonempty.of_vadd_left E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {t : Set β}, (s +ᵥ t).Nonempty → s.Nonempty
theorem Set.Nonempty.of_smul_right E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {t : Set β}, (s • t).Nonempty → t.Nonempty
theorem Set.Nonempty.of_vadd_right E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {t : Set β}, (s +ᵥ t).Nonempty → t.Nonempty
theorem Set.vadd_singleton E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {b : β}, s +ᵥ {b} = (fun x ↦ x +ᵥ b) '' s
theorem Set.smul_singleton E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {b : β}, s • {b} = (fun x ↦ x • b) '' s
theorem Set.singleton_smul E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {t : Set β} {a : α}, {a} • t = a • t
theorem Set.singleton_vadd E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {t : Set β} {a : α}, {a} +ᵥ t = a +ᵥ t
theorem Set.singleton_smul_singleton E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {a : α} {b : β}, {a} • {b} = {a • b}
theorem Set.singleton_vadd_singleton E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {a : α} {b : β}, {a} +ᵥ {b} = {a +ᵥ b}
theorem Set.vadd_subset_vadd E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s₁ s₂ : Set α} {t₁ t₂ : Set β},
s₁ ⊆ s₂ → t₁ ⊆ t₂ → s₁ +ᵥ t₁ ⊆ s₂ +ᵥ t₂
theorem Set.smul_subset_smul E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s₁ s₂ : Set α} {t₁ t₂ : Set β}, s₁ ⊆ s₂ → t₁ ⊆ t₂ → s₁ • t₁ ⊆ s₂ • t₂
theorem Set.smul_subset_smul_left E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {t₁ t₂ : Set β}, t₁ ⊆ t₂ → s • t₁ ⊆ s • t₂
theorem Set.vadd_subset_vadd_left E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {t₁ t₂ : Set β}, t₁ ⊆ t₂ → s +ᵥ t₁ ⊆ s +ᵥ t₂
theorem Set.vadd_subset_vadd_right E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s₁ s₂ : Set α} {t : Set β}, s₁ ⊆ s₂ → s₁ +ᵥ t ⊆ s₂ +ᵥ t
theorem Set.smul_subset_smul_right E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s₁ s₂ : Set α} {t : Set β}, s₁ ⊆ s₂ → s₁ • t ⊆ s₂ • t
theorem Set.vadd_subset_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {t u : Set β}, s +ᵥ t ⊆ u ↔ ∀ a ∈ s, ∀ b ∈ t, a +ᵥ b ∈ u
theorem Set.smul_subset_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {t u : Set β}, s • t ⊆ u ↔ ∀ a ∈ s, ∀ b ∈ t, a • b ∈ u
theorem Set.union_smul E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s₁ s₂ : Set α} {t : Set β}, (s₁ ∪ s₂) • t = s₁ • t ∪ s₂ • t
theorem Set.union_vadd E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s₁ s₂ : Set α} {t : Set β}, (s₁ ∪ s₂) +ᵥ t = (s₁ +ᵥ t) ∪ (s₂ +ᵥ t)
theorem Set.vadd_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {t₁ t₂ : Set β}, s +ᵥ t₁ ∪ t₂ = (s +ᵥ t₁) ∪ (s +ᵥ t₂)
theorem Set.smul_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {t₁ t₂ : Set β}, s • (t₁ ∪ t₂) = s • t₁ ∪ s • t₂
theorem Set.inter_smul_subset E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s₁ s₂ : Set α} {t : Set β}, (s₁ ∩ s₂) • t ⊆ s₁ • t ∩ s₂ • t
theorem Set.inter_vadd_subset E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s₁ s₂ : Set α} {t : Set β}, s₁ ∩ s₂ +ᵥ t ⊆ (s₁ +ᵥ t) ∩ (s₂ +ᵥ t)
theorem Set.vadd_inter_subset E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set α} {t₁ t₂ : Set β}, s +ᵥ t₁ ∩ t₂ ⊆ (s +ᵥ t₁) ∩ (s +ᵥ t₂)
theorem Set.smul_inter_subset E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set α} {t₁ t₂ : Set β}, s • (t₁ ∩ t₂) ⊆ s • t₁ ∩ s • t₂
theorem Set.inter_smul_union_subset_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s₁ s₂ : Set α} {t₁ t₂ : Set β},
(s₁ ∩ s₂) • (t₁ ∪ t₂) ⊆ s₁ • t₁ ∪ s₂ • t₂
theorem Set.inter_vadd_union_subset_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s₁ s₂ : Set α} {t₁ t₂ : Set β},
s₁ ∩ s₂ +ᵥ t₁ ∪ t₂ ⊆ (s₁ +ᵥ t₁) ∪ (s₂ +ᵥ t₂)
theorem Set.union_vadd_inter_subset_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s₁ s₂ : Set α} {t₁ t₂ : Set β},
(s₁ ∪ s₂) +ᵥ t₁ ∩ t₂ ⊆ (s₁ +ᵥ t₁) ∪ (s₂ +ᵥ t₂)
theorem Set.union_smul_inter_subset_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s₁ s₂ : Set α} {t₁ t₂ : Set β},
(s₁ ∪ s₂) • (t₁ ∩ t₂) ⊆ s₁ • t₁ ∪ s₂ • t₂
theorem Set.vadd_set_subset_vadd E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {t : Set β} {a : α} {s : Set α}, a ∈ s → a +ᵥ t ⊆ s +ᵥ t
theorem Set.smul_set_subset_smul E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {t : Set β} {a : α} {s : Set α}, a ∈ s → a • t ⊆ s • t
theorem Set.image_smul E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {t : Set β} {a : α}, (fun x ↦ a • x) '' t = a • t
theorem Set.image_vadd E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {t : Set β} {a : α}, (fun x ↦ a +ᵥ x) '' t = a +ᵥ t
theorem Set.mem_vadd_set E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {t : Set β} {a : α} {x : β}, x ∈ a +ᵥ t ↔ ∃ y ∈ t, a +ᵥ y = x
theorem Set.mem_smul_set E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {t : Set β} {a : α} {x : β}, x ∈ a • t ↔ ∃ y ∈ t, a • y = x
theorem Set.vadd_mem_vadd_set E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set β} {a : α} {b : β}, b ∈ s → a +ᵥ b ∈ a +ᵥ s
theorem Set.smul_mem_smul_set E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set β} {a : α} {b : β}, b ∈ s → a • b ∈ a • s
theorem Set.smul_set_empty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {a : α}, a • ∅ = ∅
theorem Set.vadd_set_empty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {a : α}, a +ᵥ ∅ = ∅
theorem Set.vadd_set_eq_empty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set β} {a : α}, a +ᵥ s = ∅ ↔ s = ∅
theorem Set.smul_set_eq_empty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set β} {a : α}, a • s = ∅ ↔ s = ∅
theorem Set.smul_set_nonempty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set β} {a : α}, (a • s).Nonempty ↔ s.Nonempty
theorem Set.vadd_set_nonempty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set β} {a : α}, (a +ᵥ s).Nonempty ↔ s.Nonempty
theorem Set.vadd_set_singleton E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {a : α} {b : β}, a +ᵥ {b} = {a +ᵥ b}
theorem Set.smul_set_singleton E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {a : α} {b : β}, a • {b} = {a • b}
theorem Set.smul_set_mono E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s t : Set β} {a : α}, s ⊆ t → a • s ⊆ a • t
theorem Set.vadd_set_mono E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s t : Set β} {a : α}, s ⊆ t → a +ᵥ s ⊆ a +ᵥ t
theorem Set.vadd_set_subset_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s t : Set β} {a : α}, a +ᵥ s ⊆ t ↔ ∀ ⦃b : β⦄, b ∈ s → a +ᵥ b ∈ t
theorem Set.smul_set_subset_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s t : Set β} {a : α}, a • s ⊆ t ↔ ∀ ⦃b : β⦄, b ∈ s → a • b ∈ t
theorem Set.smul_set_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {t₁ t₂ : Set β} {a : α}, a • (t₁ ∪ t₂) = a • t₁ ∪ a • t₂
theorem Set.vadd_set_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {t₁ t₂ : Set β} {a : α}, a +ᵥ t₁ ∪ t₂ = (a +ᵥ t₁) ∪ (a +ᵥ t₂)
theorem Set.smul_set_insert E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] (a : α) (b : β) (s : Set β), a • insert b s = insert (a • b) (a • s)
theorem Set.vadd_set_insert E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] (a : α) (b : β) (s : Set β),
a +ᵥ insert b s = insert (a +ᵥ b) (a +ᵥ s)
theorem Set.vadd_set_inter_subset E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {t₁ t₂ : Set β} {a : α}, a +ᵥ t₁ ∩ t₂ ⊆ (a +ᵥ t₁) ∩ (a +ᵥ t₂)
theorem Set.smul_set_inter_subset E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {t₁ t₂ : Set β} {a : α}, a • (t₁ ∩ t₂) ⊆ a • t₁ ∩ a • t₂
theorem Set.Nonempty.smul_set E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {s : Set β} {a : α}, s.Nonempty → (a • s).Nonempty
theorem Set.Nonempty.vadd_set E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {s : Set β} {a : α}, s.Nonempty → (a +ᵥ s).Nonempty
theorem Set.vadd_set_pi_of_surjective E1 #
∀ {M : Type u_4} {ι : Type u_5} {π : ι → Type u_6} [inst : (i : ι) → VAdd M (π i)] (c : M) (I : Set ι)
(s : (i : ι) → Set (π i)), (∀ i ∉ I, Function.Surjective fun x ↦ c +ᵥ x) → c +ᵥ I.pi s = I.pi (c +ᵥ s)
theorem Set.smul_set_pi_of_surjective E1 #
∀ {M : Type u_4} {ι : Type u_5} {π : ι → Type u_6} [inst : (i : ι) → SMul M (π i)] (c : M) (I : Set ι)
(s : (i : ι) → Set (π i)), (∀ i ∉ I, Function.Surjective fun x ↦ c • x) → c • I.pi s = I.pi (c • s)
theorem Set.vadd_set_univ_pi E1 #
∀ {M : Type u_4} {ι : Type u_5} {π : ι → Type u_6} [inst : (i : ι) → VAdd M (π i)] (c : M) (s : (i : ι) → Set (π i)),
c +ᵥ Set.univ.pi s = Set.univ.pi (c +ᵥ s)
theorem Set.smul_set_univ_pi E1 #
∀ {M : Type u_4} {ι : Type u_5} {π : ι → Type u_6} [inst : (i : ι) → SMul M (π i)] (c : M) (s : (i : ι) → Set (π i)),
c • Set.univ.pi s = Set.univ.pi (c • s)
theorem Set.range_smul_range E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Type u_4} {κ : Type u_5} [inst : SMul α β] (b : ι → α) (c : κ → β),
Set.range b • Set.range c = Set.range fun p ↦ b p.1 • c p.2
theorem Set.range_vadd_range E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Type u_4} {κ : Type u_5} [inst : VAdd α β] (b : ι → α) (c : κ → β),
Set.range b +ᵥ Set.range c = Set.range fun p ↦ b p.1 +ᵥ c p.2
theorem Set.vadd_set_range E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {ι : Sort u_4} (a : α) (f : ι → β),
a +ᵥ Set.range f = Set.range fun i ↦ a +ᵥ f i
theorem Set.smul_set_range E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {ι : Sort u_4} (a : α) (f : ι → β),
a • Set.range f = Set.range fun i ↦ a • f i
theorem Set.range_vadd E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VAdd α β] {ι : Sort u_4} (a : α) (f : ι → β),
(Set.range fun i ↦ a +ᵥ f i) = a +ᵥ Set.range f
theorem Set.range_smul E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SMul α β] {ι : Sort u_4} (a : α) (f : ι → β),
(Set.range fun i ↦ a • f i) = a • Set.range f
def Set.sdiv E1 #
{α : Type u_1} → {β : Type u_2} → [SDiv α β] → SDiv (Set α) (Set β)
The pointwise scalar division of sets s /ₛ t is defined as {x /ₛ y | x ∈ s, y ∈ t} in
scope Pointwise.
def Set.vsub E1 #
{α : Type u_1} → {β : Type u_2} → [VSub α β] → VSub (Set α) (Set β)
The pointwise subtraction of sets s -ᵥ t is defined as {x -ᵥ y | x ∈ s, y ∈ t} in
scope Pointwise.
theorem Set.image2_vsub E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t : Set β}, Set.image2 (fun x1 x2 ↦ x1 -ᵥ x2) s t = s -ᵥ t
theorem Set.image2_sdiv E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t : Set β}, Set.image2 (fun x1 x2 ↦ x1 /ₛ x2) s t = s /ₛ t
theorem Set.image_sdiv_prod E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t : Set β}, (fun x ↦ x.1 /ₛ x.2) '' s ×ˢ t = s /ₛ t
theorem Set.image_vsub_prod E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t : Set β}, (fun x ↦ x.1 -ᵥ x.2) '' s ×ˢ t = s -ᵥ t
theorem Set.mem_vsub E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t : Set β} {a : α}, a ∈ s -ᵥ t ↔ ∃ x ∈ s, ∃ y ∈ t, x -ᵥ y = a
theorem Set.mem_sdiv E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t : Set β} {a : α}, a ∈ s /ₛ t ↔ ∃ x ∈ s, ∃ y ∈ t, x /ₛ y = a
theorem Set.sdiv_mem_sdiv E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t : Set β} {b c : β}, b ∈ s → c ∈ t → b /ₛ c ∈ s /ₛ t
theorem Set.vsub_mem_vsub E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t : Set β} {b c : β}, b ∈ s → c ∈ t → b -ᵥ c ∈ s -ᵥ t
theorem Set.empty_sdiv E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] (t : Set β), ∅ /ₛ t = ∅
theorem Set.empty_vsub E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] (t : Set β), ∅ -ᵥ t = ∅
theorem Set.vsub_empty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] (s : Set β), s -ᵥ ∅ = ∅
theorem Set.sdiv_empty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] (s : Set β), s /ₛ ∅ = ∅
theorem Set.vsub_eq_empty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t : Set β}, s -ᵥ t = ∅ ↔ s = ∅ ∨ t = ∅
theorem Set.sdiv_eq_empty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t : Set β}, s /ₛ t = ∅ ↔ s = ∅ ∨ t = ∅
theorem Set.vsub_nonempty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t : Set β}, (s -ᵥ t).Nonempty ↔ s.Nonempty ∧ t.Nonempty
theorem Set.sdiv_nonempty E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t : Set β}, (s /ₛ t).Nonempty ↔ s.Nonempty ∧ t.Nonempty
theorem Set.Nonempty.vsub E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t : Set β}, s.Nonempty → t.Nonempty → (s -ᵥ t).Nonempty
theorem Set.Nonempty.sdiv E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t : Set β}, s.Nonempty → t.Nonempty → (s /ₛ t).Nonempty
theorem Set.Nonempty.of_sdiv_left E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t : Set β}, (s /ₛ t).Nonempty → s.Nonempty
theorem Set.Nonempty.of_vsub_left E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t : Set β}, (s -ᵥ t).Nonempty → s.Nonempty
theorem Set.Nonempty.of_vsub_right E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t : Set β}, (s -ᵥ t).Nonempty → t.Nonempty
theorem Set.Nonempty.of_sdiv_right E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t : Set β}, (s /ₛ t).Nonempty → t.Nonempty
theorem Set.vsub_singleton E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] (s : Set β) (b : β), s -ᵥ {b} = (fun x ↦ x -ᵥ b) '' s
theorem Set.sdiv_singleton E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] (s : Set β) (b : β), s /ₛ {b} = (fun x ↦ x /ₛ b) '' s
theorem Set.singleton_sdiv E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] (t : Set β) (b : β), {b} /ₛ t = (fun x ↦ b /ₛ x) '' t
theorem Set.singleton_vsub E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] (t : Set β) (b : β), {b} -ᵥ t = (fun x ↦ b -ᵥ x) '' t
theorem Set.singleton_vsub_singleton E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {b c : β}, {b} -ᵥ {c} = {b -ᵥ c}
theorem Set.singleton_sdiv_singleton E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {b c : β}, {b} /ₛ {c} = {b /ₛ c}
theorem Set.sdiv_subset_sdiv E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s₁ s₂ t₁ t₂ : Set β}, s₁ ⊆ s₂ → t₁ ⊆ t₂ → s₁ /ₛ t₁ ⊆ s₂ /ₛ t₂
theorem Set.vsub_subset_vsub E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s₁ s₂ t₁ t₂ : Set β}, s₁ ⊆ s₂ → t₁ ⊆ t₂ → s₁ -ᵥ t₁ ⊆ s₂ -ᵥ t₂
theorem Set.vsub_subset_vsub_left E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t₁ t₂ : Set β}, t₁ ⊆ t₂ → s -ᵥ t₁ ⊆ s -ᵥ t₂
theorem Set.sdiv_subset_sdiv_left E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t₁ t₂ : Set β}, t₁ ⊆ t₂ → s /ₛ t₁ ⊆ s /ₛ t₂
theorem Set.vsub_subset_vsub_right E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s₁ s₂ t : Set β}, s₁ ⊆ s₂ → s₁ -ᵥ t ⊆ s₂ -ᵥ t
theorem Set.sdiv_subset_sdiv_right E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s₁ s₂ t : Set β}, s₁ ⊆ s₂ → s₁ /ₛ t ⊆ s₂ /ₛ t
theorem Set.sdiv_subset_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t : Set β} {u : Set α}, s /ₛ t ⊆ u ↔ ∀ x ∈ s, ∀ y ∈ t, x /ₛ y ∈ u
theorem Set.vsub_subset_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t : Set β} {u : Set α}, s -ᵥ t ⊆ u ↔ ∀ x ∈ s, ∀ y ∈ t, x -ᵥ y ∈ u
theorem Set.vsub_self_mono E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t : Set β}, s ⊆ t → s -ᵥ s ⊆ t -ᵥ t
theorem Set.sdiv_self_mono E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t : Set β}, s ⊆ t → s /ₛ s ⊆ t /ₛ t
theorem Set.union_sdiv E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s₁ s₂ t : Set β}, s₁ ∪ s₂ /ₛ t = s₁ /ₛ t ∪ (s₂ /ₛ t)
theorem Set.union_vsub E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s₁ s₂ t : Set β}, s₁ ∪ s₂ -ᵥ t = s₁ -ᵥ t ∪ (s₂ -ᵥ t)
theorem Set.sdiv_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t₁ t₂ : Set β}, s /ₛ (t₁ ∪ t₂) = s /ₛ t₁ ∪ (s /ₛ t₂)
theorem Set.vsub_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t₁ t₂ : Set β}, s -ᵥ (t₁ ∪ t₂) = s -ᵥ t₁ ∪ (s -ᵥ t₂)
theorem Set.inter_vsub_subset E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s₁ s₂ t : Set β}, s₁ ∩ s₂ -ᵥ t ⊆ (s₁ -ᵥ t) ∩ (s₂ -ᵥ t)
theorem Set.inter_sdiv_subset E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s₁ s₂ t : Set β}, s₁ ∩ s₂ /ₛ t ⊆ (s₁ /ₛ t) ∩ (s₂ /ₛ t)
theorem Set.vsub_inter_subset E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s t₁ t₂ : Set β}, s -ᵥ t₁ ∩ t₂ ⊆ (s -ᵥ t₁) ∩ (s -ᵥ t₂)
theorem Set.sdiv_inter_subset E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s t₁ t₂ : Set β}, s /ₛ t₁ ∩ t₂ ⊆ (s /ₛ t₁) ∩ (s /ₛ t₂)
theorem Set.inter_vsub_union_subset_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s₁ s₂ t₁ t₂ : Set β}, s₁ ∩ s₂ -ᵥ (t₁ ∪ t₂) ⊆ s₁ -ᵥ t₁ ∪ (s₂ -ᵥ t₂)
theorem Set.inter_sdiv_union_subset_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s₁ s₂ t₁ t₂ : Set β}, s₁ ∩ s₂ /ₛ (t₁ ∪ t₂) ⊆ s₁ /ₛ t₁ ∪ (s₂ /ₛ t₂)
theorem Set.union_sdiv_inter_subset_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : SDiv α β] {s₁ s₂ t₁ t₂ : Set β}, s₁ ∪ s₂ /ₛ t₁ ∩ t₂ ⊆ s₁ /ₛ t₁ ∪ (s₂ /ₛ t₂)
theorem Set.union_vsub_inter_subset_union E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : VSub α β] {s₁ s₂ t₁ t₂ : Set β}, s₁ ∪ s₂ -ᵥ t₁ ∩ t₂ ⊆ s₁ -ᵥ t₁ ∪ (s₂ -ᵥ t₂)
theorem Set.image_vadd_comm E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : VAdd α β] [inst_1 : VAdd α γ] (f : β → γ) (a : α) (s : Set β),
(∀ (b : β), f (a +ᵥ b) = a +ᵥ f b) → f '' (a +ᵥ s) = a +ᵥ f '' s
theorem Set.image_smul_comm E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : SMul α β] [inst_1 : SMul α γ] (f : β → γ) (a : α) (s : Set β),
(∀ (b : β), f (a • b) = a • f b) → f '' (a • s) = a • f '' s
theorem Set.op_smul_set_smul_eq_smul_smul_set E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : SMul αᵐᵒᵖ β] [inst_1 : SMul β γ] [inst_2 : SMul α γ] (a : α)
(s : Set β) (t : Set γ),
(∀ (a : α) (b : β) (c : γ), (MulOpposite.op a • b) • c = b • a • c) → (MulOpposite.op a • s) • t = s • a • t
theorem Set.op_vadd_set_vadd_eq_vadd_vadd_set E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : VAdd αᵃᵒᵖ β] [inst_1 : VAdd β γ] [inst_2 : VAdd α γ] (a : α)
(s : Set β) (t : Set γ),
(∀ (a : α) (b : β) (c : γ), (AddOpposite.op a +ᵥ b) +ᵥ c = b +ᵥ a +ᵥ c) → (AddOpposite.op a +ᵥ s) +ᵥ t = s +ᵥ a +ᵥ t