The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V05. Groups

Mathlib.Algebra.Group.Center

101 declarations. Mathlib docs · Source

Centers of magmas and semigroups

Main definitions

  • Set.center: the center of a magma
  • Set.addCenter: the center of an additive magma
  • Set.centralizer: the centralizer of a subset of a magma
  • Set.addCentralizer: the centralizer of a subset of an additive magma

See also

See Mathlib/GroupTheory/Subsemigroup/Center.lean for the definition of the center as a subsemigroup:

  • Subsemigroup.center: the center of a semigroup
  • AddSubsemigroup.center: the center of an additive semigroup

We provide Submonoid.center, AddSubmonoid.center, Subgroup.center, AddSubgroup.center, Subsemiring.center, and Subring.center in other files.

See Mathlib/GroupTheory/Subsemigroup/Centralizer.lean for the definition of the centralizer as a subsemigroup:

  • Subsemigroup.centralizer: the centralizer of a subset of a semigroup
  • AddSubsemigroup.centralizer: the centralizer of a subset of an additive semigroup

We provide Monoid.centralizer, AddMonoid.centralizer, Subgroup.centralizer, and AddSubgroup.centralizer in other files.

Center

structure IsAddCentral E1 #

{M : Type u_1} → [Add M] → M → Prop

Conditions for an element to be additively central

ctor IsAddCentral.mk E0 #

∀ {M : Type u_1} [inst : Add M] {z : M},
  (∀ (a : M), AddCommute z a) →
    (∀ (b c : M), z + (b + c) = z + b + c) → (∀ (a b : M), a + b + z = a + (b + z)) → IsAddCentral z

theorem IsAddCentral.comm E1 #

∀ {M : Type u_1} [inst : Add M] {z : M}, IsAddCentral z → ∀ (a : M), AddCommute z a

addition commutes

theorem IsAddCentral.left_assoc E1 #

∀ {M : Type u_1} [inst : Add M] {z : M}, IsAddCentral z → ∀ (b c : M), z + (b + c) = z + b + c

associative property for left addition

theorem IsAddCentral.right_assoc E1 #

∀ {M : Type u_1} [inst : Add M] {z : M}, IsAddCentral z → ∀ (a b : M), a + b + z = a + (b + z)

associative property for right addition

structure IsMulCentral E1 #

{M : Type u_1} → [Mul M] → M → Prop

Conditions for an element to be multiplicatively central

ctor IsMulCentral.mk E0 #

∀ {M : Type u_1} [inst : Mul M] {z : M},
  (∀ (a : M), Commute z a) →
    (∀ (b c : M), z * (b * c) = z * b * c) → (∀ (a b : M), a * b * z = a * (b * z)) → IsMulCentral z

theorem IsMulCentral.comm E1 #

∀ {M : Type u_1} [inst : Mul M] {z : M}, IsMulCentral z → ∀ (a : M), Commute z a

multiplication commutes

theorem IsMulCentral.left_assoc E1 #

∀ {M : Type u_1} [inst : Mul M] {z : M}, IsMulCentral z → ∀ (b c : M), z * (b * c) = z * b * c

associative property for left multiplication

theorem IsMulCentral.right_assoc E1 #

∀ {M : Type u_1} [inst : Mul M] {z : M}, IsMulCentral z → ∀ (a b : M), a * b * z = a * (b * z)

associative property for right multiplication

theorem isMulCentral_iff E0 #

∀ {M : Type u_1} [inst : Mul M] (z : M),
  IsMulCentral z ↔
    (∀ (a : M), Commute z a) ∧ (∀ (b c : M), z * (b * c) = z * b * c) ∧ ∀ (a b : M), a * b * z = a * (b * z)

theorem isAddCentral_iff E0 #

∀ {M : Type u_1} [inst : Add M] (z : M),
  IsAddCentral z ↔
    (∀ (a : M), AddCommute z a) ∧ (∀ (b c : M), z + (b + c) = z + b + c) ∧ ∀ (a b : M), a + b + z = a + (b + z)

theorem IsMulCentral.mid_assoc E1 #

