Mathlib.Algebra.Group.Pointwise.Set.Basic
377 declarations and 2 deprecated aliases. Mathlib docs · Source
Pointwise operations of sets
This file defines pointwise algebraic operations on sets.
Main declarations
For sets s and t and scalar a:
s * t: Multiplication, set of allx * ywherex ∈ sandy ∈ t.s + t: Addition, set of allx + ywherex ∈ sandy ∈ t.s⁻¹: Inversion, set of allx⁻¹wherex ∈ s.-s: Negation, set of all-xwherex ∈ s.s / t: Division, set of allx / ywherex ∈ sandy ∈ t.s - t: Subtraction, set of allx - ywherex ∈ sandy ∈ t.
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
0/1 as sets
Set negation/inversion
Set addition/multiplication
Set subtraction/division
Note that Set is not a Group because s / s ≠ 1 in general.
def LibraryNote.pointwise_nat_action E1 #
Batteries.Util.LibraryNote
Pointwise monoids (Set, Finset, Filter) have derived pointwise actions of the form
SMul α β → SMul α (Set β). When α is ℕ or ℤ, this action conflicts with the
nat or int action coming from Set β being a Monoid or DivInvMonoid. For example,
2 • {a, b} can both be {2 • a, 2 • b} (pointwise action, pointwise repeated addition,
Set.smulSet) and {a + a, a + b, b + a, b + b} (nat or int action, repeated pointwise
addition, Set.NSMul).
Because the pointwise action can easily be spelled out in such cases, we give higher priority to the nat and int actions.
def Set.one E1 #
{α : Type u_2} → [One α] → One (Set α)
The set 1 : Set α is defined as {1} in scope Pointwise.
def Set.zero E1 #
{α : Type u_2} → [Zero α] → Zero (Set α)
The set 0 : Set α is defined as {0} in scope Pointwise.
theorem Set.singleton_one E1 #
∀ {α : Type u_2} [inst : One α], {1} = 1
theorem Set.singleton_zero E1 #
∀ {α : Type u_2} [inst : Zero α], {0} = 0
theorem Set.mem_one E0 #
∀ {α : Type u_2} [inst : One α] {a : α}, a ∈ 1 ↔ a = 1
theorem Set.mem_zero E0 #
∀ {α : Type u_2} [inst : Zero α] {a : α}, a ∈ 0 ↔ a = 0
theorem Set.zero_mem_zero E1 #
∀ {α : Type u_2} [inst : Zero α], 0 ∈ 0
theorem Set.one_mem_one E1 #
∀ {α : Type u_2} [inst : One α], 1 ∈ 1
theorem Set.zero_subset E0 #
∀ {α : Type u_2} [inst : Zero α] {s : Set α}, 0 ⊆ s ↔ 0 ∈ s
theorem Set.one_subset E0 #
∀ {α : Type u_2} [inst : One α] {s : Set α}, 1 ⊆ s ↔ 1 ∈ s
theorem Set.zero_nonempty E0 #
∀ {α : Type u_2} [inst : Zero α], Set.Nonempty 0
theorem Set.one_nonempty E0 #
∀ {α : Type u_2} [inst : One α], Set.Nonempty 1
theorem Set.image_one E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : One α] {f : α → β}, f '' 1 = {f 1}
theorem Set.image_zero E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Zero α] {f : α → β}, f '' 0 = {f 0}
theorem Set.subset_zero_iff_eq E0 #
∀ {α : Type u_2} [inst : Zero α] {s : Set α}, s ⊆ 0 ↔ s = ∅ ∨ s = 0
theorem Set.subset_one_iff_eq E0 #
∀ {α : Type u_2} [inst : One α] {s : Set α}, s ⊆ 1 ↔ s = ∅ ∨ s = 1
theorem Set.Nonempty.subset_one_iff E0 #
∀ {α : Type u_2} [inst : One α] {s : Set α}, s.Nonempty → (s ⊆ 1 ↔ s = 1)
theorem Set.Nonempty.subset_zero_iff E0 #
∀ {α : Type u_2} [inst : Zero α] {s : Set α}, s.Nonempty → (s ⊆ 0 ↔ s = 0)
def Set.singletonOneHom E1 #
{α : Type u_2} → [inst : One α] → OneHom α (Set α)
The singleton operation as a OneHom.
def Set.singletonZeroHom E1 #
{α : Type u_2} → [inst : Zero α] → ZeroHom α (Set α)
The singleton operation as a ZeroHom.
theorem Set.coe_singletonZeroHom E0 #
∀ {α : Type u_2} [inst : Zero α], ⇑Set.singletonZeroHom = singleton
theorem Set.coe_singletonOneHom E0 #
∀ {α : Type u_2} [inst : One α], ⇑Set.singletonOneHom = singleton
theorem Set.image_op_one E1 #
∀ {α : Type u_2} [inst : One α], MulOpposite.op '' 1 = 1
theorem Set.image_op_zero E1 #
∀ {α : Type u_2} [inst : Zero α], AddOpposite.op '' 0 = 0
theorem Set.zero_prod_zero E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Zero α] [inst_1 : Zero β], 0 ×ˢ 0 = 0
theorem Set.one_prod_one E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : One α] [inst_1 : One β], 1 ×ˢ 1 = 1
def Set.inv E1 #
{α : Type u_2} → [Inv α] → Inv (Set α)
The pointwise inversion of set s⁻¹ is defined as {x | x⁻¹ ∈ s} in scope Pointwise. It is
equal to {x⁻¹ | x ∈ s}, see Set.image_inv_eq_inv.
def Set.neg E1 #
{α : Type u_2} → [Neg α] → Neg (Set α)
The pointwise negation of set -s is defined as {x | -x ∈ s} in scope Pointwise.
It is equal to {-x | x ∈ s}, see Set.image_neg_eq_neg.
theorem Set.inv_ofPred E0 #
∀ {α : Type u_2} [inst : Inv α] (p : α → Prop), {x | p x}⁻¹ = {x | p x⁻¹}
theorem Set.neg_ofPred E0 #
∀ {α : Type u_2} [inst : Neg α] (p : α → Prop), -{x | p x} = {x | p (-x)}
theorem Set.mem_neg E0 #
∀ {α : Type u_2} [inst : Neg α] {s : Set α} {a : α}, a ∈ -s ↔ -a ∈ s
theorem Set.mem_inv E0 #
∀ {α : Type u_2} [inst : Inv α] {s : Set α} {a : α}, a ∈ s⁻¹ ↔ a⁻¹ ∈ s
theorem Set.neg_preimage E0 #
∀ {α : Type u_2} [inst : Neg α] {s : Set α}, Neg.neg ⁻¹' s = -s
theorem Set.inv_preimage E0 #
∀ {α : Type u_2} [inst : Inv α] {s : Set α}, Inv.inv ⁻¹' s = s⁻¹
theorem Set.neg_empty E0 #
∀ {α : Type u_2} [inst : Neg α], -∅ = ∅
theorem Set.inv_empty E0 #
∀ {α : Type u_2} [inst : Inv α], ∅⁻¹ = ∅
theorem Set.inv_univ E0 #
∀ {α : Type u_2} [inst : Inv α], Set.univ⁻¹ = Set.univ
theorem Set.neg_univ E0 #
∀ {α : Type u_2} [inst : Neg α], -Set.univ = Set.univ
theorem Set.inter_neg E0 #
∀ {α : Type u_2} [inst : Neg α] {s t : Set α}, -(s ∩ t) = -s ∩ -t
theorem Set.inter_inv E0 #
∀ {α : Type u_2} [inst : Inv α] {s t : Set α}, (s ∩ t)⁻¹ = s⁻¹ ∩ t⁻¹
theorem Set.union_inv E0 #
∀ {α : Type u_2} [inst : Inv α] {s t : Set α}, (s ∪ t)⁻¹ = s⁻¹ ∪ t⁻¹
theorem Set.union_neg E0 #
∀ {α : Type u_2} [inst : Neg α] {s t : Set α}, -(s ∪ t) = -s ∪ -t
theorem Set.compl_inv E0 #
∀ {α : Type u_2} [inst : Inv α] {s : Set α}, sᶜ⁻¹ = s⁻¹ᶜ
theorem Set.compl_neg E0 #
∀ {α : Type u_2} [inst : Neg α] {s : Set α}, -sᶜ = (-s)ᶜ
theorem Set.neg_prod E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Neg α] [inst_1 : Neg β] (s : Set α) (t : Set β), -s ×ˢ t = (-s) ×ˢ (-t)
theorem Set.inv_prod E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Inv α] [inst_1 : Inv β] (s : Set α) (t : Set β), (s ×ˢ t)⁻¹ = s⁻¹ ×ˢ t⁻¹
theorem Set.inv_mem_inv E1 #
∀ {α : Type u_2} [inst : InvolutiveInv α] {s : Set α} {a : α}, a⁻¹ ∈ s⁻¹ ↔ a ∈ s
theorem Set.neg_mem_neg E1 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] {s : Set α} {a : α}, -a ∈ -s ↔ a ∈ s
theorem Set.nonempty_inv E0 #
∀ {α : Type u_2} [inst : InvolutiveInv α] {s : Set α}, s⁻¹.Nonempty ↔ s.Nonempty
theorem Set.nonempty_neg E0 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] {s : Set α}, (-s).Nonempty ↔ s.Nonempty
theorem Set.Nonempty.inv E1 #
∀ {α : Type u_2} [inst : InvolutiveInv α] {s : Set α}, s.Nonempty → s⁻¹.Nonempty
theorem Set.Nonempty.neg E1 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] {s : Set α}, s.Nonempty → (-s).Nonempty
theorem Set.image_neg_eq_neg E0 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] {s : Set α}, (fun x ↦ -x) '' s = -s
theorem Set.image_inv_eq_inv E0 #
∀ {α : Type u_2} [inst : InvolutiveInv α] {s : Set α}, (fun x ↦ x⁻¹) '' s = s⁻¹
theorem Set.inv_eq_empty E0 #
∀ {α : Type u_2} [inst : InvolutiveInv α] {s : Set α}, s⁻¹ = ∅ ↔ s = ∅
theorem Set.neg_eq_empty E0 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] {s : Set α}, -s = ∅ ↔ s = ∅
def Set.involutiveInv E1 #
{α : Type u_2} → [InvolutiveInv α] → InvolutiveInv (Set α)
Pointwise inversion of sets is involutive in scope Pointwise.
def Set.involutiveNeg E1 #
{α : Type u_2} → [InvolutiveNeg α] → InvolutiveNeg (Set α)
Pointwise negation of sets is involutive in scope Pointwise.
theorem Set.neg_subset_neg E0 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] {s t : Set α}, -s ⊆ -t ↔ s ⊆ t
theorem Set.inv_subset_inv E0 #
∀ {α : Type u_2} [inst : InvolutiveInv α] {s t : Set α}, s⁻¹ ⊆ t⁻¹ ↔ s ⊆ t
theorem Set.neg_subset E1 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] {s t : Set α}, -s ⊆ t ↔ s ⊆ -t
theorem Set.inv_subset E1 #
∀ {α : Type u_2} [inst : InvolutiveInv α] {s t : Set α}, s⁻¹ ⊆ t ↔ s ⊆ t⁻¹
theorem Set.inv_eq_self_iff_inv_subset E1 #
∀ {α : Type u_2} [inst : InvolutiveInv α] {s : Set α}, s⁻¹ = s ↔ s⁻¹ ⊆ s
theorem Set.neg_eq_self_iff_neg_subset E1 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] {s : Set α}, -s = s ↔ -s ⊆ s
theorem Set.neg_singleton E0 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] (a : α), -{a} = {-a}
theorem Set.inv_singleton E0 #
∀ {α : Type u_2} [inst : InvolutiveInv α] (a : α), {a}⁻¹ = {a⁻¹}
theorem Set.inv_insert E0 #
∀ {α : Type u_2} [inst : InvolutiveInv α] (a : α) (s : Set α), (insert a s)⁻¹ = insert a⁻¹ s⁻¹
theorem Set.neg_insert E0 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] (a : α) (s : Set α), -insert a s = insert (-a) (-s)
theorem Set.inv_range E1 #
∀ {α : Type u_2} [inst : InvolutiveInv α] {ι : Sort u_4} {f : ι → α}, (Set.range f)⁻¹ = Set.range fun i ↦ (f i)⁻¹
theorem Set.neg_range E1 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] {ι : Sort u_4} {f : ι → α}, -Set.range f = Set.range fun i ↦ -f i
theorem Set.neg_range' E1 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] {ι : Type u_4} {f : ι → α}, -Set.range f = Set.range (-f)
theorem Set.inv_range' E1 #
∀ {α : Type u_2} [inst : InvolutiveInv α] {ι : Type u_4} {f : ι → α}, (Set.range f)⁻¹ = Set.range f⁻¹
theorem Set.image_neg_of_apply_neg_eq E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : InvolutiveNeg α] {s : Set α} {f g : α → β},
(∀ x ∈ s, f (-x) = g x) → f '' (-s) = g '' s
theorem Set.image_inv_of_apply_inv_eq E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : InvolutiveInv α] {s : Set α} {f g : α → β},
(∀ x ∈ s, f x⁻¹ = g x) → f '' s⁻¹ = g '' s
theorem Set.image_inv_of_apply_inv_eq_inv E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : InvolutiveInv α] {s : Set α} [inst_1 : InvolutiveInv β] {f g : α → β},
(∀ x ∈ s, f x⁻¹ = (g x)⁻¹) → f '' s⁻¹ = (g '' s)⁻¹
theorem Set.image_neg_of_apply_neg_eq_neg E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : InvolutiveNeg α] {s : Set α} [inst_1 : InvolutiveNeg β] {f g : α → β},
(∀ x ∈ s, f (-x) = -g x) → f '' (-s) = -g '' s
theorem Set.forall_neg_mem E0 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] {s : Set α} {p : α → Prop}, (∀ (x : α), -x ∈ s → p x) ↔ ∀ x ∈ s, p (-x)
theorem Set.forall_inv_mem E0 #
∀ {α : Type u_2} [inst : InvolutiveInv α] {s : Set α} {p : α → Prop}, (∀ (x : α), x⁻¹ ∈ s → p x) ↔ ∀ x ∈ s, p x⁻¹
theorem Set.exists_neg_mem E0 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] {s : Set α} {p : α → Prop}, (∃ x, -x ∈ s ∧ p x) ↔ ∃ x ∈ s, p (-x)
theorem Set.exists_inv_mem E0 #
∀ {α : Type u_2} [inst : InvolutiveInv α] {s : Set α} {p : α → Prop}, (∃ x, x⁻¹ ∈ s ∧ p x) ↔ ∃ x ∈ s, p x⁻¹
theorem Set.image_op_inv E1 #
∀ {α : Type u_2} [inst : InvolutiveInv α] {s : Set α}, MulOpposite.op '' s⁻¹ = (MulOpposite.op '' s)⁻¹
theorem Set.image_op_neg E1 #
∀ {α : Type u_2} [inst : InvolutiveNeg α] {s : Set α}, AddOpposite.op '' (-s) = -AddOpposite.op '' s
def Set.mul E1 #
{α : Type u_2} → [Mul α] → Mul (Set α)
The pointwise multiplication of sets s * t and t is defined as {x * y | x ∈ s, y ∈ t} in
scope Pointwise.
def Set.add E1 #
{α : Type u_2} → [Add α] → Add (Set α)
The pointwise addition of sets s + t is defined as {x + y | x ∈ s, y ∈ t} in locale
Pointwise.
theorem Set.image2_mul E0 #
∀ {α : Type u_2} [inst : Mul α] {s t : Set α}, Set.image2 (fun x1 x2 ↦ x1 * x2) s t = s * t
theorem Set.image2_add E0 #
∀ {α : Type u_2} [inst : Add α] {s t : Set α}, Set.image2 (fun x1 x2 ↦ x1 + x2) s t = s + t
theorem Set.mem_add E0 #
∀ {α : Type u_2} [inst : Add α] {s t : Set α} {a : α}, a ∈ s + t ↔ ∃ x ∈ s, ∃ y ∈ t, x + y = a
theorem Set.mem_mul E0 #
∀ {α : Type u_2} [inst : Mul α] {s t : Set α} {a : α}, a ∈ s * t ↔ ∃ x ∈ s, ∃ y ∈ t, x * y = a
theorem Set.add_mem_add E1 #
∀ {α : Type u_2} [inst : Add α] {s t : Set α} {a b : α}, a ∈ s → b ∈ t → a + b ∈ s + t
theorem Set.mul_mem_mul E1 #
∀ {α : Type u_2} [inst : Mul α] {s t : Set α} {a b : α}, a ∈ s → b ∈ t → a * b ∈ s * t
theorem Set.image_mul_prod E1 #
∀ {α : Type u_2} [inst : Mul α] {s t : Set α}, (fun x ↦ x.1 * x.2) '' s ×ˢ t = s * t
theorem Set.add_image_prod E1 #
∀ {α : Type u_2} [inst : Add α] {s t : Set α}, (fun x ↦ x.1 + x.2) '' s ×ˢ t = s + t
theorem Set.empty_mul E0 #
∀ {α : Type u_2} [inst : Mul α] {s : Set α}, ∅ * s = ∅
theorem Set.empty_add E0 #
∀ {α : Type u_2} [inst : Add α] {s : Set α}, ∅ + s = ∅
theorem Set.add_empty E0 #
∀ {α : Type u_2} [inst : Add α] {s : Set α}, s + ∅ = ∅
theorem Set.mul_empty E0 #
∀ {α : Type u_2} [inst : Mul α] {s : Set α}, s * ∅ = ∅
theorem Set.mul_eq_empty E0 #
∀ {α : Type u_2} [inst : Mul α] {s t : Set α}, s * t = ∅ ↔ s = ∅ ∨ t = ∅
theorem Set.add_eq_empty E0 #
∀ {α : Type u_2} [inst : Add α] {s t : Set α}, s + t = ∅ ↔ s = ∅ ∨ t = ∅
theorem Set.add_nonempty E0 #
∀ {α : Type u_2} [inst : Add α] {s t : Set α}, (s + t).Nonempty ↔ s.Nonempty ∧ t.Nonempty
theorem Set.mul_nonempty E0 #
∀ {α : Type u_2} [inst : Mul α] {s t : Set α}, (s * t).Nonempty ↔ s.Nonempty ∧ t.Nonempty
theorem Set.Nonempty.mul E1 #
∀ {α : Type u_2} [inst : Mul α] {s t : Set α}, s.Nonempty → t.Nonempty → (s * t).Nonempty
theorem Set.Nonempty.add E1 #
∀ {α : Type u_2} [inst : Add α] {s t : Set α}, s.Nonempty → t.Nonempty → (s + t).Nonempty
theorem Set.Nonempty.of_add_left E1 #
∀ {α : Type u_2} [inst : Add α] {s t : Set α}, (s + t).Nonempty → s.Nonempty
theorem Set.Nonempty.of_mul_left E1 #
∀ {α : Type u_2} [inst : Mul α] {s t : Set α}, (s * t).Nonempty → s.Nonempty
theorem Set.Nonempty.of_add_right E1 #
∀ {α : Type u_2} [inst : Add α] {s t : Set α}, (s + t).Nonempty → t.Nonempty
theorem Set.Nonempty.of_mul_right E1 #
∀ {α : Type u_2} [inst : Mul α] {s t : Set α}, (s * t).Nonempty → t.Nonempty
theorem Set.mul_singleton E0 #
∀ {α : Type u_2} [inst : Mul α] {s : Set α} {b : α}, s * {b} = (fun x ↦ x * b) '' s
theorem Set.add_singleton E0 #
∀ {α : Type u_2} [inst : Add α] {s : Set α} {b : α}, s + {b} = (fun x ↦ x + b) '' s
theorem Set.singleton_add E0 #
∀ {α : Type u_2} [inst : Add α] {t : Set α} {a : α}, {a} + t = (fun x ↦ a + x) '' t
theorem Set.singleton_mul E0 #
∀ {α : Type u_2} [inst : Mul α] {t : Set α} {a : α}, {a} * t = (fun x ↦ a * x) '' t
theorem Set.singleton_add_singleton E1 #
∀ {α : Type u_2} [inst : Add α] {a b : α}, {a} + {b} = {a + b}
theorem Set.singleton_mul_singleton E1 #
∀ {α : Type u_2} [inst : Mul α] {a b : α}, {a} * {b} = {a * b}
theorem Set.add_subset_add E1 #
∀ {α : Type u_2} [inst : Add α] {s₁ s₂ t₁ t₂ : Set α}, s₁ ⊆ t₁ → s₂ ⊆ t₂ → s₁ + s₂ ⊆ t₁ + t₂
theorem Set.mul_subset_mul E1 #
∀ {α : Type u_2} [inst : Mul α] {s₁ s₂ t₁ t₂ : Set α}, s₁ ⊆ t₁ → s₂ ⊆ t₂ → s₁ * s₂ ⊆ t₁ * t₂
theorem Set.add_subset_add_left E1 #
∀ {α : Type u_2} [inst : Add α] {s t₁ t₂ : Set α}, t₁ ⊆ t₂ → s + t₁ ⊆ s + t₂
theorem Set.mul_subset_mul_left E1 #
∀ {α : Type u_2} [inst : Mul α] {s t₁ t₂ : Set α}, t₁ ⊆ t₂ → s * t₁ ⊆ s * t₂
theorem Set.mul_subset_mul_right E1 #
∀ {α : Type u_2} [inst : Mul α] {s₁ s₂ t : Set α}, s₁ ⊆ s₂ → s₁ * t ⊆ s₂ * t
theorem Set.add_subset_add_right E1 #
∀ {α : Type u_2} [inst : Add α] {s₁ s₂ t : Set α}, s₁ ⊆ s₂ → s₁ + t ⊆ s₂ + t
instance Set.instAddLeftMono E0 #
∀ {α : Type u_2} [inst : Add α], AddLeftMono (Set α)
instance Set.instMulLeftMono E0 #
∀ {α : Type u_2} [inst : Mul α], MulLeftMono (Set α)
instance Set.instMulRightMono E0 #
∀ {α : Type u_2} [inst : Mul α], MulRightMono (Set α)
instance Set.instAddRightMono E0 #
∀ {α : Type u_2} [inst : Add α], AddRightMono (Set α)
theorem Set.add_subset_iff E0 #
∀ {α : Type u_2} [inst : Add α] {s t u : Set α}, s + t ⊆ u ↔ ∀ x ∈ s, ∀ y ∈ t, x + y ∈ u
theorem Set.mul_subset_iff E0 #
∀ {α : Type u_2} [inst : Mul α] {s t u : Set α}, s * t ⊆ u ↔ ∀ x ∈ s, ∀ y ∈ t, x * y ∈ u
theorem Set.union_mul E1 #
∀ {α : Type u_2} [inst : Mul α] {s₁ s₂ t : Set α}, (s₁ ∪ s₂) * t = s₁ * t ∪ s₂ * t
theorem Set.union_add E1 #
∀ {α : Type u_2} [inst : Add α] {s₁ s₂ t : Set α}, s₁ ∪ s₂ + t = s₁ + t ∪ (s₂ + t)
theorem Set.mul_union E1 #
∀ {α : Type u_2} [inst : Mul α] {s t₁ t₂ : Set α}, s * (t₁ ∪ t₂) = s * t₁ ∪ s * t₂
theorem Set.add_union E1 #
∀ {α : Type u_2} [inst : Add α] {s t₁ t₂ : Set α}, s + (t₁ ∪ t₂) = s + t₁ ∪ (s + t₂)
theorem Set.inter_mul_subset E1 #
∀ {α : Type u_2} [inst : Mul α] {s₁ s₂ t : Set α}, s₁ ∩ s₂ * t ⊆ s₁ * t ∩ (s₂ * t)
theorem Set.inter_add_subset E1 #
∀ {α : Type u_2} [inst : Add α] {s₁ s₂ t : Set α}, s₁ ∩ s₂ + t ⊆ (s₁ + t) ∩ (s₂ + t)
theorem Set.mul_inter_subset E1 #
∀ {α : Type u_2} [inst : Mul α] {s t₁ t₂ : Set α}, s * (t₁ ∩ t₂) ⊆ s * t₁ ∩ (s * t₂)
theorem Set.add_inter_subset E1 #
∀ {α : Type u_2} [inst : Add α] {s t₁ t₂ : Set α}, s + t₁ ∩ t₂ ⊆ (s + t₁) ∩ (s + t₂)
theorem Set.inter_add_union_subset_union E1 #
∀ {α : Type u_2} [inst : Add α] {s₁ s₂ t₁ t₂ : Set α}, s₁ ∩ s₂ + (t₁ ∪ t₂) ⊆ s₁ + t₁ ∪ (s₂ + t₂)
theorem Set.inter_mul_union_subset_union E1 #
∀ {α : Type u_2} [inst : Mul α] {s₁ s₂ t₁ t₂ : Set α}, s₁ ∩ s₂ * (t₁ ∪ t₂) ⊆ s₁ * t₁ ∪ s₂ * t₂
theorem Set.union_add_inter_subset_union E1 #
∀ {α : Type u_2} [inst : Add α] {s₁ s₂ t₁ t₂ : Set α}, s₁ ∪ s₂ + t₁ ∩ t₂ ⊆ s₁ + t₁ ∪ (s₂ + t₂)
theorem Set.union_mul_inter_subset_union E1 #
∀ {α : Type u_2} [inst : Mul α] {s₁ s₂ t₁ t₂ : Set α}, (s₁ ∪ s₂) * (t₁ ∩ t₂) ⊆ s₁ * t₁ ∪ s₂ * t₂
def Set.singletonMulHom E1 #
{α : Type u_2} → [inst : Mul α] → α →ₙ* Set α
The singleton operation as a MulHom.
def Set.singletonAddHom E1 #
{α : Type u_2} → [inst : Add α] → α →ₙ+ Set α
The singleton operation as an AddHom.
theorem Set.coe_singletonAddHom E0 #
∀ {α : Type u_2} [inst : Add α], ⇑Set.singletonAddHom = singleton
theorem Set.coe_singletonMulHom E0 #
∀ {α : Type u_2} [inst : Mul α], ⇑Set.singletonMulHom = singleton
theorem Set.singletonMulHom_apply E0 #
∀ {α : Type u_2} [inst : Mul α] (a : α), Set.singletonMulHom a = {a}
theorem Set.singletonAddHom_apply E0 #
∀ {α : Type u_2} [inst : Add α] (a : α), Set.singletonAddHom a = {a}
theorem Set.image_op_add E0 #
∀ {α : Type u_2} [inst : Add α] {s t : Set α}, AddOpposite.op '' (s + t) = AddOpposite.op '' t + AddOpposite.op '' s
theorem Set.image_op_mul E0 #
∀ {α : Type u_2} [inst : Mul α] {s t : Set α}, MulOpposite.op '' (s * t) = MulOpposite.op '' t * MulOpposite.op '' s
theorem Set.prod_add_prod_comm E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Add α] [inst_1 : Add β] (s₁ s₂ : Set α) (t₁ t₂ : Set β),
s₁ ×ˢ t₁ + s₂ ×ˢ t₂ = (s₁ + s₂) ×ˢ (t₁ + t₂)
theorem Set.prod_mul_prod_comm E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Mul α] [inst_1 : Mul β] (s₁ s₂ : Set α) (t₁ t₂ : Set β),
s₁ ×ˢ t₁ * s₂ ×ˢ t₂ = (s₁ * s₂) ×ˢ (t₁ * t₂)
def Set.div E1 #
{α : Type u_2} → [Div α] → Div (Set α)
The pointwise division of sets s / t is defined as {x / y | x ∈ s, y ∈ t} in locale
Pointwise.
def Set.sub E1 #
{α : Type u_2} → [Sub α] → Sub (Set α)
The pointwise subtraction of sets s - t is defined as {x - y | x ∈ s, y ∈ t} in locale
Pointwise.
theorem Set.image2_sub E0 #
∀ {α : Type u_2} [inst : Sub α] {s t : Set α}, Set.image2 (fun x1 x2 ↦ x1 - x2) s t = s - t
theorem Set.image2_div E0 #
∀ {α : Type u_2} [inst : Div α] {s t : Set α}, Set.image2 (fun x1 x2 ↦ x1 / x2) s t = s / t
theorem Set.mem_sub E0 #
∀ {α : Type u_2} [inst : Sub α] {s t : Set α} {a : α}, a ∈ s - t ↔ ∃ x ∈ s, ∃ y ∈ t, x - y = a
theorem Set.mem_div E0 #
∀ {α : Type u_2} [inst : Div α] {s t : Set α} {a : α}, a ∈ s / t ↔ ∃ x ∈ s, ∃ y ∈ t, x / y = a
theorem Set.div_mem_div E1 #
∀ {α : Type u_2} [inst : Div α] {s t : Set α} {a b : α}, a ∈ s → b ∈ t → a / b ∈ s / t
theorem Set.sub_mem_sub E1 #
∀ {α : Type u_2} [inst : Sub α] {s t : Set α} {a b : α}, a ∈ s → b ∈ t → a - b ∈ s - t
theorem Set.sub_image_prod E1 #
∀ {α : Type u_2} [inst : Sub α] {s t : Set α}, (fun x ↦ x.1 - x.2) '' s ×ˢ t = s - t
theorem Set.image_div_prod E1 #
∀ {α : Type u_2} [inst : Div α] {s t : Set α}, (fun x ↦ x.1 / x.2) '' s ×ˢ t = s / t
theorem Set.empty_sub E0 #
∀ {α : Type u_2} [inst : Sub α] {s : Set α}, ∅ - s = ∅
theorem Set.empty_div E0 #
∀ {α : Type u_2} [inst : Div α] {s : Set α}, ∅ / s = ∅
theorem Set.div_empty E0 #
∀ {α : Type u_2} [inst : Div α] {s : Set α}, s / ∅ = ∅
theorem Set.sub_empty E0 #
∀ {α : Type u_2} [inst : Sub α] {s : Set α}, s - ∅ = ∅
theorem Set.div_eq_empty E0 #
∀ {α : Type u_2} [inst : Div α] {s t : Set α}, s / t = ∅ ↔ s = ∅ ∨ t = ∅
theorem Set.sub_eq_empty E0 #
∀ {α : Type u_2} [inst : Sub α] {s t : Set α}, s - t = ∅ ↔ s = ∅ ∨ t = ∅
theorem Set.sub_nonempty E0 #
∀ {α : Type u_2} [inst : Sub α] {s t : Set α}, (s - t).Nonempty ↔ s.Nonempty ∧ t.Nonempty
theorem Set.div_nonempty E0 #
∀ {α : Type u_2} [inst : Div α] {s t : Set α}, (s / t).Nonempty ↔ s.Nonempty ∧ t.Nonempty
theorem Set.Nonempty.div E1 #
∀ {α : Type u_2} [inst : Div α] {s t : Set α}, s.Nonempty → t.Nonempty → (s / t).Nonempty
theorem Set.Nonempty.sub E1 #
∀ {α : Type u_2} [inst : Sub α] {s t : Set α}, s.Nonempty → t.Nonempty → (s - t).Nonempty
theorem Set.Nonempty.of_sub_left E1 #
∀ {α : Type u_2} [inst : Sub α] {s t : Set α}, (s - t).Nonempty → s.Nonempty
theorem Set.Nonempty.of_div_left E1 #
∀ {α : Type u_2} [inst : Div α] {s t : Set α}, (s / t).Nonempty → s.Nonempty
theorem Set.Nonempty.of_div_right E1 #
∀ {α : Type u_2} [inst : Div α] {s t : Set α}, (s / t).Nonempty → t.Nonempty
theorem Set.Nonempty.of_sub_right E1 #
∀ {α : Type u_2} [inst : Sub α] {s t : Set α}, (s - t).Nonempty → t.Nonempty
theorem Set.sub_singleton E0 #
∀ {α : Type u_2} [inst : Sub α] {s : Set α} {b : α}, s - {b} = (fun x ↦ x - b) '' s
theorem Set.div_singleton E0 #
∀ {α : Type u_2} [inst : Div α] {s : Set α} {b : α}, s / {b} = (fun x ↦ x / b) '' s
theorem Set.singleton_div E0 #
∀ {α : Type u_2} [inst : Div α] {t : Set α} {a : α}, {a} / t = (fun x1 x2 ↦ x1 / x2) a '' t
theorem Set.singleton_sub E0 #
∀ {α : Type u_2} [inst : Sub α] {t : Set α} {a : α}, {a} - t = (fun x1 x2 ↦ x1 - x2) a '' t
theorem Set.singleton_sub_singleton E1 #
∀ {α : Type u_2} [inst : Sub α] {a b : α}, {a} - {b} = {a - b}
theorem Set.singleton_div_singleton E1 #
∀ {α : Type u_2} [inst : Div α] {a b : α}, {a} / {b} = {a / b}
theorem Set.div_subset_div E1 #
∀ {α : Type u_2} [inst : Div α] {s₁ s₂ t₁ t₂ : Set α}, s₁ ⊆ t₁ → s₂ ⊆ t₂ → s₁ / s₂ ⊆ t₁ / t₂
theorem Set.sub_subset_sub E1 #
∀ {α : Type u_2} [inst : Sub α] {s₁ s₂ t₁ t₂ : Set α}, s₁ ⊆ t₁ → s₂ ⊆ t₂ → s₁ - s₂ ⊆ t₁ - t₂
theorem Set.div_subset_div_left E1 #
∀ {α : Type u_2} [inst : Div α] {s t₁ t₂ : Set α}, t₁ ⊆ t₂ → s / t₁ ⊆ s / t₂
theorem Set.sub_subset_sub_left E1 #
∀ {α : Type u_2} [inst : Sub α] {s t₁ t₂ : Set α}, t₁ ⊆ t₂ → s - t₁ ⊆ s - t₂
theorem Set.sub_subset_sub_right E1 #
∀ {α : Type u_2} [inst : Sub α] {s₁ s₂ t : Set α}, s₁ ⊆ s₂ → s₁ - t ⊆ s₂ - t
theorem Set.div_subset_div_right E1 #
∀ {α : Type u_2} [inst : Div α] {s₁ s₂ t : Set α}, s₁ ⊆ s₂ → s₁ / t ⊆ s₂ / t
theorem Set.sub_subset_iff E0 #
∀ {α : Type u_2} [inst : Sub α] {s t u : Set α}, s - t ⊆ u ↔ ∀ x ∈ s, ∀ y ∈ t, x - y ∈ u
theorem Set.div_subset_iff E0 #
∀ {α : Type u_2} [inst : Div α] {s t u : Set α}, s / t ⊆ u ↔ ∀ x ∈ s, ∀ y ∈ t, x / y ∈ u
theorem Set.union_sub E1 #
∀ {α : Type u_2} [inst : Sub α] {s₁ s₂ t : Set α}, s₁ ∪ s₂ - t = s₁ - t ∪ (s₂ - t)
theorem Set.union_div E1 #
∀ {α : Type u_2} [inst : Div α] {s₁ s₂ t : Set α}, (s₁ ∪ s₂) / t = s₁ / t ∪ s₂ / t
theorem Set.div_union E1 #
∀ {α : Type u_2} [inst : Div α] {s t₁ t₂ : Set α}, s / (t₁ ∪ t₂) = s / t₁ ∪ s / t₂
theorem Set.sub_union E1 #
∀ {α : Type u_2} [inst : Sub α] {s t₁ t₂ : Set α}, s - (t₁ ∪ t₂) = s - t₁ ∪ (s - t₂)
theorem Set.inter_div_subset E1 #
∀ {α : Type u_2} [inst : Div α] {s₁ s₂ t : Set α}, s₁ ∩ s₂ / t ⊆ s₁ / t ∩ (s₂ / t)
theorem Set.inter_sub_subset E1 #
∀ {α : Type u_2} [inst : Sub α] {s₁ s₂ t : Set α}, s₁ ∩ s₂ - t ⊆ (s₁ - t) ∩ (s₂ - t)
theorem Set.sub_inter_subset E1 #
∀ {α : Type u_2} [inst : Sub α] {s t₁ t₂ : Set α}, s - t₁ ∩ t₂ ⊆ (s - t₁) ∩ (s - t₂)
theorem Set.div_inter_subset E1 #
∀ {α : Type u_2} [inst : Div α] {s t₁ t₂ : Set α}, s / (t₁ ∩ t₂) ⊆ s / t₁ ∩ (s / t₂)
theorem Set.inter_div_union_subset_union E1 #
∀ {α : Type u_2} [inst : Div α] {s₁ s₂ t₁ t₂ : Set α}, s₁ ∩ s₂ / (t₁ ∪ t₂) ⊆ s₁ / t₁ ∪ s₂ / t₂
theorem Set.inter_sub_union_subset_union E1 #
∀ {α : Type u_2} [inst : Sub α] {s₁ s₂ t₁ t₂ : Set α}, s₁ ∩ s₂ - (t₁ ∪ t₂) ⊆ s₁ - t₁ ∪ (s₂ - t₂)
theorem Set.union_sub_inter_subset_union E1 #
∀ {α : Type u_2} [inst : Sub α] {s₁ s₂ t₁ t₂ : Set α}, s₁ ∪ s₂ - t₁ ∩ t₂ ⊆ s₁ - t₁ ∪ (s₂ - t₂)
theorem Set.union_div_inter_subset_union E1 #
∀ {α : Type u_2} [inst : Div α] {s₁ s₂ t₁ t₂ : Set α}, (s₁ ∪ s₂) / (t₁ ∩ t₂) ⊆ s₁ / t₁ ∪ s₂ / t₂
theorem Set.prod_div_prod_comm E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Div α] [inst_1 : Div β] (s₁ s₂ : Set α) (t₁ t₂ : Set β),
s₁ ×ˢ t₁ / s₂ ×ˢ t₂ = (s₁ / s₂) ×ˢ (t₁ / t₂)
theorem Set.prod_sub_prod_comm E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Sub α] [inst_1 : Sub β] (s₁ s₂ : Set α) (t₁ t₂ : Set β),
s₁ ×ˢ t₁ - s₂ ×ˢ t₂ = (s₁ - s₂) ×ˢ (t₁ - t₂)
def Set.NPow E1 #
{α : Type u_2} → [One α] → [Mul α] → Pow (Set α) ℕ
Repeated pointwise multiplication (not the same as pointwise repeated multiplication!) of a
Set. See note [pointwise nat action].
def Set.NSMul E1 #
{α : Type u_2} → [Zero α] → [Add α] → SMul ℕ (Set α)
Repeated pointwise addition (not the same as pointwise repeated addition!) of a Set. See
note [pointwise nat action].
def Set.ZPow E1 #
{α : Type u_2} → [One α] → [Mul α] → [Inv α] → Pow (Set α) ℤ
Repeated pointwise multiplication/division (not the same as pointwise repeated
multiplication/division!) of a Set. See note [pointwise nat action].
def Set.ZSMul E1 #
{α : Type u_2} → [Zero α] → [Add α] → [Neg α] → SMul ℤ (Set α)
Repeated pointwise addition/subtraction (not the same as pointwise repeated
addition/subtraction!) of a Set. See note [pointwise nat action].
def Set.semigroup E1 #
{α : Type u_2} → [Semigroup α] → Semigroup (Set α)
Set α is a Semigroup under pointwise operations if α is.
def Set.addSemigroup E1 #
{α : Type u_2} → [AddSemigroup α] → AddSemigroup (Set α)
Set α is an AddSemigroup under pointwise operations if α is.
def Set.commSemigroup E1 #
{α : Type u_2} → [CommSemigroup α] → CommSemigroup (Set α)
Set α is a CommSemigroup under pointwise operations if α is.
def Set.addCommSemigroup E1 #
{α : Type u_2} → [AddCommSemigroup α] → AddCommSemigroup (Set α)
Set α is an AddCommSemigroup under pointwise operations if α is.
theorem Set.inter_add_union_subset E1 #
∀ {α : Type u_2} [inst : AddCommSemigroup α] {s t : Set α}, s ∩ t + (s ∪ t) ⊆ s + t
theorem Set.inter_mul_union_subset E1 #
∀ {α : Type u_2} [inst : CommSemigroup α] {s t : Set α}, s ∩ t * (s ∪ t) ⊆ s * t
theorem Set.union_add_inter_subset E1 #
∀ {α : Type u_2} [inst : AddCommSemigroup α] {s t : Set α}, s ∪ t + s ∩ t ⊆ s + t
theorem Set.union_mul_inter_subset E1 #
∀ {α : Type u_2} [inst : CommSemigroup α] {s t : Set α}, (s ∪ t) * (s ∩ t) ⊆ s * t
def Set.mulOneClass E1 #
{α : Type u_2} → [MulOneClass α] → MulOneClass (Set α)
Set α is a MulOneClass under pointwise operations if α is.
def Set.addZeroClass E1 #
{α : Type u_2} → [AddZeroClass α] → AddZeroClass (Set α)
Set α is an AddZeroClass under pointwise operations if α is.
theorem Set.subset_add_left E1 #
∀ {α : Type u_2} [inst : AddZeroClass α] (s : Set α) {t : Set α}, 0 ∈ t → s ⊆ s + t
theorem Set.subset_mul_left E1 #
∀ {α : Type u_2} [inst : MulOneClass α] (s : Set α) {t : Set α}, 1 ∈ t → s ⊆ s * t
theorem Set.subset_add_right E1 #
∀ {α : Type u_2} [inst : AddZeroClass α] {s : Set α} (t : Set α), 0 ∈ s → t ⊆ s + t
theorem Set.subset_mul_right E1 #
∀ {α : Type u_2} [inst : MulOneClass α] {s : Set α} (t : Set α), 1 ∈ s → t ⊆ s * t
def Set.singletonMonoidHom E1 #
{α : Type u_2} → [inst : MulOneClass α] → α →* Set α
The singleton operation as a MonoidHom.
def Set.singletonAddMonoidHom E1 #
{α : Type u_2} → [inst : AddZeroClass α] → α →+ Set α
The singleton operation as an AddMonoidHom.
theorem Set.coe_singletonMonoidHom E0 #
∀ {α : Type u_2} [inst : MulOneClass α], ⇑Set.singletonMonoidHom = singleton
theorem Set.coe_singletonAddMonoidHom E0 #
∀ {α : Type u_2} [inst : AddZeroClass α], ⇑Set.singletonAddMonoidHom = singleton
theorem Set.singletonAddMonoidHom_apply E0 #
∀ {α : Type u_2} [inst : AddZeroClass α] (a : α), Set.singletonAddMonoidHom a = {a}
theorem Set.singletonMonoidHom_apply E0 #
∀ {α : Type u_2} [inst : MulOneClass α] (a : α), Set.singletonMonoidHom a = {a}
def Set.monoid E1 #
{α : Type u_2} → [Monoid α] → Monoid (Set α)
Set α is a Monoid under pointwise operations if α is.
def Set.addMonoid E1 #
{α : Type u_2} → [AddMonoid α] → AddMonoid (Set α)
Set α is an AddMonoid under pointwise operations if α is.
theorem Set.nsmul_right_monotone E1 #
∀ {α : Type u_2} [inst : AddMonoid α] {s : Set α}, 0 ∈ s → Monotone fun x ↦ x • s
theorem Set.pow_right_monotone E1 #
∀ {α : Type u_2} [inst : Monoid α] {s : Set α}, 1 ∈ s → Monotone fun x ↦ s ^ x
theorem Set.pow_subset_pow_left E1 #
∀ {α : Type u_2} [inst : Monoid α] {s t : Set α} {n : ℕ}, s ⊆ t → s ^ n ⊆ t ^ n
theorem Set.nsmul_subset_nsmul_left E1 #
∀ {α : Type u_2} [inst : AddMonoid α] {s t : Set α} {n : ℕ}, s ⊆ t → n • s ⊆ n • t
theorem Set.nsmul_subset_nsmul_right E1 #
∀ {α : Type u_2} [inst : AddMonoid α] {s : Set α} {m n : ℕ}, 0 ∈ s → m ≤ n → m • s ⊆ n • s
theorem Set.pow_subset_pow_right E1 #
∀ {α : Type u_2} [inst : Monoid α] {s : Set α} {m n : ℕ}, 1 ∈ s → m ≤ n → s ^ m ⊆ s ^ n
theorem Set.pow_subset_pow E1 #
∀ {α : Type u_2} [inst : Monoid α] {s t : Set α} {m n : ℕ}, s ⊆ t → 1 ∈ t → m ≤ n → s ^ m ⊆ t ^ n
theorem Set.nsmul_subset_nsmul E1 #
∀ {α : Type u_2} [inst : AddMonoid α] {s t : Set α} {m n : ℕ}, s ⊆ t → 0 ∈ t → m ≤ n → m • s ⊆ n • t
theorem Set.subset_nsmul E1 #
∀ {α : Type u_2} [inst : AddMonoid α] {s : Set α} {n : ℕ}, 0 ∈ s → n ≠ 0 → s ⊆ n • s
theorem Set.subset_pow E1 #
∀ {α : Type u_2} [inst : Monoid α] {s : Set α} {n : ℕ}, 1 ∈ s → n ≠ 0 → s ⊆ s ^ n
theorem Set.pow_subset_pow_mul_of_sq_subset_mul E1 #
∀ {α : Type u_2} [inst : Monoid α] {s t : Set α} {n : ℕ}, s ^ 2 ⊆ t * s → n ≠ 0 → s ^ n ⊆ t ^ (n - 1) * s
theorem Set.nsmul_subset_nsmul_add_of_sq_subset_add E1 #
∀ {α : Type u_2} [inst : AddMonoid α] {s t : Set α} {n : ℕ}, 2 • s ⊆ t + s → n ≠ 0 → n • s ⊆ (n - 1) • t + s
theorem Set.nsmul_empty E0 #
∀ {α : Type u_2} [inst : AddMonoid α] {n : ℕ}, n ≠ 0 → n • ∅ = ∅
theorem Set.empty_pow E0 #
∀ {α : Type u_2} [inst : Monoid α] {n : ℕ}, n ≠ 0 → ∅ ^ n = ∅
theorem Set.Nonempty.nsmul E1 #
∀ {α : Type u_2} [inst : AddMonoid α] {s : Set α}, s.Nonempty → ∀ {n : ℕ}, (n • s).Nonempty
theorem Set.Nonempty.pow E1 #
∀ {α : Type u_2} [inst : Monoid α] {s : Set α}, s.Nonempty → ∀ {n : ℕ}, (s ^ n).Nonempty
theorem Set.pow_eq_empty E0 #
∀ {α : Type u_2} [inst : Monoid α] {s : Set α} {n : ℕ}, s ^ n = ∅ ↔ s = ∅ ∧ n ≠ 0
theorem Set.nsmul_eq_empty E0 #
∀ {α : Type u_2} [inst : AddMonoid α] {s : Set α} {n : ℕ}, n • s = ∅ ↔ s = ∅ ∧ n ≠ 0
theorem Set.singleton_pow E0 #
∀ {α : Type u_2} [inst : Monoid α] (a : α) (n : ℕ), {a} ^ n = {a ^ n}
theorem Set.nsmul_singleton E0 #
∀ {α : Type u_2} [inst : AddMonoid α] (a : α) (n : ℕ), n • {a} = {n • a}
theorem Set.pow_mem_pow E1 #
∀ {α : Type u_2} [inst : Monoid α] {s : Set α} {a : α} {n : ℕ}, a ∈ s → a ^ n ∈ s ^ n
theorem Set.nsmul_mem_nsmul E1 #
∀ {α : Type u_2} [inst : AddMonoid α] {s : Set α} {a : α} {n : ℕ}, a ∈ s → n • a ∈ n • s
theorem Set.zero_mem_nsmul E1 #
∀ {α : Type u_2} [inst : AddMonoid α] {s : Set α} {n : ℕ}, 0 ∈ s → 0 ∈ n • s
theorem Set.one_mem_pow E1 #
∀ {α : Type u_2} [inst : Monoid α] {s : Set α} {n : ℕ}, 1 ∈ s → 1 ∈ s ^ n
theorem Set.inter_nsmul_subset E1 #
∀ {α : Type u_2} [inst : AddMonoid α] {s t : Set α} {n : ℕ}, n • (s ∩ t) ⊆ n • s ∩ n • t
theorem Set.inter_pow_subset E1 #
∀ {α : Type u_2} [inst : Monoid α] {s t : Set α} {n : ℕ}, (s ∩ t) ^ n ⊆ s ^ n ∩ t ^ n
theorem Set.mul_univ_of_one_mem E1 #
∀ {α : Type u_2} [inst : Monoid α] {s : Set α}, 1 ∈ s → s * Set.univ = Set.univ
theorem Set.add_univ_of_zero_mem E1 #
∀ {α : Type u_2} [inst : AddMonoid α] {s : Set α}, 0 ∈ s → s + Set.univ = Set.univ
theorem Set.univ_add_of_zero_mem E1 #
∀ {α : Type u_2} [inst : AddMonoid α] {t : Set α}, 0 ∈ t → Set.univ + t = Set.univ
theorem Set.univ_mul_of_one_mem E1 #
∀ {α : Type u_2} [inst : Monoid α] {t : Set α}, 1 ∈ t → Set.univ * t = Set.univ
theorem Set.univ_mul_univ E0 #
∀ {α : Type u_2} [inst : Monoid α], Set.univ * Set.univ = Set.univ
theorem Set.univ_add_univ E0 #
∀ {α : Type u_2} [inst : AddMonoid α], Set.univ + Set.univ = Set.univ
theorem Set.nsmul_univ E0 #
∀ {α : Type u_2} [inst : AddMonoid α] {n : ℕ}, n ≠ 0 → n • Set.univ = Set.univ
theorem Set.univ_pow E0 #
∀ {α : Type u_2} [inst : Monoid α] {n : ℕ}, n ≠ 0 → Set.univ ^ n = Set.univ
theorem IsAddUnit.set E1 #
∀ {α : Type u_2} [inst : AddMonoid α] {a : α}, IsAddUnit a → IsAddUnit {a}
theorem IsUnit.set E1 #
∀ {α : Type u_2} [inst : Monoid α] {a : α}, IsUnit a → IsUnit {a}
theorem Set.prod_pow E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : Monoid α] [inst_1 : Monoid β] (s : Set α) (t : Set β) (n : ℕ),
s ×ˢ t ^ n = (s ^ n) ×ˢ (t ^ n)
theorem Set.nsmul_prod E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : AddMonoid α] [inst_1 : AddMonoid β] (s : Set α) (t : Set β) (n : ℕ),
n • s ×ˢ t = (n • s) ×ˢ (n • t)
theorem Set.Nontrivial.add_left E1 #
∀ {α : Type u_2} [inst : Add α] [IsLeftCancelAdd α] {s t : Set α}, t.Nontrivial → s.Nonempty → (s + t).Nontrivial
theorem Set.Nontrivial.mul_left E1 #
∀ {α : Type u_2} [inst : Mul α] [IsLeftCancelMul α] {s t : Set α}, t.Nontrivial → s.Nonempty → (s * t).Nontrivial
theorem Set.Nontrivial.add E1 #
∀ {α : Type u_2} [inst : Add α] [IsLeftCancelAdd α] {s t : Set α}, s.Nontrivial → t.Nontrivial → (s + t).Nontrivial
theorem Set.Nontrivial.mul E1 #
∀ {α : Type u_2} [inst : Mul α] [IsLeftCancelMul α] {s t : Set α}, s.Nontrivial → t.Nontrivial → (s * t).Nontrivial
theorem Set.Nontrivial.add_right E1 #
∀ {α : Type u_2} [inst : Add α] [IsRightCancelAdd α] {s t : Set α}, s.Nontrivial → t.Nonempty → (s + t).Nontrivial
theorem Set.Nontrivial.mul_right E1 #
∀ {α : Type u_2} [inst : Mul α] [IsRightCancelMul α] {s t : Set α}, s.Nontrivial → t.Nonempty → (s * t).Nontrivial
theorem Set.Nontrivial.nsmul E1 #
∀ {α : Type u_2} [inst : AddCancelMonoid α] {s : Set α}, s.Nontrivial → ∀ {n : ℕ}, n ≠ 0 → (n • s).Nontrivial
theorem Set.Nontrivial.pow E1 #
∀ {α : Type u_2} [inst : CancelMonoid α] {s : Set α}, s.Nontrivial → ∀ {n : ℕ}, n ≠ 0 → (s ^ n).Nontrivial
def Set.commMonoid E1 #
{α : Type u_2} → [CommMonoid α] → CommMonoid (Set α)
Set α is a CommMonoid under pointwise operations if α is.
def Set.addCommMonoid E1 #
{α : Type u_2} → [AddCommMonoid α] → AddCommMonoid (Set α)
Set α is an AddCommMonoid under pointwise operations if α is.
theorem Set.mul_eq_one_iff E0 #
∀ {α : Type u_2} [inst : DivisionMonoid α] {s t : Set α}, s * t = 1 ↔ ∃ a b, s = {a} ∧ t = {b} ∧ a * b = 1
theorem Set.add_eq_zero_iff E0 #
∀ {α : Type u_2} [inst : SubtractionMonoid α] {s t : Set α}, s + t = 0 ↔ ∃ a b, s = {a} ∧ t = {b} ∧ a + b = 0
theorem Set.nonempty_image_addLeft_neg_inter_iff E0 #
∀ {α : Type u_2} [inst : SubtractionMonoid α] {s t : Set α} {a : α},
((fun x ↦ -a + x) '' s ∩ t).Nonempty ↔ ((fun x ↦ x + a) '' (-s) ∩ -t).Nonempty
theorem Set.nonempty_image_mulLeft_inv_inter_iff E0 #
∀ {α : Type u_2} [inst : DivisionMonoid α] {s t : Set α} {a : α},
((fun x ↦ a⁻¹ * x) '' s ∩ t).Nonempty ↔ ((fun x ↦ x * a) '' s⁻¹ ∩ t⁻¹).Nonempty
theorem Set.nonempty_image_addRight_neg_inter_iff E0 #
∀ {α : Type u_2} [inst : SubtractionMonoid α] {s t : Set α} {a : α},
((fun x ↦ x + -a) '' s ∩ t).Nonempty ↔ ((fun x ↦ a + x) '' (-s) ∩ -t).Nonempty
theorem Set.nonempty_image_mulRight_inv_inter_iff E0 #
∀ {α : Type u_2} [inst : DivisionMonoid α] {s t : Set α} {a : α},
((fun x ↦ x * a⁻¹) '' s ∩ t).Nonempty ↔ ((fun x ↦ a * x) '' s⁻¹ ∩ t⁻¹).Nonempty
def Set.divisionMonoid E1 #
{α : Type u_2} → [DivisionMonoid α] → DivisionMonoid (Set α)
Set α is a division monoid under pointwise operations if α is.
def Set.subtractionMonoid E1 #
{α : Type u_2} → [SubtractionMonoid α] → SubtractionMonoid (Set α)
Set α is a subtraction monoid under pointwise operations if α is.
theorem Set.isUnit_iff E0 #
∀ {α : Type u_2} [inst : DivisionMonoid α] {s : Set α}, IsUnit s ↔ ∃ a, s = {a} ∧ IsUnit a
theorem Set.isAddUnit_iff E0 #
∀ {α : Type u_2} [inst : SubtractionMonoid α] {s : Set α}, IsAddUnit s ↔ ∃ a, s = {a} ∧ IsAddUnit a
theorem Set.univ_div_univ E0 #
∀ {α : Type u_2} [inst : DivisionMonoid α], Set.univ / Set.univ = Set.univ
theorem Set.univ_sub_univ E0 #
∀ {α : Type u_2} [inst : SubtractionMonoid α], Set.univ - Set.univ = Set.univ
theorem Set.subset_div_left E1 #
∀ {α : Type u_2} [inst : DivisionMonoid α] {s t : Set α}, 1 ∈ t → s ⊆ s / t
theorem Set.subset_sub_left E1 #
∀ {α : Type u_2} [inst : SubtractionMonoid α] {s t : Set α}, 0 ∈ t → s ⊆ s - t
theorem Set.neg_subset_sub_right E1 #
∀ {α : Type u_2} [inst : SubtractionMonoid α] {s t : Set α}, 0 ∈ s → -t ⊆ s - t
theorem Set.inv_subset_div_right E1 #
∀ {α : Type u_2} [inst : DivisionMonoid α] {s t : Set α}, 1 ∈ s → t⁻¹ ⊆ s / t
theorem Set.zsmul_empty E0 #
∀ {α : Type u_2} [inst : SubtractionMonoid α] {n : ℤ}, n ≠ 0 → n • ∅ = ∅
theorem Set.empty_zpow E0 #
∀ {α : Type u_2} [inst : DivisionMonoid α] {n : ℤ}, n ≠ 0 → ∅ ^ n = ∅
theorem Set.Nonempty.zpow E1 #
∀ {α : Type u_2} [inst : DivisionMonoid α] {s : Set α}, s.Nonempty → ∀ {n : ℤ}, (s ^ n).Nonempty
theorem Set.Nonempty.zsmul E1 #
∀ {α : Type u_2} [inst : SubtractionMonoid α] {s : Set α}, s.Nonempty → ∀ {n : ℤ}, (n • s).Nonempty
theorem Set.zsmul_eq_empty E0 #
∀ {α : Type u_2} [inst : SubtractionMonoid α] {s : Set α} {n : ℤ}, n • s = ∅ ↔ s = ∅ ∧ n ≠ 0
theorem Set.zpow_eq_empty E0 #
∀ {α : Type u_2} [inst : DivisionMonoid α] {s : Set α} {n : ℤ}, s ^ n = ∅ ↔ s = ∅ ∧ n ≠ 0
theorem Set.zsmul_singleton E0 #
∀ {α : Type u_2} [inst : SubtractionMonoid α] (a : α) (n : ℤ), n • {a} = {n • a}
theorem Set.singleton_zpow E0 #
∀ {α : Type u_2} [inst : DivisionMonoid α] (a : α) (n : ℤ), {a} ^ n = {a ^ n}
def Set.divisionCommMonoid E1 #
{α : Type u_2} → [DivisionCommMonoid α] → DivisionCommMonoid (Set α)
Set α is a commutative division monoid under pointwise operations if α is.
def Set.subtractionCommMonoid E1 #
{α : Type u_2} → [SubtractionCommMonoid α] → SubtractionCommMonoid (Set α)
Set α is a commutative subtraction monoid under pointwise operations if α is.
theorem Set.one_mem_div_iff E0 #
∀ {α : Type u_2} [inst : Group α] {s t : Set α}, 1 ∈ s / t ↔ ¬Disjoint s t
theorem Set.zero_mem_sub_iff E0 #
∀ {α : Type u_2} [inst : AddGroup α] {s t : Set α}, 0 ∈ s - t ↔ ¬Disjoint s t
theorem Set.zero_mem_neg_add_iff E0 #
∀ {α : Type u_2} [inst : AddGroup α] {s t : Set α}, 0 ∈ -t + s ↔ ¬Disjoint s t
theorem Set.one_mem_inv_mul_iff E0 #
∀ {α : Type u_2} [inst : Group α] {s t : Set α}, 1 ∈ t⁻¹ * s ↔ ¬Disjoint s t
theorem Set.zero_notMem_sub_iff E0 #
∀ {α : Type u_2} [inst : AddGroup α] {s t : Set α}, 0 ∉ s - t ↔ Disjoint s t
theorem Set.one_notMem_div_iff E0 #
∀ {α : Type u_2} [inst : Group α] {s t : Set α}, 1 ∉ s / t ↔ Disjoint s t
theorem Set.one_notMem_inv_mul_iff E0 #
∀ {α : Type u_2} [inst : Group α] {s t : Set α}, 1 ∉ t⁻¹ * s ↔ Disjoint s t
theorem Set.zero_notMem_neg_add_iff E0 #
∀ {α : Type u_2} [inst : AddGroup α] {s t : Set α}, 0 ∉ -t + s ↔ Disjoint s t
theorem Disjoint.one_notMem_div_set E1 #
∀ {α : Type u_2} [inst : Group α] {s t : Set α}, Disjoint s t → 1 ∉ s / t
Alias of the reverse direction of Set.one_notMem_div_iff.
theorem Disjoint.zero_notMem_sub_set E1 #
∀ {α : Type u_2} [inst : AddGroup α] {s t : Set α}, Disjoint s t → 0 ∉ s - t
Alias of the reverse direction of Set.zero_notMem_sub_iff.
theorem Set.Nonempty.one_mem_div E1 #
∀ {α : Type u_2} [inst : Group α] {s : Set α}, s.Nonempty → 1 ∈ s / s
theorem Set.Nonempty.zero_mem_sub E1 #
∀ {α : Type u_2} [inst : AddGroup α] {s : Set α}, s.Nonempty → 0 ∈ s - s
theorem Set.isAddUnit_singleton E1 #
∀ {α : Type u_2} [inst : AddGroup α] (a : α), IsAddUnit {a}
theorem Set.isUnit_singleton E1 #
∀ {α : Type u_2} [inst : Group α] (a : α), IsUnit {a}
theorem Set.isAddUnit_iff_singleton E0 #
∀ {α : Type u_2} [inst : AddGroup α] {s : Set α}, IsAddUnit s ↔ ∃ a, s = {a}
theorem Set.isUnit_iff_singleton E0 #
∀ {α : Type u_2} [inst : Group α] {s : Set α}, IsUnit s ↔ ∃ a, s = {a}
theorem Set.image_add_left E0 #
∀ {α : Type u_2} [inst : AddGroup α] {t : Set α} {a : α}, (fun x ↦ a + x) '' t = (fun x ↦ -a + x) ⁻¹' t
theorem Set.image_mul_left E0 #
∀ {α : Type u_2} [inst : Group α] {t : Set α} {a : α}, (fun x ↦ a * x) '' t = (fun x ↦ a⁻¹ * x) ⁻¹' t
theorem Set.image_mul_right E0 #
∀ {α : Type u_2} [inst : Group α] {t : Set α} {b : α}, (fun x ↦ x * b) '' t = (fun x ↦ x * b⁻¹) ⁻¹' t
theorem Set.image_add_right E0 #
∀ {α : Type u_2} [inst : AddGroup α] {t : Set α} {b : α}, (fun x ↦ x + b) '' t = (fun x ↦ x + -b) ⁻¹' t
theorem Set.image_add_left' E1 #
∀ {α : Type u_2} [inst : AddGroup α] {t : Set α} {a : α}, (fun x ↦ -a + x) '' t = (fun x ↦ a + x) ⁻¹' t
theorem Set.image_mul_left' E1 #
∀ {α : Type u_2} [inst : Group α] {t : Set α} {a : α}, (fun x ↦ a⁻¹ * x) '' t = (fun x ↦ a * x) ⁻¹' t
theorem Set.image_mul_right' E1 #
∀ {α : Type u_2} [inst : Group α] {t : Set α} {b : α}, (fun x ↦ x * b⁻¹) '' t = (fun x ↦ x * b) ⁻¹' t
theorem Set.image_add_right' E1 #
∀ {α : Type u_2} [inst : AddGroup α] {t : Set α} {b : α}, (fun x ↦ x + -b) '' t = (fun x ↦ x + b) ⁻¹' t
theorem Set.image_div_left E1 #
∀ {α : Type u_2} [inst : Group α] {t : Set α} {a : α}, (fun x ↦ a / x) '' t = (fun x ↦ x⁻¹ * a) ⁻¹' t
theorem Set.image_sub_left E1 #
∀ {α : Type u_2} [inst : AddGroup α] {t : Set α} {a : α}, (fun x ↦ a - x) '' t = (fun x ↦ -x + a) ⁻¹' t
theorem Set.image_sub_right E1 #
∀ {α : Type u_2} [inst : AddGroup α] {t : Set α} {b : α}, (fun x ↦ x - b) '' t = (fun x ↦ x + b) ⁻¹' t
theorem Set.image_div_right E1 #
∀ {α : Type u_2} [inst : Group α] {t : Set α} {b : α}, (fun x ↦ x / b) '' t = (fun x ↦ x * b) ⁻¹' t
theorem Set.preimage_add_left_singleton E0 #
∀ {α : Type u_2} [inst : AddGroup α] {a b : α}, (fun x ↦ a + x) ⁻¹' {b} = {-a + b}
theorem Set.preimage_mul_left_singleton E0 #
∀ {α : Type u_2} [inst : Group α] {a b : α}, (fun x ↦ a * x) ⁻¹' {b} = {a⁻¹ * b}
theorem Set.preimage_mul_right_singleton E0 #
∀ {α : Type u_2} [inst : Group α] {a b : α}, (fun x ↦ x * a) ⁻¹' {b} = {b * a⁻¹}
theorem Set.preimage_add_right_singleton E0 #
∀ {α : Type u_2} [inst : AddGroup α] {a b : α}, (fun x ↦ x + a) ⁻¹' {b} = {b + -a}
theorem Set.preimage_neg_add_right_singleton E0 #
∀ {α : Type u_2} [inst : AddGroup α] {a b : α}, (fun x ↦ -x + a) ⁻¹' {b} = {a - b}
theorem Set.preimage_inv_mul_right_singleton E0 #
∀ {α : Type u_2} [inst : Group α] {a b : α}, (fun x ↦ x⁻¹ * a) ⁻¹' {b} = {a / b}
theorem Set.preimage_mul_left_one E0 #
∀ {α : Type u_2} [inst : Group α] {a : α}, (fun x ↦ a * x) ⁻¹' 1 = {a⁻¹}
theorem Set.preimage_add_left_zero E0 #
∀ {α : Type u_2} [inst : AddGroup α] {a : α}, (fun x ↦ a + x) ⁻¹' 0 = {-a}
theorem Set.preimage_add_right_zero E0 #
∀ {α : Type u_2} [inst : AddGroup α] {b : α}, (fun x ↦ x + b) ⁻¹' 0 = {-b}
theorem Set.preimage_mul_right_one E0 #
∀ {α : Type u_2} [inst : Group α] {b : α}, (fun x ↦ x * b) ⁻¹' 1 = {b⁻¹}
theorem Set.preimage_add_left_zero' E1 #
∀ {α : Type u_2} [inst : AddGroup α] {a : α}, (fun x ↦ -a + x) ⁻¹' 0 = {a}
theorem Set.preimage_mul_left_one' E1 #
∀ {α : Type u_2} [inst : Group α] {a : α}, (fun x ↦ a⁻¹ * x) ⁻¹' 1 = {a}
theorem Set.preimage_add_right_zero' E1 #
∀ {α : Type u_2} [inst : AddGroup α] {b : α}, (fun x ↦ x + -b) ⁻¹' 0 = {b}
theorem Set.preimage_mul_right_one' E1 #
∀ {α : Type u_2} [inst : Group α] {b : α}, (fun x ↦ x * b⁻¹) ⁻¹' 1 = {b}
theorem Set.mul_univ E0 #
∀ {α : Type u_2} [inst : Group α] {s : Set α}, s.Nonempty → s * Set.univ = Set.univ
theorem Set.add_univ E0 #
∀ {α : Type u_2} [inst : AddGroup α] {s : Set α}, s.Nonempty → s + Set.univ = Set.univ
theorem Set.univ_mul E0 #
∀ {α : Type u_2} [inst : Group α] {t : Set α}, t.Nonempty → Set.univ * t = Set.univ
theorem Set.univ_add E0 #
∀ {α : Type u_2} [inst : AddGroup α] {t : Set α}, t.Nonempty → Set.univ + t = Set.univ
theorem Set.image_inv E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Group α] [inst_1 : DivisionMonoid β] [inst_2 : FunLike F α β]
[MonoidHomClass F α β] (f : F) (s : Set α), ⇑f '' s⁻¹ = (⇑f '' s)⁻¹
theorem Set.image_neg E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : AddGroup α] [inst_1 : SubtractionMonoid β]
[inst_2 : FunLike F α β] [AddMonoidHomClass F α β] (f : F) (s : Set α), ⇑f '' (-s) = -⇑f '' s
theorem Set.image_mul E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Mul α] [inst_1 : Mul β] [inst_2 : FunLike F α β]
[MulHomClass F α β] (m : F) {s t : Set α}, ⇑m '' (s * t) = ⇑m '' s * ⇑m '' t
theorem Set.image_add E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Add α] [inst_1 : Add β] [inst_2 : FunLike F α β]
[AddHomClass F α β] (m : F) {s t : Set α}, ⇑m '' (s + t) = ⇑m '' s + ⇑m '' t
theorem Set.add_subset_range E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Add α] [inst_1 : Add β] [inst_2 : FunLike F α β]
[AddHomClass F α β] (m : F) {s t : Set β}, s ⊆ Set.range ⇑m → t ⊆ Set.range ⇑m → s + t ⊆ Set.range ⇑m
theorem Set.mul_subset_range E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Mul α] [inst_1 : Mul β] [inst_2 : FunLike F α β]
[MulHomClass F α β] (m : F) {s t : Set β}, s ⊆ Set.range ⇑m → t ⊆ Set.range ⇑m → s * t ⊆ Set.range ⇑m
theorem Set.preimage_mul_preimage_subset E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Mul α] [inst_1 : Mul β] [inst_2 : FunLike F α β]
[MulHomClass F α β] (m : F) {s t : Set β}, ⇑m ⁻¹' s * ⇑m ⁻¹' t ⊆ ⇑m ⁻¹' (s * t)
theorem Set.preimage_add_preimage_subset E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Add α] [inst_1 : Add β] [inst_2 : FunLike F α β]
[AddHomClass F α β] (m : F) {s t : Set β}, ⇑m ⁻¹' s + ⇑m ⁻¹' t ⊆ ⇑m ⁻¹' (s + t)
theorem Set.preimage_add E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Add α] [inst_1 : Add β] [inst_2 : FunLike F α β]
[AddHomClass F α β] (m : F),
Function.Injective ⇑m → ∀ {s t : Set β}, s ⊆ Set.range ⇑m → t ⊆ Set.range ⇑m → ⇑m ⁻¹' (s + t) = ⇑m ⁻¹' s + ⇑m ⁻¹' t
theorem Set.preimage_mul E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Mul α] [inst_1 : Mul β] [inst_2 : FunLike F α β]
[MulHomClass F α β] (m : F),
Function.Injective ⇑m → ∀ {s t : Set β}, s ⊆ Set.range ⇑m → t ⊆ Set.range ⇑m → ⇑m ⁻¹' (s * t) = ⇑m ⁻¹' s * ⇑m ⁻¹' t
theorem Set.image_pow_of_ne_zero E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Monoid α] [inst_1 : Monoid β] [inst_2 : FunLike F α β]
[MulHomClass F α β] {n : ℕ}, n ≠ 0 → ∀ (f : F) (s : Set α), ⇑f '' s ^ n = (⇑f '' s) ^ n
theorem Set.image_nsmul_of_ne_zero E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : AddMonoid α] [inst_1 : AddMonoid β] [inst_2 : FunLike F α β]
[AddHomClass F α β] {n : ℕ}, n ≠ 0 → ∀ (f : F) (s : Set α), ⇑f '' (n • s) = n • ⇑f '' s
theorem Set.image_nsmul E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : AddMonoid α] [inst_1 : AddMonoid β] [inst_2 : FunLike F α β]
[AddMonoidHomClass F α β] (f : F) (s : Set α) (n : ℕ), ⇑f '' (n • s) = n • ⇑f '' s
theorem Set.image_pow E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Monoid α] [inst_1 : Monoid β] [inst_2 : FunLike F α β]
[MonoidHomClass F α β] (f : F) (s : Set α) (n : ℕ), ⇑f '' s ^ n = (⇑f '' s) ^ n
theorem Set.preimage_pow_subset E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Monoid α] [inst_1 : Monoid β] [inst_2 : FunLike F α β]
[MonoidHomClass F α β] (f : F) (s : Set β) (n : ℕ), (⇑f ⁻¹' s) ^ n ⊆ ⇑f ⁻¹' s ^ n
theorem Set.preimage_nsmul_subset E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : AddMonoid α] [inst_1 : AddMonoid β] [inst_2 : FunLike F α β]
[AddMonoidHomClass F α β] (f : F) (s : Set β) (n : ℕ), n • ⇑f ⁻¹' s ⊆ ⇑f ⁻¹' (n • s)
theorem Set.image_sub E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : AddGroup α] [inst_1 : SubtractionMonoid β]
[inst_2 : FunLike F α β] [AddMonoidHomClass F α β] (m : F) {s t : Set α}, ⇑m '' (s - t) = ⇑m '' s - ⇑m '' t
theorem Set.image_div E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Group α] [inst_1 : DivisionMonoid β] [inst_2 : FunLike F α β]
[MonoidHomClass F α β] (m : F) {s t : Set α}, ⇑m '' (s / t) = ⇑m '' s / ⇑m '' t
theorem Set.sub_subset_range E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : AddGroup α] [inst_1 : SubtractionMonoid β]
[inst_2 : FunLike F α β] [AddMonoidHomClass F α β] (m : F) {s t : Set β},
s ⊆ Set.range ⇑m → t ⊆ Set.range ⇑m → s - t ⊆ Set.range ⇑m
theorem Set.div_subset_range E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Group α] [inst_1 : DivisionMonoid β] [inst_2 : FunLike F α β]
[MonoidHomClass F α β] (m : F) {s t : Set β}, s ⊆ Set.range ⇑m → t ⊆ Set.range ⇑m → s / t ⊆ Set.range ⇑m
theorem Set.preimage_div_preimage_subset E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Group α] [inst_1 : DivisionMonoid β] [inst_2 : FunLike F α β]
[MonoidHomClass F α β] (m : F) {s t : Set β}, ⇑m ⁻¹' s / ⇑m ⁻¹' t ⊆ ⇑m ⁻¹' (s / t)
theorem Set.preimage_sub_preimage_subset E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : AddGroup α] [inst_1 : SubtractionMonoid β]
[inst_2 : FunLike F α β] [AddMonoidHomClass F α β] (m : F) {s t : Set β}, ⇑m ⁻¹' s - ⇑m ⁻¹' t ⊆ ⇑m ⁻¹' (s - t)
theorem Set.preimage_div E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Group α] [inst_1 : DivisionMonoid β] [inst_2 : FunLike F α β]
[MonoidHomClass F α β] (m : F),
Function.Injective ⇑m → ∀ {s t : Set β}, s ⊆ Set.range ⇑m → t ⊆ Set.range ⇑m → ⇑m ⁻¹' (s / t) = ⇑m ⁻¹' s / ⇑m ⁻¹' t
theorem Set.preimage_sub E1 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : AddGroup α] [inst_1 : SubtractionMonoid β]
[inst_2 : FunLike F α β] [AddMonoidHomClass F α β] (m : F),
Function.Injective ⇑m → ∀ {s t : Set β}, s ⊆ Set.range ⇑m → t ⊆ Set.range ⇑m → ⇑m ⁻¹' (s - t) = ⇑m ⁻¹' s - ⇑m ⁻¹' t
theorem Set.inv_pi E0 #
∀ {ι : Type u_4} {α : ι → Type u_5} [inst : (i : ι) → Inv (α i)] (s : Set ι) (t : (i : ι) → Set (α i)),
(s.pi t)⁻¹ = s.pi fun i ↦ (t i)⁻¹
theorem Set.neg_pi E0 #
∀ {ι : Type u_4} {α : ι → Type u_5} [inst : (i : ι) → Neg (α i)] (s : Set ι) (t : (i : ι) → Set (α i)),
-s.pi t = s.pi fun i ↦ -t i
theorem Set.MapsTo.mul E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : Mul β] {A : Set α} {B₁ B₂ : Set β} {f₁ f₂ : α → β},
Set.MapsTo f₁ A B₁ → Set.MapsTo f₂ A B₂ → Set.MapsTo (f₁ * f₂) A (B₁ * B₂)
theorem Set.MapsTo.add E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : Add β] {A : Set α} {B₁ B₂ : Set β} {f₁ f₂ : α → β},
Set.MapsTo f₁ A B₁ → Set.MapsTo f₂ A B₂ → Set.MapsTo (f₁ + f₂) A (B₁ + B₂)
theorem Set.MapsTo.inv E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : InvolutiveInv β] {A : Set α} {B : Set β} {f : α → β},
Set.MapsTo f A B → Set.MapsTo f⁻¹ A B⁻¹
theorem Set.MapsTo.neg E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : InvolutiveNeg β] {A : Set α} {B : Set β} {f : α → β},
Set.MapsTo f A B → Set.MapsTo (-f) A (-B)
theorem Set.MapsTo.sub E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : Sub β] {A : Set α} {B₁ B₂ : Set β} {f₁ f₂ : α → β},
Set.MapsTo f₁ A B₁ → Set.MapsTo f₂ A B₂ → Set.MapsTo (f₁ - f₂) A (B₁ - B₂)
theorem Set.MapsTo.div E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : Div β] {A : Set α} {B₁ B₂ : Set β} {f₁ f₂ : α → β},
Set.MapsTo f₁ A B₁ → Set.MapsTo f₂ A B₂ → Set.MapsTo (f₁ / f₂) A (B₁ / B₂)
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Set.inv_setOf | Set.inv_ofPred | 2026-07-09 |
Set.neg_setOf | Set.neg_ofPred | 2026-07-09 |