Mathlib.Algebra.Group.Submonoid.Membership
112 declarations. Mathlib docs · Source
theorem Submonoid.mem_iSup_of_directed E0 #
∀ {M : Type u_1} [inst : MulOneClass M] {ι : Sort u_4} [Nonempty ι] {S : ι → Submonoid M},
Directed (fun x1 x2 ↦ x1 ≤ x2) S → ∀ {x : M}, x ∈ ⨆ i, S i ↔ ∃ i, x ∈ S i
theorem AddSubmonoid.mem_iSup_of_directed E0 #
∀ {M : Type u_1} [inst : AddZeroClass M] {ι : Sort u_4} [Nonempty ι] {S : ι → AddSubmonoid M},
Directed (fun x1 x2 ↦ x1 ≤ x2) S → ∀ {x : M}, x ∈ ⨆ i, S i ↔ ∃ i, x ∈ S i
theorem Submonoid.mem_biSup_of_directedOn E0 #
∀ {M : Type u_1} [inst : MulOneClass M] {ι : Type u_4} {p : ι → Prop},
(∃ i, p i) →
∀ {S : ι → Submonoid M},
DirectedOn (Function.onFun (fun x1 x2 ↦ x1 ≤ x2) S) {i | p i} →
∀ {x : M}, x ∈ ⨆ i, ⨆ (_ : p i), S i ↔ ∃ i, p i ∧ x ∈ S i
theorem AddSubmonoid.mem_biSup_of_directedOn E0 #
∀ {M : Type u_1} [inst : AddZeroClass M] {ι : Type u_4} {p : ι → Prop},
(∃ i, p i) →
∀ {S : ι → AddSubmonoid M},
DirectedOn (Function.onFun (fun x1 x2 ↦ x1 ≤ x2) S) {i | p i} →
∀ {x : M}, x ∈ ⨆ i, ⨆ (_ : p i), S i ↔ ∃ i, p i ∧ x ∈ S i
theorem Submonoid.mem_iSup_prop E0 #
∀ {M : Type u_1} [inst : MulOneClass M] {p : Prop} {S : p → Submonoid M} {x : M},
x ∈ ⨆ (h : p), S h ↔ x = 1 ∨ ∃ (h : p), x ∈ S h
theorem AddSubmonoid.mem_iSup_prop E0 #
∀ {M : Type u_1} [inst : AddZeroClass M] {p : Prop} {S : p → AddSubmonoid M} {x : M},
x ∈ ⨆ (h : p), S h ↔ x = 0 ∨ ∃ (h : p), x ∈ S h
theorem Submonoid.coe_iSup_of_directed E0 #
∀ {M : Type u_1} [inst : MulOneClass M] {ι : Sort u_4} [Nonempty ι] {S : ι → Submonoid M},
Directed (fun x1 x2 ↦ x1 ≤ x2) S → ↑(⨆ i, S i) = ⋃ i, ↑(S i)
theorem AddSubmonoid.coe_iSup_of_directed E0 #
∀ {M : Type u_1} [inst : AddZeroClass M] {ι : Sort u_4} [Nonempty ι] {S : ι → AddSubmonoid M},
Directed (fun x1 x2 ↦ x1 ≤ x2) S → ↑(⨆ i, S i) = ⋃ i, ↑(S i)
theorem Submonoid.mem_sSup_of_directedOn E0 #
∀ {M : Type u_1} [inst : MulOneClass M] {S : Set (Submonoid M)},
S.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) S → ∀ {x : M}, x ∈ sSup S ↔ ∃ s ∈ S, x ∈ s
theorem AddSubmonoid.mem_sSup_of_directedOn E0 #
∀ {M : Type u_1} [inst : AddZeroClass M] {S : Set (AddSubmonoid M)},
S.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) S → ∀ {x : M}, x ∈ sSup S ↔ ∃ s ∈ S, x ∈ s
theorem Submonoid.coe_sSup_of_directedOn E0 #
∀ {M : Type u_1} [inst : MulOneClass M] {S : Set (Submonoid M)},
S.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) S → ↑(sSup S) = ⋃ s ∈ S, ↑s
theorem AddSubmonoid.coe_sSup_of_directedOn E0 #
∀ {M : Type u_1} [inst : AddZeroClass M] {S : Set (AddSubmonoid M)},
S.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) S → ↑(sSup S) = ⋃ s ∈ S, ↑s
theorem Submonoid.isMulCommutative_iSup E1 #
∀ {M : Type u_1} [inst : MulOneClass M] {ι : Sort u_4} [Nonempty ι] {S : ι → Submonoid M}
[hS : ∀ (i : ι), IsMulCommutative ↥(S i)], Directed (fun x1 x2 ↦ x1 ≤ x2) S → IsMulCommutative ↥(⨆ i, S i)
theorem AddSubmonoid.isAddCommutative_iSup E1 #
∀ {M : Type u_1} [inst : AddZeroClass M] {ι : Sort u_4} [Nonempty ι] {S : ι → AddSubmonoid M}
[hS : ∀ (i : ι), IsAddCommutative ↥(S i)], Directed (fun x1 x2 ↦ x1 ≤ x2) S → IsAddCommutative ↥(⨆ i, S i)
instance AddSubmonoid.instIsAddCommutative_iSup E0 #
∀ {M : Type u_1} [inst : AddZeroClass M] {ι : Type u_4} [Nonempty ι] [inst_2 : Preorder ι] [IsDirectedOrder ι]
{S : ι →o AddSubmonoid M} [hS : ∀ (i : ι), IsAddCommutative ↥(S i)], IsAddCommutative ↥(⨆ i, S i)
instance Submonoid.instIsMulCommutative_iSup E0 #
∀ {M : Type u_1} [inst : MulOneClass M] {ι : Type u_4} [Nonempty ι] [inst_2 : Preorder ι] [IsDirectedOrder ι]
{S : ι →o Submonoid M} [hS : ∀ (i : ι), IsMulCommutative ↥(S i)], IsMulCommutative ↥(⨆ i, S i)
theorem Submonoid.mem_sup_left E0 #
∀ {M : Type u_1} [inst : MulOneClass M] {S T : Submonoid M} {x : M}, x ∈ S → x ∈ S ⊔ T
theorem AddSubmonoid.mem_sup_left E0 #
∀ {M : Type u_1} [inst : AddZeroClass M] {S T : AddSubmonoid M} {x : M}, x ∈ S → x ∈ S ⊔ T
theorem Submonoid.mem_sup_right E0 #
∀ {M : Type u_1} [inst : MulOneClass M] {S T : Submonoid M} {x : M}, x ∈ T → x ∈ S ⊔ T
theorem AddSubmonoid.mem_sup_right E0 #
∀ {M : Type u_1} [inst : AddZeroClass M] {S T : AddSubmonoid M} {x : M}, x ∈ T → x ∈ S ⊔ T
theorem AddSubmonoid.add_mem_sup E1 #
∀ {M : Type u_1} [inst : AddZeroClass M] {S T : AddSubmonoid M} {x y : M}, x ∈ S → y ∈ T → x + y ∈ S ⊔ T
theorem Submonoid.mul_mem_sup E1 #
∀ {M : Type u_1} [inst : MulOneClass M] {S T : Submonoid M} {x y : M}, x ∈ S → y ∈ T → x * y ∈ S ⊔ T
theorem Submonoid.mem_iSup_of_mem E0 #
∀ {M : Type u_1} [inst : MulOneClass M] {ι : Sort u_4} {S : ι → Submonoid M} (i : ι) {x : M}, x ∈ S i → x ∈ iSup S
theorem AddSubmonoid.mem_iSup_of_mem E0 #
∀ {M : Type u_1} [inst : AddZeroClass M] {ι : Sort u_4} {S : ι → AddSubmonoid M} (i : ι) {x : M}, x ∈ S i → x ∈ iSup S
theorem AddSubmonoid.mem_sSup_of_mem E0 #
∀ {M : Type u_1} [inst : AddZeroClass M] {S : Set (AddSubmonoid M)} {s : AddSubmonoid M},
s ∈ S → ∀ {x : M}, x ∈ s → x ∈ sSup S
theorem Submonoid.mem_sSup_of_mem E0 #
∀ {M : Type u_1} [inst : MulOneClass M] {S : Set (Submonoid M)} {s : Submonoid M}, s ∈ S → ∀ {x : M}, x ∈ s → x ∈ sSup S
theorem Submonoid.iSup_induction E1 #
∀ {M : Type u_1} [inst : MulOneClass M] {ι : Sort u_4} (S : ι → Submonoid M) {motive : M → Prop} {x : M},
x ∈ ⨆ i, S i →
(∀ (i : ι), ∀ x ∈ S i, motive x) → motive 1 → (∀ (x y : M), motive x → motive y → motive (x * y)) → motive x
An induction principle for elements of ⨆ i, S i.
If C holds for 1 and all elements of S i for all i, and is preserved under multiplication,
then it holds for all elements of the supremum of S.
theorem AddSubmonoid.iSup_induction E1 #
∀ {M : Type u_1} [inst : AddZeroClass M] {ι : Sort u_4} (S : ι → AddSubmonoid M) {motive : M → Prop} {x : M},
x ∈ ⨆ i, S i →
(∀ (i : ι), ∀ x ∈ S i, motive x) → motive 0 → (∀ (x y : M), motive x → motive y → motive (x + y)) → motive x
An induction principle for elements of ⨆ i, S i.
If C holds for 0 and all elements of S i for all i, and is preserved under addition,
then it holds for all elements of the supremum of S.
theorem Submonoid.iSup_induction' E1 #
∀ {M : Type u_1} [inst : MulOneClass M] {ι : Sort u_4} (S : ι → Submonoid M) {motive : (x : M) → x ∈ ⨆ i, S i → Prop},
(∀ (i : ι) (x : M) (hxS : x ∈ S i), motive x ⋯) →
motive 1 ⋯ →
(∀ (x y : M) (hx : x ∈ ⨆ i, S i) (hy : y ∈ ⨆ i, S i), motive x hx → motive y hy → motive (x * y) ⋯) →
∀ {x : M} (hx : x ∈ ⨆ i, S i), motive x hx
A dependent version of Submonoid.iSup_induction.
theorem AddSubmonoid.iSup_induction' E1 #
∀ {M : Type u_1} [inst : AddZeroClass M] {ι : Sort u_4} (S : ι → AddSubmonoid M)
{motive : (x : M) → x ∈ ⨆ i, S i → Prop},
(∀ (i : ι) (x : M) (hxS : x ∈ S i), motive x ⋯) →
motive 0 ⋯ →
(∀ (x y : M) (hx : x ∈ ⨆ i, S i) (hy : y ∈ ⨆ i, S i), motive x hx → motive y hy → motive (x + y) ⋯) →
∀ {x : M} (hx : x ∈ ⨆ i, S i), motive x hx
A dependent version of AddSubmonoid.iSup_induction.
theorem FreeMonoid.closure_range_of E1 #
∀ {α : Type u_4}, Submonoid.closure (Set.range FreeMonoid.of) = ⊤
theorem FreeAddMonoid.closure_range_of E1 #
∀ {α : Type u_4}, AddSubmonoid.closure (Set.range FreeAddMonoid.of) = ⊤
theorem Submonoid.closure_singleton_eq E0 #
∀ {M : Type u_1} [inst : Monoid M] (x : M), Submonoid.closure {x} = MonoidHom.mrange ((powersHom M) x)
theorem Submonoid.mem_closure_singleton E0 #
∀ {M : Type u_1} [inst : Monoid M] {x y : M}, y ∈ Submonoid.closure {x} ↔ ∃ n, x ^ n = y
The submonoid generated by an element of a monoid equals the set of natural number powers of the element.
theorem Submonoid.mem_closure_singleton_self E0 #
∀ {M : Type u_1} [inst : Monoid M] {y : M}, y ∈ Submonoid.closure {y}
theorem Submonoid.closure_singleton_one E1 #
∀ {M : Type u_1} [inst : Monoid M], Submonoid.closure {1} = ⊥
theorem Submonoid.card_bot E1 #
∀ {M : Type u_1} [inst : Monoid M] {x : Fintype ↥⊥}, Fintype.card ↥⊥ = 1
curly brackets {} are used here instead of instance brackets [] because
the instance in a goal is often not the same as the one inferred by type class inference.
theorem AddSubmonoid.card_bot E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {x : Fintype ↥⊥}, Fintype.card ↥⊥ = 1
theorem Submonoid.card_le_one_iff_eq_bot E1 #
∀ {M : Type u_1} [inst : Monoid M] {S : Submonoid M} [inst_1 : Fintype ↥S], Fintype.card ↥S ≤ 1 ↔ S = ⊥
theorem AddSubmonoid.card_le_one_iff_eq_bot E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {S : AddSubmonoid M} [inst_1 : Fintype ↥S], Fintype.card ↥S ≤ 1 ↔ S = ⊥
theorem FreeMonoid.mrange_lift E1 #
∀ {M : Type u_1} [inst : Monoid M] {α : Type u_4} (f : α → M),
MonoidHom.mrange (FreeMonoid.lift f) = Submonoid.closure (Set.range f)
theorem FreeAddMonoid.mrange_lift E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {α : Type u_4} (f : α → M),
AddMonoidHom.mrange (FreeAddMonoid.lift f) = AddSubmonoid.closure (Set.range f)
theorem AddSubmonoid.closure_eq_mrange E1 #
∀ {M : Type u_1} [inst : AddMonoid M] (s : Set M),
AddSubmonoid.closure s = AddMonoidHom.mrange (FreeAddMonoid.lift Subtype.val)
theorem Submonoid.closure_eq_mrange E1 #
∀ {M : Type u_1} [inst : Monoid M] (s : Set M), Submonoid.closure s = MonoidHom.mrange (FreeMonoid.lift Subtype.val)
theorem AddSubmonoid.closure_eq_image_sum E1 #
∀ {M : Type u_1} [inst : AddMonoid M] (s : Set M), ↑(AddSubmonoid.closure s) = List.sum '' {l | ∀ x ∈ l, x ∈ s}
theorem Submonoid.closure_eq_image_prod E1 #
∀ {M : Type u_1} [inst : Monoid M] (s : Set M), ↑(Submonoid.closure s) = List.prod '' {l | ∀ x ∈ l, x ∈ s}
theorem Submonoid.exists_list_of_mem_closure E1 #
∀ {M : Type u_1} [inst : Monoid M] {s : Set M} {x : M}, x ∈ Submonoid.closure s → ∃ l, (∀ y ∈ l, y ∈ s) ∧ l.prod = x
theorem AddSubmonoid.exists_list_of_mem_closure E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {s : Set M} {x : M},
x ∈ AddSubmonoid.closure s → ∃ l, (∀ y ∈ l, y ∈ s) ∧ l.sum = x
theorem AddSubmonoid.exists_multiset_of_mem_closure E1 #
∀ {M : Type u_4} [inst : AddCommMonoid M] {s : Set M} {x : M},
x ∈ AddSubmonoid.closure s → ∃ l, (∀ y ∈ l, y ∈ s) ∧ l.sum = x
theorem Submonoid.exists_multiset_of_mem_closure E1 #
∀ {M : Type u_4} [inst : CommMonoid M] {s : Set M} {x : M}, x ∈ Submonoid.closure s → ∃ l, (∀ y ∈ l, y ∈ s) ∧ l.prod = x
theorem AddSubmonoid.closure_induction_left E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {s : Set M} {motive : (m : M) → m ∈ AddSubmonoid.closure s → Prop},
motive 0 ⋯ →
(∀ (x : M) (hx : x ∈ s) (y : M) (hy : y ∈ AddSubmonoid.closure s), motive y hy → motive (x + y) ⋯) →
∀ {x : M} (h : x ∈ AddSubmonoid.closure s), motive x h
theorem Submonoid.closure_induction_left E1 #
∀ {M : Type u_1} [inst : Monoid M] {s : Set M} {motive : (m : M) → m ∈ Submonoid.closure s → Prop},
motive 1 ⋯ →
(∀ (x : M) (hx : x ∈ s) (y : M) (hy : y ∈ Submonoid.closure s), motive y hy → motive (x * y) ⋯) →
∀ {x : M} (h : x ∈ Submonoid.closure s), motive x h
theorem AddSubmonoid.induction_of_closure_eq_top_left E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {s : Set M} {motive : M → Prop},
AddSubmonoid.closure s = ⊤ → ∀ (x : M), motive 0 → (∀ x ∈ s, ∀ (y : M), motive y → motive (x + y)) → motive x
theorem Submonoid.induction_of_closure_eq_top_left E1 #
∀ {M : Type u_1} [inst : Monoid M] {s : Set M} {motive : M → Prop},
Submonoid.closure s = ⊤ → ∀ (x : M), motive 1 → (∀ x ∈ s, ∀ (y : M), motive y → motive (x * y)) → motive x
theorem AddSubmonoid.closure_induction_right E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {s : Set M} {motive : (m : M) → m ∈ AddSubmonoid.closure s → Prop},
motive 0 ⋯ →
(∀ (x : M) (hx : x ∈ AddSubmonoid.closure s) (y : M) (hy : y ∈ s), motive x hx → motive (x + y) ⋯) →
∀ {x : M} (h : x ∈ AddSubmonoid.closure s), motive x h
theorem Submonoid.closure_induction_right E1 #
∀ {M : Type u_1} [inst : Monoid M] {s : Set M} {motive : (m : M) → m ∈ Submonoid.closure s → Prop},
motive 1 ⋯ →
(∀ (x : M) (hx : x ∈ Submonoid.closure s) (y : M) (hy : y ∈ s), motive x hx → motive (x * y) ⋯) →
∀ {x : M} (h : x ∈ Submonoid.closure s), motive x h
theorem AddSubmonoid.induction_of_closure_eq_top_right E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {s : Set M} {motive : M → Prop},
AddSubmonoid.closure s = ⊤ → ∀ (x : M), motive 0 → (∀ (x y : M), y ∈ s → motive x → motive (x + y)) → motive x
theorem Submonoid.induction_of_closure_eq_top_right E1 #
∀ {M : Type u_1} [inst : Monoid M] {s : Set M} {motive : M → Prop},
Submonoid.closure s = ⊤ → ∀ (x : M), motive 1 → (∀ (x y : M), y ∈ s → motive x → motive (x * y)) → motive x
def Submonoid.powers E1 #
{M : Type u_1} → [inst : Monoid M] → M → Submonoid M
The submonoid generated by an element.
theorem Submonoid.mem_powers E0 #
∀ {M : Type u_1} [inst : Monoid M] (n : M), n ∈ Submonoid.powers n
theorem Submonoid.coe_powers E0 #
∀ {M : Type u_1} [inst : Monoid M] (x : M), ↑(Submonoid.powers x) = Set.range fun n ↦ x ^ n
theorem Submonoid.mem_powers_iff E0 #
∀ {M : Type u_1} [inst : Monoid M] (x z : M), x ∈ Submonoid.powers z ↔ ∃ n, z ^ n = x
instance Submonoid.decidableMemPowers E0 #
{M : Type u_1} → [inst : Monoid M] → {a : M} → DecidablePred fun x ↦ x ∈ Submonoid.powers a
instance Submonoid.fintypePowers E0 #
{M : Type u_1} → [inst : Monoid M] → {a : M} → [Fintype M] → Fintype ↥(Submonoid.powers a)
theorem Submonoid.powers_eq_closure E1 #
∀ {M : Type u_1} [inst : Monoid M] (n : M), Submonoid.powers n = Submonoid.closure {n}
theorem Submonoid.powers_le E2 #
∀ {M : Type u_1} [inst : Monoid M] {n : M} {P : Submonoid M}, Submonoid.powers n ≤ P ↔ n ∈ P
theorem Submonoid.powers_one E0 #
∀ {M : Type u_1} [inst : Monoid M], Submonoid.powers 1 = ⊥
theorem IsIdempotentElem.coe_powers E0 #
∀ {M : Type u_1} [inst : Monoid M] {a : M}, IsIdempotentElem a → ↑(Submonoid.powers a) = {1, a}
abbrev Submonoid.groupPowers E1 #
{M : Type u_1} → [inst : Monoid M] → {x : M} → {n : ℕ} → 0 < n → x ^ n = 1 → Group ↥(Submonoid.powers x)
The submonoid generated by an element is a group if that element has finite order.
def Submonoid.pow E1 #
{M : Type u_1} → [inst : Monoid M] → (n : M) → ℕ → ↥(Submonoid.powers n)
Exponentiation map from natural numbers to powers.
theorem Submonoid.pow_coe E0 #
∀ {M : Type u_1} [inst : Monoid M] (n : M) (m : ℕ), ↑(Submonoid.pow n m) = n ^ m
theorem Submonoid.pow_apply E0 #
∀ {M : Type u_1} [inst : Monoid M] (n : M) (m : ℕ), Submonoid.pow n m = ⟨n ^ m, ⋯⟩
def Submonoid.log E1 #
{M : Type u_1} → [inst : Monoid M] → [DecidableEq M] → {n : M} → ↥(Submonoid.powers n) → ℕ
Logarithms from powers to natural numbers.
theorem Submonoid.pow_log_eq_self E0 #
∀ {M : Type u_1} [inst : Monoid M] [inst_1 : DecidableEq M] {n : M} (p : ↥(Submonoid.powers n)),
Submonoid.pow n (Submonoid.log p) = p
theorem Submonoid.pow_right_injective_iff_pow_injective E1 #
∀ {M : Type u_1} [inst : Monoid M] {n : M}, (Function.Injective fun m ↦ n ^ m) ↔ Function.Injective (Submonoid.pow n)
theorem Submonoid.log_pow_eq_self E0 #
∀ {M : Type u_1} [inst : Monoid M] [inst_1 : DecidableEq M] {n : M},
(Function.Injective fun m ↦ n ^ m) → ∀ (m : ℕ), Submonoid.log (Submonoid.pow n m) = m
def Submonoid.powLogEquiv E1 #
{M : Type u_1} →
[inst : Monoid M] →
[DecidableEq M] → {n : M} → (Function.Injective fun m ↦ n ^ m) → Multiplicative ℕ ≃* ↥(Submonoid.powers n)
The exponentiation map is an isomorphism from the additive monoid on natural numbers to powers when it is injective. The inverse is given by the logarithms.
theorem Submonoid.powLogEquiv_apply E0 #
∀ {M : Type u_1} [inst : Monoid M] [inst_1 : DecidableEq M] {n : M} (h : Function.Injective fun m ↦ n ^ m)
(m : Multiplicative ℕ), (Submonoid.powLogEquiv h) m = Submonoid.pow n (Multiplicative.toAdd m)
theorem Submonoid.powLogEquiv_symm_apply E0 #
∀ {M : Type u_1} [inst : Monoid M] [inst_1 : DecidableEq M] {n : M} (h : Function.Injective fun m ↦ n ^ m)
(m : ↥(Submonoid.powers n)), (Submonoid.powLogEquiv h).symm m = Multiplicative.ofAdd (Submonoid.log m)
theorem Submonoid.log_mul E1 #
∀ {M : Type u_1} [inst : Monoid M] [inst_1 : DecidableEq M] {n : M},
(Function.Injective fun m ↦ n ^ m) →
∀ (x y : ↥(Submonoid.powers n)), Submonoid.log (x * y) = Submonoid.log x + Submonoid.log y
theorem Submonoid.log_pow_int_eq_self E1 #
∀ {x : ℤ}, 1 < x.natAbs → ∀ (m : ℕ), Submonoid.log (Submonoid.pow x m) = m
theorem Submonoid.map_powers E0 #
∀ {M : Type u_1} [inst : Monoid M] {N : Type u_4} {F : Type u_5} [inst_1 : Monoid N] [inst_2 : FunLike F M N]
[inst_3 : MonoidHomClass F M N] (f : F) (m : M), Submonoid.map f (Submonoid.powers m) = Submonoid.powers (f m)
theorem VAddAssocClass.of_mclosure_eq_top E1 #
∀ {M : Type u_1} {N : Type u_4} {α : Type u_5} [inst : AddMonoid M] [inst_1 : AddAction M N] [inst_2 : VAdd N α]
[inst_3 : AddAction M α] {s : Set M},
AddSubmonoid.closure s = ⊤ → (∀ x ∈ s, ∀ (y : N) (z : α), (x +ᵥ y) +ᵥ z = x +ᵥ y +ᵥ z) → VAddAssocClass M N α
theorem IsScalarTower.of_mclosure_eq_top E1 #
∀ {M : Type u_1} {N : Type u_4} {α : Type u_5} [inst : Monoid M] [inst_1 : MulAction M N] [inst_2 : SMul N α]
[inst_3 : MulAction M α] {s : Set M},
Submonoid.closure s = ⊤ → (∀ x ∈ s, ∀ (y : N) (z : α), (x • y) • z = x • y • z) → IsScalarTower M N α
theorem VAddCommClass.of_mclosure_eq_top E1 #
∀ {M : Type u_1} {N : Type u_4} {α : Type u_5} [inst : AddMonoid M] [inst_1 : VAdd N α] [inst_2 : AddAction M α]
{s : Set M},
AddSubmonoid.closure s = ⊤ → (∀ x ∈ s, ∀ (y : N) (z : α), x +ᵥ y +ᵥ z = y +ᵥ x +ᵥ z) → VAddCommClass M N α
theorem SMulCommClass.of_mclosure_eq_top E1 #
∀ {M : Type u_1} {N : Type u_4} {α : Type u_5} [inst : Monoid M] [inst_1 : SMul N α] [inst_2 : MulAction M α]
{s : Set M}, Submonoid.closure s = ⊤ → (∀ x ∈ s, ∀ (y : N) (z : α), x • y • z = y • x • z) → SMulCommClass M N α
theorem AddSubmonoid.sup_eq_range E1 #
∀ {N : Type u_4} [inst : AddCommMonoid N] (s t : AddSubmonoid N),
s ⊔ t = AddMonoidHom.mrange (s.subtype.coprod t.subtype)
theorem Submonoid.sup_eq_range E1 #
∀ {N : Type u_4} [inst : CommMonoid N] (s t : Submonoid N), s ⊔ t = MonoidHom.mrange (s.subtype.coprod t.subtype)
theorem Submonoid.mem_sup E0 #
∀ {N : Type u_4} [inst : CommMonoid N] {s t : Submonoid N} {x : N}, x ∈ s ⊔ t ↔ ∃ y ∈ s, ∃ z ∈ t, y * z = x
theorem AddSubmonoid.mem_sup E0 #
∀ {N : Type u_4} [inst : AddCommMonoid N] {s t : AddSubmonoid N} {x : N}, x ∈ s ⊔ t ↔ ∃ y ∈ s, ∃ z ∈ t, y + z = x
theorem Submonoid.forall_mem_sup E0 #
∀ {N : Type u_4} [inst : CommMonoid N] {P : N → Prop} {s t : Submonoid N},
(∀ x ∈ s ⊔ t, P x) ↔ ∀ x₁ ∈ s, ∀ x₂ ∈ t, P (x₁ * x₂)
theorem AddSubmonoid.forall_mem_sup E1 #
∀ {N : Type u_4} [inst : AddCommMonoid N] {P : N → Prop} {s t : AddSubmonoid N},
(∀ x ∈ s ⊔ t, P x) ↔ ∀ x₁ ∈ s, ∀ x₂ ∈ t, P (x₁ + x₂)
theorem AddSubmonoid.exists_mem_sup E1 #
∀ {N : Type u_4} [inst : AddCommMonoid N] {P : N → Prop} {s t : AddSubmonoid N},
(∃ x ∈ s ⊔ t, P x) ↔ ∃ x₁ ∈ s, ∃ x₂ ∈ t, P (x₁ + x₂)
theorem Submonoid.exists_mem_sup E0 #
∀ {N : Type u_4} [inst : CommMonoid N] {P : N → Prop} {s t : Submonoid N},
(∃ x ∈ s ⊔ t, P x) ↔ ∃ x₁ ∈ s, ∃ x₂ ∈ t, P (x₁ * x₂)
theorem AddSubmonoid.closure_singleton_eq E0 #
∀ {A : Type u_2} [inst : AddMonoid A] (x : A), AddSubmonoid.closure {x} = AddMonoidHom.mrange ((multiplesHom A) x)
theorem AddSubmonoid.mem_closure_singleton E0 #
∀ {A : Type u_2} [inst : AddMonoid A] {x y : A}, y ∈ AddSubmonoid.closure {x} ↔ ∃ n, n • x = y
The AddSubmonoid generated by an element of an AddMonoid equals the set of
natural number multiples of the element.
theorem AddSubmonoid.closure_singleton_zero E1 #
∀ {A : Type u_2} [inst : AddMonoid A], AddSubmonoid.closure {0} = ⊥
def AddSubmonoid.multiples E1 #
{A : Type u_2} → [inst : AddMonoid A] → A → AddSubmonoid A
The additive submonoid generated by an element.
theorem AddSubmonoid.mem_multiples E0 #
∀ {M : Type u_1} [inst : AddMonoid M] (n : M), n ∈ AddSubmonoid.multiples n
theorem AddSubmonoid.coe_multiples E0 #
∀ {M : Type u_1} [inst : AddMonoid M] (x : M), ↑(AddSubmonoid.multiples x) = Set.range fun n ↦ n • x
theorem AddSubmonoid.mem_multiples_iff E0 #
∀ {M : Type u_1} [inst : AddMonoid M] (x z : M), x ∈ AddSubmonoid.multiples z ↔ ∃ n, n • z = x
instance AddSubmonoid.decidableMemMultiples E0 #
{M : Type u_1} → [inst : AddMonoid M] → {a : M} → DecidablePred fun x ↦ x ∈ AddSubmonoid.multiples a
instance AddSubmonoid.fintypeMultiples E0 #
{M : Type u_1} → [inst : AddMonoid M] → {a : M} → [Fintype M] → Fintype ↥(AddSubmonoid.multiples a)
theorem AddSubmonoid.multiples_eq_closure E1 #
∀ {M : Type u_1} [inst : AddMonoid M] (n : M), AddSubmonoid.multiples n = AddSubmonoid.closure {n}
theorem AddSubmonoid.multiples_le E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {n : M} {P : AddSubmonoid M}, AddSubmonoid.multiples n ≤ P ↔ n ∈ P
theorem AddSubmonoid.multiples_zero E0 #
∀ {M : Type u_1} [inst : AddMonoid M], AddSubmonoid.multiples 0 = ⊥
abbrev AddSubmonoid.addGroupMultiples E1 #
{M : Type u_1} → [inst : AddMonoid M] → {x : M} → {n : ℕ} → 0 < n → n • x = 0 → AddGroup ↥(AddSubmonoid.multiples x)
The additive submonoid generated by an element is an additive group if that element has finite order.
theorem Submonoid.mem_closure_pair E0 #
∀ {A : Type u_4} [inst : CommMonoid A] (a b c : A), c ∈ Submonoid.closure {a, b} ↔ ∃ m n, a ^ m * b ^ n = c
An element is in the closure of a two-element set if it is a linear combination of those two elements.
theorem AddSubmonoid.mem_closure_pair E0 #
∀ {A : Type u_4} [inst : AddCommMonoid A] (a b c : A), c ∈ AddSubmonoid.closure {a, b} ↔ ∃ m n, m • a + n • b = c
An element is in the closure of a two-element set if it is a linear combination of those two elements.
theorem ofMul_image_powers_eq_multiples_ofMul E1 #
∀ {M : Type u_1} [inst : Monoid M] {x : M},
⇑Additive.ofMul '' ↑(Submonoid.powers x) = ↑(AddSubmonoid.multiples (Additive.ofMul x))
theorem ofAdd_image_multiples_eq_powers_ofAdd E1 #
∀ {A : Type u_2} [inst : AddMonoid A] {x : A},
⇑Multiplicative.ofAdd '' ↑(AddSubmonoid.multiples x) = ↑(Submonoid.powers (Multiplicative.ofAdd x))
theorem Nat.addSubmonoidClosure_one E0 #
AddSubmonoid.closure {1} = ⊤