∀ {M : Type u_1} [inst : Mul M] {z : M}, IsMulCentral z → ∀ (a c : M), a * z * c = a * (z * c)

theorem IsAddCentral.mid_assoc E1 #

∀ {M : Type u_1} [inst : Add M] {z : M}, IsAddCentral z → ∀ (a c : M), a + z + c = a + (z + c)

theorem IsMulCentral.left_comm E1 #

∀ {M : Type u_1} {a : M} [inst : Mul M], IsMulCentral a → ∀ (b c : M), a * (b * c) = b * (a * c)

theorem IsAddCentral.left_comm E1 #

∀ {M : Type u_1} {a : M} [inst : Add M], IsAddCentral a → ∀ (b c : M), a + (b + c) = b + (a + c)

theorem IsAddCentral.right_comm E1 #

∀ {M : Type u_1} {c : M} [inst : Add M], IsAddCentral c → ∀ (a b : M), a + b + c = a + c + b

theorem IsMulCentral.right_comm E1 #

∀ {M : Type u_1} {c : M} [inst : Mul M], IsMulCentral c → ∀ (a b : M), a * b * c = a * c * b

theorem IsAddCentral.map E1 #

∀ {M : Type u_1} {N : Type u_2} {a : M} [inst : Add M] [inst_1 : Add N] {F : Type u_3} [inst_2 : FunLike F M N]
  [AddHomClass F M N] {f : F}, IsAddCentral a → Function.Surjective ⇑f → IsAddCentral (f a)

theorem IsMulCentral.map E1 #

∀ {M : Type u_1} {N : Type u_2} {a : M} [inst : Mul M] [inst_1 : Mul N] {F : Type u_3} [inst_2 : FunLike F M N]
  [MulHomClass F M N] {f : F}, IsMulCentral a → Function.Surjective ⇑f → IsMulCentral (f a)

theorem IsAddCentral.of_map E1 #

∀ {M : Type u_1} {N : Type u_2} {a : M} [inst : Add M] [inst_1 : Add N] {F : Type u_3} [inst_2 : FunLike F M N]
  [AddHomClass F M N] {f : F}, IsAddCentral (f a) → Function.Injective ⇑f → IsAddCentral a

theorem IsMulCentral.of_map E1 #

∀ {M : Type u_1} {N : Type u_2} {a : M} [inst : Mul M] [inst_1 : Mul N] {F : Type u_3} [inst_2 : FunLike F M N]
  [MulHomClass F M N] {f : F}, IsMulCentral (f a) → Function.Injective ⇑f → IsMulCentral a

def Set.center E3 #

(M : Type u_1) → [Mul M] → Set M

The center of a magma.

def Set.addCenter E3 #

(M : Type u_1) → [Add M] → Set M

The center of an additive magma.

def Set.centralizer E3 #

{M : Type u_1} → Set M → [Mul M] → Set M

The centralizer of a subset of a magma.

def Set.addCentralizer E3 #

{M : Type u_1} → Set M → [Add M] → Set M

The centralizer of a subset of an additive magma.

theorem Set.mem_addCenter_iff E0 #

∀ {M : Type u_1} [inst : Add M] {z : M}, z ∈ Set.addCenter M ↔ IsAddCentral z

theorem Set.mem_center_iff E0 #

∀ {M : Type u_1} [inst : Mul M] {z : M}, z ∈ Set.center M ↔ IsMulCentral z

theorem Set.image_center_subset E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : Mul M] [inst_1 : Mul N] {F : Type u_3} [inst_2 : FunLike F M N]
  [MulHomClass F M N] {f : F}, Function.Surjective ⇑f → ⇑f '' Set.center M ⊆ Set.center N

theorem Set.image_addCenter_subset E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : Add M] [inst_1 : Add N] {F : Type u_3} [inst_2 : FunLike F M N]
  [AddHomClass F M N] {f : F}, Function.Surjective ⇑f → ⇑f '' Set.addCenter M ⊆ Set.addCenter N

theorem Set.preimage_center_subset E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : Mul M] [inst_1 : Mul N] {F : Type u_3} [inst_2 : FunLike F M N]
  [MulHomClass F M N] {f : F}, Function.Injective ⇑f → ⇑f ⁻¹' Set.center N ⊆ Set.center M

theorem Set.preimage_addCenter_subset E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : Add M] [inst_1 : Add N] {F : Type u_3} [inst_2 : FunLike F M N]
  [AddHomClass F M N] {f : F}, Function.Injective ⇑f → ⇑f ⁻¹' Set.addCenter N ⊆ Set.addCenter M

theorem Set.image_addCenter_eq E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : Add M] [inst_1 : Add N] {F : Type u_3} [inst_2 : EquivLike F M N]
  [AddEquivClass F M N] (f : F), ⇑f '' Set.addCenter M = Set.addCenter N

theorem Set.image_center_eq E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : Mul M] [inst_1 : Mul N] {F : Type u_3} [inst_2 : EquivLike F M N]
  [MulEquivClass F M N] (f : F), ⇑f '' Set.center M = Set.center N

theorem MulEquivClass.apply_mem_center_iff E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : Mul M] [inst_1 : Mul N] {F : Type u_3} [inst_2 : EquivLike F M N]
  [MulEquivClass F M N] (f : F) {x : M}, f x ∈ Set.center N ↔ x ∈ Set.center M

theorem AddEquivClass.apply_mem_center_iff E0 #

∀ {M : Type u_1} {N : Type u_2} [inst : Add M] [inst_1 : Add N] {F : Type u_3} [inst_2 : EquivLike F M N]
  [AddEquivClass F M N] (f : F) {x : M}, f x ∈ Set.addCenter N ↔ x ∈ Set.addCenter M

theorem AddEquivClass.apply_mem_center E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : Add M] [inst_1 : Add N] {F : Type u_3} [inst_2 : EquivLike F M N]
  [AddEquivClass F M N] (f : F) {x : M}, x ∈ Set.addCenter M → f x ∈ Set.addCenter N

Alias of the reverse direction of AddEquivClass.apply_mem_center_iff.

theorem MulEquivClass.apply_mem_center E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : Mul M] [inst_1 : Mul N] {F : Type u_3} [inst_2 : EquivLike F M N]
  [MulEquivClass F M N] (f : F) {x : M}, x ∈ Set.center M → f x ∈ Set.center N

Alias of the reverse direction of MulEquivClass.apply_mem_center_iff.

theorem Set.mem_centralizer_iff E0 #

∀ {M : Type u_1} {S : Set M} [inst : Mul M] {c : M}, c ∈ S.centralizer ↔ ∀ m ∈ S, m * c = c * m

theorem Set.mem_addCentralizer E0 #

∀ {M : Type u_1} {S : Set M} [inst : Add M] {c : M}, c ∈ S.addCentralizer ↔ ∀ m ∈ S, m + c = c + m

theorem Set.add_mem_addCenter E0 #

∀ {M : Type u_1} [inst : Add M] {z₁ z₂ : M}, z₁ ∈ Set.addCenter M → z₂ ∈ Set.addCenter M → z₁ + z₂ ∈ Set.addCenter M

theorem Set.mul_mem_center E0 #

∀ {M : Type u_1} [inst : Mul M] {z₁ z₂ : M}, z₁ ∈ Set.center M → z₂ ∈ Set.center M → z₁ * z₂ ∈ Set.center M

theorem Set.center_subset_centralizer E1 #

∀ {M : Type u_1} [inst : Mul M] (S : Set M), Set.center M ⊆ S.centralizer

theorem Set.addCenter_subset_addCentralizer E1 #

∀ {M : Type u_1} [inst : Add M] (S : Set M), Set.addCenter M ⊆ S.addCentralizer

theorem Set.centralizer_union E1 #

∀ {M : Type u_1} {S T : Set M} [inst : Mul M], (S ∪ T).centralizer = S.centralizer ∩ T.centralizer

theorem Set.addCentralizer_union E1 #

∀ {M : Type u_1} {S T : Set M} [inst : Add M], (S ∪ T).addCentralizer = S.addCentralizer ∩ T.addCentralizer

theorem Set.centralizer_subset E1 #

∀ {M : Type u_1} {S T : Set M} [inst : Mul M], S ⊆ T → T.centralizer ⊆ S.centralizer

theorem Set.addCentralizer_subset E1 #

∀ {M : Type u_1} {S T : Set M} [inst : Add M], S ⊆ T → T.addCentralizer ⊆ S.addCentralizer

theorem Set.subset_centralizer_centralizer E1 #

∀ {M : Type u_1} {S : Set M} [inst : Mul M], S ⊆ S.centralizer.centralizer

theorem Set.subset_addCentralizer_addCentralizer E1 #

∀ {M : Type u_1} {S : Set M} [inst : Add M], S ⊆ S.addCentralizer.addCentralizer

theorem Set.centralizer_centralizer_centralizer E0 #

∀ {M : Type u_1} [inst : Mul M] (S : Set M), S.centralizer.centralizer.centralizer = S.centralizer

theorem Set.addCentralizer_addCentralizer_addCentralizer E0 #

∀ {M : Type u_1} [inst : Add M] (S : Set M), S.addCentralizer.addCentralizer.addCentralizer = S.addCentralizer

instance Set.decidableMemAddCentralizer E0 #

{M : Type u_1} →
  {S : Set M} →
    [inst : Add M] → [(a : M) → Decidable (∀ b ∈ S, b + a = a + b)] → DecidablePred fun x ↦ x ∈ S.addCentralizer

instance Set.decidableMemCentralizer E0 #

{M : Type u_1} →
  {S : Set M} →
    [inst : Mul M] → [(a : M) → Decidable (∀ b ∈ S, b * a = a * b)] → DecidablePred fun x ↦ x ∈ S.centralizer

theorem Set.addCentralizer_addCentralizer_pairwise_commute E1 #

∀ {M : Type u_1} {S : Set M} [inst : Add M], S.Pairwise AddCommute → S.addCentralizer.addCentralizer.Pairwise AddCommute

theorem Set.centralizer_centralizer_pairwise_commute E1 #

∀ {M : Type u_1} {S : Set M} [inst : Mul M], S.Pairwise Commute → S.centralizer.centralizer.Pairwise Commute

theorem Set.centralizer_centralizer_comm_of_comm E1 #

∀ {M : Type u_1} {S : Set M} [inst : Mul M],
  S.Pairwise Commute → ∀ x ∈ S.centralizer.centralizer, ∀ y ∈ S.centralizer.centralizer, x * y = y * x

theorem Set.addCentralizer_addCentralizer_comm_of_comm E1 #

∀ {M : Type u_1} {S : Set M} [inst : Add M],
  S.Pairwise AddCommute → ∀ x ∈ S.addCentralizer.addCentralizer, ∀ y ∈ S.addCentralizer.addCentralizer, x + y = y + x

theorem Set.addCentralizer_empty E0 #

∀ {M : Type u_1} [inst : Add M], ∅.addCentralizer = ⊤

theorem Set.centralizer_empty E0 #

∀ {M : Type u_1} [inst : Mul M], ∅.centralizer = ⊤

theorem Set.centralizer_prod E1 #

∀ {M : Type u_1} [inst : Mul M] {N : Type u_3} [inst_1 : Mul N] {S : Set M} {T : Set N},
  S.Nonempty → T.Nonempty → (S ×ˢ T).centralizer = S.centralizer ×ˢ T.centralizer

The centralizer of the product of non-empty sets is equal to the product of the centralizers.

theorem Set.addCentralizer_prod E1 #

∀ {M : Type u_1} [inst : Add M] {N : Type u_3} [inst_1 : Add N] {S : Set M} {T : Set N},
  S.Nonempty → T.Nonempty → (S ×ˢ T).addCentralizer = S.addCentralizer ×ˢ T.addCentralizer

theorem Set.prod_addCentralizer_subset_addCentralizer_prod E1 #

∀ {M : Type u_1} [inst : Add M] {N : Type u_3} [inst_1 : Add N] (S : Set M) (T : Set N),
  S.addCentralizer ×ˢ T.addCentralizer ⊆ (S ×ˢ T).addCentralizer

theorem Set.prod_centralizer_subset_centralizer_prod E1 #

∀ {M : Type u_1} [inst : Mul M] {N : Type u_3} [inst_1 : Mul N] (S : Set M) (T : Set N),
  S.centralizer ×ˢ T.centralizer ⊆ (S ×ˢ T).centralizer

theorem Set.addCenter_prod E1 #

∀ {M : Type u_1} [inst : Add M] {N : Type u_3} [inst_1 : Add N],
  Set.addCenter (M × N) = Set.addCenter M ×ˢ Set.addCenter N

theorem Set.center_prod E1 #

∀ {M : Type u_1} [inst : Mul M] {N : Type u_3} [inst_1 : Mul N], Set.center (M × N) = Set.center M ×ˢ Set.center N

theorem Set.addCenter_pi E1 #

∀ {ι : Type u_3} {A : ι → Type u_4} [inst : (i : ι) → Add (A i)],
  Set.addCenter ((i : ι) → A i) = Set.univ.pi fun i ↦ Set.addCenter (A i)

theorem Set.center_pi E1 #

∀ {ι : Type u_3} {A : ι → Type u_4} [inst : (i : ι) → Mul (A i)],
  Set.center ((i : ι) → A i) = Set.univ.pi fun i ↦ Set.center (A i)

theorem AddSemigroup.mem_center_iff E0 #

∀ {M : Type u_1} [inst : AddSemigroup M] {z : M}, z ∈ Set.addCenter M ↔ ∀ (g : M), g + z = z + g

theorem Semigroup.mem_center_iff E0 #

∀ {M : Type u_1} [inst : Semigroup M] {z : M}, z ∈ Set.center M ↔ ∀ (g : M), g * z = z * g

theorem Set.add_mem_addCentralizer E0 #

∀ {M : Type u_1} {S : Set M} [inst : AddSemigroup M] {a b : M},
  a ∈ S.addCentralizer → b ∈ S.addCentralizer → a + b ∈ S.addCentralizer

theorem Set.mul_mem_centralizer E0 #

∀ {M : Type u_1} {S : Set M} [inst : Semigroup M] {a b : M},
  a ∈ S.centralizer → b ∈ S.centralizer → a * b ∈ S.centralizer

theorem Set.centralizer_eq_top_iff_subset E0 #

∀ {M : Type u_1} {S : Set M} [inst : Semigroup M], S.centralizer = Set.univ ↔ S ⊆ Set.center M

theorem Set.addCentralizer_eq_top_iff_subset E0 #

∀ {M : Type u_1} {S : Set M} [inst : AddSemigroup M], S.addCentralizer = Set.univ ↔ S ⊆ Set.addCenter M

theorem Set.addCentralizer_univ E0 #

∀ (M : Type u_1) [inst : AddSemigroup M], Set.univ.addCentralizer = Set.addCenter M

theorem Set.centralizer_univ E0 #

∀ (M : Type u_1) [inst : Semigroup M], Set.univ.centralizer = Set.center M

instance Set.decidableMemAddCenter E0 #

{M : Type u_1} →
  [inst : AddSemigroup M] → [(a : M) → Decidable (∀ (b : M), b + a = a + b)] → DecidablePred fun x ↦ x ∈ Set.addCenter M

instance Set.decidableMemCenter E0 #

{M : Type u_1} →
  [inst : Semigroup M] → [(a : M) → Decidable (∀ (b : M), b * a = a * b)] → DecidablePred fun x ↦ x ∈ Set.center M

theorem Set.center_eq_univ E0 #

∀ (M : Type u_1) [inst : CommSemigroup M], Set.center M = Set.univ

theorem Set.addCenter_eq_univ E0 #

∀ (M : Type u_1) [inst : AddCommSemigroup M], Set.addCenter M = Set.univ

theorem Set.addCentralizer_eq_univ E0 #

∀ (M : Type u_1) {S : Set M} [inst : AddCommSemigroup M], S.addCentralizer = Set.univ

theorem Set.centralizer_eq_univ E0 #

∀ (M : Type u_1) {S : Set M} [inst : CommSemigroup M], S.centralizer = Set.univ

theorem Set.one_mem_center E0 #

∀ {M : Type u_1} [inst : MulOneClass M], 1 ∈ Set.center M

theorem Set.zero_mem_addCenter E0 #

∀ {M : Type u_1} [inst : AddZeroClass M], 0 ∈ Set.addCenter M

theorem Set.zero_mem_addCentralizer E0 #

∀ {M : Type u_1} {S : Set M} [inst : AddZeroClass M], 0 ∈ S.addCentralizer

theorem Set.one_mem_centralizer E0 #

∀ {M : Type u_1} {S : Set M} [inst : MulOneClass M], 1 ∈ S.centralizer

theorem Set.subset_addCenter_add_units E1 #

∀ {M : Type u_1} [inst : AddMonoid M], AddUnits.val ⁻¹' Set.addCenter M ⊆ Set.addCenter (AddUnits M)

theorem Set.subset_center_units E1 #

∀ {M : Type u_1} [inst : Monoid M], Units.val ⁻¹' Set.center M ⊆ Set.center Mˣ

theorem Set.units_inv_mem_center E0 #

∀ {M : Type u_1} [inst : Monoid M] {a : Mˣ}, ↑a ∈ Set.center M → ↑a⁻¹ ∈ Set.center M

theorem Set.addUnits_neg_mem_center E0 #

∀ {M : Type u_1} [inst : AddMonoid M] {a : AddUnits M}, ↑a ∈ Set.addCenter M → ↑(-a) ∈ Set.addCenter M

theorem Set.invOf_mem_center E0 #

∀ {M : Type u_1} [inst : Monoid M] {a : M} [inst_1 : Invertible a], a ∈ Set.center M → ⅟a ∈ Set.center M

theorem Set.nsmul_mem_addCenter E0 #

∀ {M : Type u_1} [inst : AddMonoid M] {a : M} (n : ℕ), a ∈ Set.addCenter M → n • a ∈ Set.addCenter M

theorem Set.npow_mem_center E0 #

∀ {M : Type u_1} [inst : Monoid M] {a : M} (n : ℕ), a ∈ Set.center M → a ^ n ∈ Set.center M

theorem Set.inv_mem_center E0 #

∀ {M : Type u_1} [inst : DivisionMonoid M] {a : M}, a ∈ Set.center M → a⁻¹ ∈ Set.center M

theorem Set.neg_mem_addCenter E0 #

∀ {M : Type u_1} [inst : SubtractionMonoid M] {a : M}, a ∈ Set.addCenter M → -a ∈ Set.addCenter M

theorem Set.div_mem_center E0 #

∀ {M : Type u_1} [inst : DivisionMonoid M] {a b : M}, a ∈ Set.center M → b ∈ Set.center M → a / b ∈ Set.center M

theorem Set.sub_mem_addCenter E0 #

∀ {M : Type u_1} [inst : SubtractionMonoid M] {a b : M},
  a ∈ Set.addCenter M → b ∈ Set.addCenter M → a - b ∈ Set.addCenter M

theorem Set.neg_mem_addCentralizer E0 #

∀ {M : Type u_1} {S : Set M} [inst : AddGroup M] {a : M}, a ∈ S.addCentralizer → -a ∈ S.addCentralizer

theorem Set.inv_mem_centralizer E0 #

∀ {M : Type u_1} {S : Set M} [inst : Group M] {a : M}, a ∈ S.centralizer → a⁻¹ ∈ S.centralizer

theorem Set.sub_mem_addCentralizer E0 #

∀ {M : Type u_1} {S : Set M} [inst : AddGroup M] {a b : M},
  a ∈ S.addCentralizer → b ∈ S.addCentralizer → a - b ∈ S.addCentralizer

theorem Set.div_mem_centralizer E0 #

∀ {M : Type u_1} {S : Set M} [inst : Group M] {a b : M}, a ∈ S.centralizer → b ∈ S.centralizer → a / b ∈ S.centralizer