Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  Basic.lean   Sprache: Lean

 

/-
Copyright (c) 2021 Jordan Brown, Thomas Browning, Patrick Lutz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jordan Brown, Thomas Browning, Patrick Lutz
-/

module

public import Mathlib.GroupTheory.QuotientGroup.Defs
public import Mathlib.GroupTheory.Subgroup.Centralizer

/-!
# Commutators of Subgroups

If `G` is a group and `H₁ H₂ : Subgroup G` then the commutator `⁅H₁, H₂⁆ : Subgroup G`
is the subgroup of `G` generated by the commutators `h₁ * h₂ * h₁⁻¹ * h₂⁻¹`.

## Main definitions

* `⁅g₁, g₂⁆` : the commutator of the elements `g₁` and `g₂`
    (defined by `commutatorElement` elsewhere).
* `⁅H₁, H₂⁆` : the commutator of the subgroups `H₁` and `H₂`.
* `commutator`: defines the commutator of a group `G` as a subgroup of `G`.
-/


@[expose] public section

assert_not_exists Cardinal Multiset Ring

open scoped commutatorElement

variable {G G' F : Type*} [Group G] [Group G'] [FunLike F G G'] [MonoidHomClass F G G']
variable (f : F) {g₁ g₂ g₃ g : G}

@[to_additive]
theorem conj_eq_commutatorElement_mul : MulAut.conj g₁ g₂ = ⁅g₁, g₂⁆ * g₂ := by
  simp [commutatorElement_def]

@[to_additive]
theorem commutatorElement_eq_one_iff_mul_comm : ⁅g₁, g₂⁆ = 1 ↔ g₁ * g₂ = g₂ * g₁ := by
  rw [commutatorElement_def, mul_inv_eq_one, mul_inv_eq_iff_eq_mul]

@[to_additive]
theorem commutatorElement_eq_one_iff_commute : ⁅g₁, g₂⁆ = 1 ↔ Commute g₁ g₂ :=
  commutatorElement_eq_one_iff_mul_comm

@[to_additive]
theorem Commute.commutator_eq (h : Commute g₁ g₂) : ⁅g₁, g₂⁆ = 1 :=
  commutatorElement_eq_one_iff_commute.mpr h

variable (g₁ g₂ g₃ g)

@[to_additive (attr := simp)]
theorem commutatorElement_one_right : ⁅g, (1 : G)⁆ = 1 :=
  (Commute.one_right g).commutator_eq

@[to_additive (attr := simp)]
theorem commutatorElement_one_left : ⁅(1 : G), g⁆ = 1 :=
  (Commute.one_left g).commutator_eq

@[to_additive (attr := simp)]
theorem commutatorElement_self : ⁅g, g⁆ = 1 :=
  (Commute.refl g).commutator_eq

@[to_additive (attr := simp)]
theorem commutatorElement_inv : ⁅g₁, g₂⁆⁻¹ = ⁅g₂, g₁⁆ := by
  simp_rw [commutatorElement_def, mul_inv_rev, inv_inv, mul_assoc]

@[to_additive (attr := simp)]
theorem map_commutatorElement : (f ⁅g₁, g₂⁆ : G') = ⁅f g₁, f g₂⁆ := by
  simp_rw [commutatorElement_def, map_mul f, map_inv f]

@[to_additive]
theorem conjugate_commutatorElement : g₃ * ⁅g₁, g₂⁆ * g₃⁻¹ = ⁅g₃ * g₁ * g₃⁻¹, g₃ * g₂ * g₃⁻¹⁆ := by
  simp [mul_assoc, commutatorElement_def]

@[to_additive]
theorem commutatorElement_mul_left_eq_conj_mul (a b c : G) :
    ⁅a * b, c⁆ = a * ⁅b, c⁆ * a⁻¹ * ⁅a, c⁆ := by
  simp [mul_assoc, commutatorElement_def]

@[to_additive]
theorem commutatorElement_mul_right_eq_mul_conj (a b c : G) :
    ⁅a, b * c⁆ = ⁅a, b⁆ * b * ⁅a, c⁆ * b⁻¹ := by
  simp [mul_assoc, commutatorElement_def]

@[to_additive]
theorem Commute.commutatorElement_pow_left {a b : G} (h : Commute a ⁅a, b⁆) (n : ℕ) :
    ⁅a, b⁆ ^ n = ⁅a ^ n, b⁆ := by
  induction n with
  | zero => simp
  | succ n ih => rw [pow_succ, pow_succ', commutatorElement_mul_left_eq_conj_mul, ← ih,
      (h.pow_right n).eq, mul_inv_cancel_right]

@[to_additive]
theorem Commute.commutatorElement_pow_right {a b : G} (h : Commute b ⁅a, b⁆) (n : ℕ) :
    ⁅a, b⁆ ^ n = ⁅a, b ^ n⁆ := by
  induction n with
  | zero => simp
  | succ n ih => rw [pow_succ', pow_succ', commutatorElement_mul_right_eq_mul_conj, ← ih,
        (h.pow_right n).right_comm, mul_inv_cancel_right]

@[to_additive]
theorem commutatorElement_inv_left (a b : G) : ⁅a⁻¹, b⁆ = a⁻¹ * ⁅b, a⁆ * a := by
  simp [mul_assoc, commutatorElement_def]

@[to_additive]
theorem commutatorElement_inv_right (a b : G) : ⁅a, b⁻¹⁆ = b⁻¹ * ⁅b, a⁆ * b := by
  simp [mul_assoc, commutatorElement_def]

/-- **The Hall-Witt identity** -/
@[to_additive /-- **The Hall-Witt identity** -/]
theorem conj_commutatorElement_left_commutatorElement_mul (a b c : G) :
    a * ⁅⁅a⁻¹, b⁆, c⁆ * a⁻¹ * c * ⁅⁅c⁻¹, a⁆, b⁆ * c⁻¹ * b * ⁅⁅b⁻¹, c⁆, a⁆ * b⁻¹ = 1 := by
  simp [mul_assoc, commutatorElement_def]

/-- **The Hall-Witt identity** -/
@[to_additive /-- **The Hall-Witt identity** -/]
theorem conj_commutatorElement_right_commutatorElement_mul (a b c : G) :
    b * ⁅a, ⁅b⁻¹, c⁆⁆ * b⁻¹ * c * ⁅b, ⁅c⁻¹, a⁆⁆ * c⁻¹ * a * ⁅c, ⁅a⁻¹, b⁆⁆ * a⁻¹ = 1 := by
  simp [mul_assoc, commutatorElement_def]

/-- **The Hall-Witt identity** -/
@[to_additive /-- **The Hall-Witt identity** -/]
theorem commutatorElement_commutatorElement_conj_mul (a b c : G) :
    ⁅⁅a, b⁆, b * c * b⁻¹⁆ * ⁅⁅b, c⁆, c * a * c⁻¹⁆ * ⁅⁅c, a⁆, a * b * a⁻¹⁆ = 1 := by
  simp [mul_assoc, commutatorElement_def]

/-- **The Hall-Witt identity** -/
@[to_additive /-- **The Hall-Witt identity** -/]
theorem commutatorElement_conj_commutatorElement_mul (a b c : G) :
    ⁅a * b * a⁻¹, ⁅c, a⁆⁆ * ⁅c * a * c⁻¹, ⁅b, c⁆⁆ * ⁅b * c * b⁻¹, ⁅a, b⁆⁆ = 1 := by
  simp [mul_assoc, commutatorElement_def]

@[to_additive]
theorem commutatorElement_mul_left_mul (a b c : G) : ⁅a * b, c⁆ * ⁅c * a, b⁆ * ⁅b * c, a⁆ = 1 := by
  simp [mul_assoc, commutatorElement_def]

@[to_additive]
theorem commutatorElement_mul_right_mul (a b c : G) : ⁅a, b * c⁆ * ⁅b, c * a⁆ * ⁅c, a * b⁆ = 1 := by
  simp [mul_assoc, commutatorElement_def]

namespace Subgroup

/-- The commutator of two subgroups `H₁` and `H₂`. -/
@[to_additive /-- The commutator of two additive subgroups `H₁` and `H₂`. -/]
instance commutator : Bracket (Subgroup G) (Subgroup G) :=
  ⟨fun H₁ H₂ => closure { g | ∃ g₁ ∈ H₁, ∃ g₂ ∈ H₂, ⁅g₁, g₂⁆ = g }⟩

@[to_additive]
theorem commutator_def (H₁ H₂ : Subgroup G) :
    ⁅H₁, H₂⁆ = closure { g | ∃ g₁ ∈ H₁, ∃ g₂ ∈ H₂, ⁅g₁, g₂⁆ = g } :=
  rfl

variable {g₁ g₂ g₃} {H H₁ H₂ H₃ K K₁ K₂ : Subgroup G}

@[to_additive]
theorem commutator_mem_commutator (h₁ : g₁ ∈ H₁) (h₂ : g₂ ∈ H₂) : ⁅g₁, g₂⁆ ∈ ⁅H₁, H₂⁆ :=
  subset_closure ⟨g₁, h₁, g₂, h₂, rfl⟩

@[to_additive]
theorem commutator_le : ⁅H₁, H₂⁆ ≤ H₃ ↔ ∀ g₁ ∈ H₁, ∀ g₂ ∈ H₂, ⁅g₁, g₂⁆ ∈ H₃ :=
  H₃.closure_le.trans
    ⟨fun h a b c d => h ⟨a, b, c, d, rfl⟩, fun h _g ⟨a, b, c, d, h_eq⟩ => h_eq ▸ h a b c d⟩

@[to_additive]
theorem commutator_mono (h₁ : H₁ ≤ K₁) (h₂ : H₂ ≤ K₂) : ⁅H₁, H₂⁆ ≤ ⁅K₁, K₂⁆ :=
  commutator_le.mpr fun _g₁ hg₁ _g₂ hg₂ => commutator_mem_commutator (h₁ hg₁) (h₂ hg₂)

@[to_additive (attr := gcongr)]
theorem commutator_mono_left (h : H₁ ≤ H₂) : ⁅H₁, K⁆ ≤ ⁅H₂, K⁆ :=
  commutator_mono h le_rfl

@[to_additive (attr := gcongr)]
theorem commutator_mono_right (h : K₁ ≤ K₂) : ⁅H, K₁⁆ ≤ ⁅H, K₂⁆ :=
  commutator_mono le_rfl h

@[to_additive]
theorem commutator_eq_bot_iff_le_centralizer : ⁅H₁, H₂⁆ = ⊥ ↔ H₁ ≤ centralizer H₂ := by
  rw [eq_bot_iff, commutator_le]
  refine forall_congr' fun p =>
    forall_congr' fun _hp => forall_congr' fun q => forall_congr' fun hq => ?_
  rw [mem_bot, commutatorElement_eq_one_iff_mul_comm, eq_comm]

/-- **The Three Subgroups Lemma** (via the Hall-Witt identity) -/
@[to_additive /-- **The Three Subgroups Lemma** (via the Hall-Witt identity) -/]
theorem commutator_commutator_eq_bot_of_rotate (h1 : ⁅⁅H₂, H₃⁆, H₁⁆ = ⊥) (h2 : ⁅⁅H₃, H₁⁆, H₂⁆ = ⊥) :
    ⁅⁅H₁, H₂⁆, H₃⁆ = ⊥ := by
  simp_rw [commutator_eq_bot_iff_le_centralizer, commutator_le,
    mem_centralizer_iff_commutator_eq_one] at h1 h2 ⊢
  intro x hx y hy z hz
  trans x * z * ⁅y, ⁅z⁻¹, x⁻¹⁆⁆⁻¹ * z⁻¹ * y * ⁅x⁻¹, ⁅y⁻¹, z⁆⁆⁻¹ * y⁻¹ * x⁻¹
  -- We avoid `group` here to minimize imports while low in the hierarchy;
  -- typically it would be better to invoke the tactic.
  · simp [commutatorElement_def, mul_assoc]
  · rw [h1 _ (H₂.inv_mem hy) _ hz _ (H₁.inv_mem hx), h2 _ (H₃.inv_mem hz) _ (H₁.inv_mem hx) _ hy]
    simp [mul_assoc]

variable (H₁ H₂)

@[to_additive]
theorem commutator_comm_le : ⁅H₁, H₂⁆ ≤ ⁅H₂, H₁⁆ :=
  commutator_le.mpr fun g₁ h₁ g₂ h₂ =>
    commutatorElement_inv g₂ g₁ ▸ ⁅H₂, H₁⁆.inv_mem_iff.mpr (commutator_mem_commutator h₂ h₁)

@[to_additive]
theorem commutator_comm : ⁅H₁, H₂⁆ = ⁅H₂, H₁⁆ :=
  le_antisymm (commutator_comm_le H₁ H₂) (commutator_comm_le H₂ H₁)

@[to_additive]
theorem commutator_self_eq_bot_iff : ⁅H, H⁆ = ⊥ ↔ IsMulCommutative H := by
  rw [commutator_eq_bot_iff_le_centralizer, le_centralizer_iff_isMulCommutative]

@[to_additive (attr := simp)]
theorem commutator_top_right_eq_bot_iff_le_center : ⁅H, (⊤ : Subgroup G)⁆ = ⊥ ↔ H ≤ center G := by
  rw [commutator_eq_bot_iff_le_centralizer, coe_top, centralizer_univ]

@[to_additive (attr := simp)]
theorem commutator_top_left_eq_bot_iff_le_center : ⁅(⊤ : Subgroup G), H⁆ = ⊥ ↔ H ≤ center G := by
  rw [commutator_comm, commutator_top_right_eq_bot_iff_le_center]

variable (H) in
@[to_additive (attr := simp)]
theorem commutator_center_right : ⁅H, center G⁆ = ⊥ := by
  simp [commutator_eq_bot_iff_le_centralizer]

variable (H) in
@[to_additive (attr := simp)]
theorem commutator_center_left : ⁅center G, H⁆ = ⊥ :=
  commutator_eq_bot_iff_le_centralizer.mpr <| center_le_centralizer _

section Normal

@[to_additive]
instance commutator_normal [h₁ : H₁.Normal] [h₂ : H₂.Normal] : Normal ⁅H₁, H₂⁆ := by
  let base : Set G := { x | ∃ g₁ ∈ H₁, ∃ g₂ ∈ H₂, ⁅g₁, g₂⁆ = x }
  change (closure base).Normal
  suffices h_base : base = Group.conjugatesOfSet base by
    rw [h_base]
    exact Subgroup.normalClosure_normal
  refine Set.Subset.antisymm Group.subset_conjugatesOfSet fun a h => ?_
  simp_rw [Group.mem_conjugatesOfSet_iff, isConj_iff] at h
  rcases h with ⟨b, ⟨c, hc, e, he, rfl⟩, d, rfl⟩
  exact ⟨_, h₁.conj_mem c hc d, _, h₂.conj_mem e he d, (conjugate_commutatorElement c e d).symm⟩

@[to_additive]
theorem commutator_def' [H₁.Normal] [H₂.Normal] :
    ⁅H₁, H₂⁆ = normalClosure { g | ∃ g₁ ∈ H₁, ∃ g₂ ∈ H₂, ⁅g₁, g₂⁆ = g } :=
  le_antisymm closure_le_normalClosure (normalClosure_le_normal subset_closure)

@[to_additive]
theorem commutator_le_right [h : H₂.Normal] : ⁅H₁, H₂⁆ ≤ H₂ :=
  commutator_le.mpr fun g₁ _h₁ g₂ h₂ => H₂.mul_mem (h.conj_mem g₂ h₂ g₁) (H₂.inv_mem h₂)

@[to_additive]
theorem commutator_le_left [H₁.Normal] : ⁅H₁, H₂⁆ ≤ H₁ :=
  commutator_comm H₂ H₁ ▸ commutator_le_right H₂ H₁

@[to_additive]
theorem commutator_top_left_le_iff : ⁅(⊤ : Subgroup G), H⁆ ≤ H ↔ H.Normal := by
  refine ⟨fun hle ↦ ⟨fun h hh g ↦ ?_⟩, fun h ↦ commutator_le_right ⊤ H⟩
  exact (H.mul_mem_cancel_right <| H.inv_mem hh).mp <| commutator_le.mp hle g trivial h hh

@[to_additive]
theorem commutator_top_right_le_iff : ⁅H, ⊤⁆ ≤ H ↔ H.Normal :=
  commutator_comm H ⊤ ▸ commutator_top_left_le_iff

@[to_additive]
theorem le_normalizer_iff_commutator_le_right : H ≤ normalizer K ↔ ⁅H, K⁆ ≤ K := by
  refine le_normalizer_iff.trans ⟨fun hH ↦ ?_, fun hH h hh k hk ↦ ?_⟩
  · exact commutator_le.mpr fun h hh k hk ↦ mul_mem (hH h hh k hk) (inv_mem hk)
  · exact (mul_mem_cancel_right <| inv_mem hk).mp <| hH <| commutator_mem_commutator hh hk

@[to_additive]
theorem le_normalizer_iff_commutator_le_left : H ≤ normalizer K ↔ ⁅K, H⁆ ≤ K :=
  commutator_comm H K ▸ le_normalizer_iff_commutator_le_right

@[to_additive (attr := simp)]
theorem commutator_bot_left : ⁅(⊥ : Subgroup G), H₁⁆ = ⊥ :=
  le_bot_iff.mp (commutator_le_left ⊥ H₁)

@[to_additive (attr := simp)]
theorem commutator_bot_right : ⁅H₁, ⊥⁆ = (⊥ : Subgroup G) :=
  le_bot_iff.mp (commutator_le_right H₁ ⊥)

@[to_additive]
theorem commutator_le_inf [Normal H₁] [Normal H₂] : ⁅H₁, H₂⁆ ≤ H₁ ⊓ H₂ :=
  le_inf (commutator_le_left H₁ H₂) (commutator_le_right H₁ H₂)

variable {H₁ H₂} in
theorem commutator_eq_bot_of_disjoint [H₁.Normal] [H₂.Normal] (h : Disjoint H₁ H₂) :
    ⁅H₁, H₂⁆ = ⊥ := by
  grw [eq_bot_iff, commutator_le_inf, h.eq_bot.le]

end Normal

@[to_additive]
theorem commutator_le_sup : ⁅H₁, H₂⁆ ≤ H₁ ⊔ H₂ :=
  commutator_le.mpr <| by grind [mul_assoc, mul_mem, mul_mem_sup, inv_mem]

@[to_additive]
theorem commutator_le_of_le (h₁ : K₁ ≤ K) (h₂ : K₂ ≤ K) : ⁅K₁, K₂⁆ ≤ K :=
  (commutator_le_sup K₁ K₂).trans (sup_le h₁ h₂)

@[to_additive]
theorem normalizer_commutator_ge_left : H₁ ≤ normalizer (⁅H₁, H₂⁆ : Subgroup G) := by
  apply le_normalizer_closure_iff.mpr
  rintro g hg _ ⟨g₁, hg₁, g₂, hg₂, rfl⟩
  apply (mul_mem_cancel_right <| commutator_mem_commutator hg hg₂).mp
  rw [← commutatorElement_mul_left_eq_conj_mul g g₁ g₂]
  exact commutator_mem_commutator (mul_mem hg hg₁) hg₂

@[to_additive]
theorem normalizer_commutator_ge_right : H₂ ≤ normalizer (⁅H₁, H₂⁆ : Subgroup G) := by
  rw [commutator_comm]
  apply normalizer_commutator_ge_left

@[to_additive]
instance normal_subgroupOf_commutator_sup : (⁅H₁, H₂⁆.subgroupOf <| H₁ ⊔ H₂).Normal :=
  normal_subgroupOf_of_le_normalizer <| sup_le
    (normalizer_commutator_ge_left H₁ H₂) (normalizer_commutator_ge_right H₁ H₂)

@[to_additive]
theorem map_commutator (f : G →* G') : map f ⁅H₁, H₂⁆ = ⁅map f H₁, map f H₂⁆ := by
  simp_rw [le_antisymm_iff, map_le_iff_le_comap, commutator_le, mem_comap, map_commutatorElement]
  constructor
  · intro p hp q hq
    exact commutator_mem_commutator (mem_map_of_mem _ hp) (mem_map_of_mem _ hq)
  · rintro _ ⟨p, hp, rfl⟩ _ ⟨q, hq, rfl⟩
    rw [← map_commutatorElement]
    exact mem_map_of_mem _ (commutator_mem_commutator hp hq)

variable {H₁ H₂}

@[to_additive]
theorem commutator_le_map_commutator {f : G →* G'} {K₁ K₂ : Subgroup G'} (h₁ : K₁ ≤ H₁.map f)
    (h₂ : K₂ ≤ H₂.map f) : ⁅K₁, K₂⁆ ≤ ⁅H₁, H₂⁆.map f :=
  (commutator_mono h₁ h₂).trans (ge_of_eq (map_commutator H₁ H₂ f))

variable (H₁ H₂)

@[to_additive]
private theorem commutator_sup_right_of_normal (H K N : Subgroup G) [(⁅H, N⁆ ⊔ ⁅K, N⁆).Normal] :
    ⁅H ⊔ K, N⁆ = ⁅H, N⁆ ⊔ ⁅K, N⁆ := by
  refine le_antisymm ?_
    (sup_le (commutator_mono_left le_sup_left) (commutator_mono_left le_sup_right))
  have hH : ⁅H, N⁆ ≤ ⁅H, N⁆ ⊔ ⁅K, N⁆ := le_sup_left
  have hK : ⁅K, N⁆ ≤ ⁅H, N⁆ ⊔ ⁅K, N⁆ := le_sup_right
  rw [← QuotientGroup.ker_mk' (⁅H, N⁆ ⊔ ⁅K, N⁆), ← Subgroup.map_eq_bot_iff,
    map_commutator, Subgroup.commutator_eq_bot_iff_le_centralizer] at hH hK ⊢
  rw [map_sup]
  exact sup_le hH hK

@[to_additive]
theorem commutator_sup_right (H K N : Subgroup G) [N.Normal] : ⁅H ⊔ K, N⁆ = ⁅H, N⁆ ⊔ ⁅K, N⁆ := by
  let M := H ⊔ K ⊔ N
  have hHM : H ≤ M := le_sup_of_le_left le_sup_left
  have hKM : K ≤ M := le_sup_of_le_left le_sup_right
  have hNM : N ≤ M := le_sup_right
  have hHNM : ⁅H, N⁆ ≤ M := commutator_le_of_le hHM hNM
  have hKNM : ⁅K, N⁆ ≤ M := commutator_le_of_le hKM hNM
  suffices (⁅H.subgroupOf M, N.subgroupOf M⁆ ⊔ ⁅K.subgroupOf M, N.subgroupOf M⁆).Normal by
    simpa [← map_subtype_inj, map_sup, map_commutator, hHM, hKM, hNM] using
      commutator_sup_right_of_normal (H.subgroupOf M) (K.subgroupOf M) (N.subgroupOf M)
  suffices M ≤ normalizer (⁅H, N⁆ ⊔ ⁅K, N⁆ : Subgroup G) by
    convert Subgroup.normal_subgroupOf_of_le_normalizer this
    simp [← map_subtype_inj, map_sup, map_commutator, hHM, hKM, hNM, hHNM, hKNM]
  have hHKN : ⁅H, N⁆ ⊔ ⁅K, N⁆ ≤ N := sup_le (commutator_le_right H N) (commutator_le_right K N)
  refine sup_le (sup_le ?_ ?_) ?_
  · grw [le_normalizer_iff_commutator_le_right, hHKN, ← le_sup_left]
  · grw [le_normalizer_iff_commutator_le_right, hHKN, ← le_sup_right]
  · grw [← inf_normalizer_le_normalizer_sup, ← normalizer_commutator_ge_right,
      ← normalizer_commutator_ge_right, inf_idem]

@[to_additive]
theorem commutator_sup_left (N H K : Subgroup G) [N.Normal] : ⁅N, H ⊔ K⁆ = ⁅N, H⁆ ⊔ ⁅N, K⁆ := by
  simp_rw [commutator_comm N, commutator_sup_right]

@[to_additive]
instance commutator_characteristic [h₁ : Characteristic H₁] [h₂ : Characteristic H₂] :
    Characteristic ⁅H₁, H₂⁆ :=
  characteristic_iff_le_map.mpr fun ϕ =>
    commutator_le_map_commutator (characteristic_iff_le_map.mp h₁ ϕ)
      (characteristic_iff_le_map.mp h₂ ϕ)

@[to_additive]
theorem commutator_prod_prod (K₁ K₂ : Subgroup G') :
    ⁅H₁.prod K₁, H₂.prod K₂⁆ = ⁅H₁, H₂⁆.prod ⁅K₁, K₂⁆ := by
  apply le_antisymm
  · rw [commutator_le]
    rintro ⟨p₁, p₂⟩ ⟨hp₁, hp₂⟩ ⟨q₁, q₂⟩ ⟨hq₁, hq₂⟩
    exact ⟨commutator_mem_commutator hp₁ hq₁, commutator_mem_commutator hp₂ hq₂⟩
  · rw [prod_le_iff]
    constructor <;>
      · rw [map_commutator]
        apply commutator_mono <;>
          simp [le_prod_iff, map_map, MonoidHom.fst_comp_inl, MonoidHom.snd_comp_inl,
            MonoidHom.fst_comp_inr, MonoidHom.snd_comp_inr]

/-- The commutator of direct product is contained in the direct product of the commutators.

See `commutator_pi_pi_of_finite` for equality given `Fintype η`.
-/

@[to_additive /-- The commutator of direct product is contained in the direct product of the
commutators. See `commutator_pi_pi_of_finite` for equality given `Fintype η`. -/
]
theorem commutator_pi_pi_le {η : Type*} {Gs : η → Type*} [∀ i, Group (Gs i)]
    (H K : ∀ i, Subgroup (Gs i)) :
    ⁅Subgroup.pi Set.univ H, Subgroup.pi Set.univ K⁆ ≤ Subgroup.pi Set.univ fun i => ⁅H i, K i⁆ :=
  commutator_le.mpr fun _p hp _q hq i hi => commutator_mem_commutator (hp i hi) (hq i hi)

end Subgroup

open Subgroup hiding commutator

variable (G)

/-- The set of commutator elements `⁅g₁, g₂⁆` in `G`. -/
@[to_additive /-- The set of additive commutator elements `⁅g₁, g₂⁆` in `G`. -/]
def commutatorSet : Set G :=
  { g | ∃ g₁ g₂ : G, ⁅g₁, g₂⁆ = g }

@[to_additive]
theorem commutatorSet_def : commutatorSet G = { g | ∃ g₁ g₂ : G, ⁅g₁, g₂⁆ = g } :=
  rfl

@[to_additive]
theorem one_mem_commutatorSet : (1 : G) ∈ commutatorSet G :=
  ⟨1, 1, commutatorElement_self 1⟩

@[to_additive]
instance : Nonempty (commutatorSet G) :=
  ⟨⟨1, one_mem_commutatorSet G⟩⟩

variable {G g}

@[to_additive]
theorem mem_commutatorSet_iff : g ∈ commutatorSet G ↔ ∃ g₁ g₂ : G, ⁅g₁, g₂⁆ = g :=
  Iff.rfl

@[to_additive]
theorem commutator_mem_commutatorSet : ⁅g₁, g₂⁆ ∈ commutatorSet G :=
  ⟨g₁, g₂, rfl⟩

variable (G)

/-- The commutator subgroup of a group G is the normal subgroup
  generated by the commutators `[p,q] = p * q * p⁻¹ * q⁻¹`. -/

@[to_additive /-- The commutator subgroup of an additive group G is the normal additive subgroup
  generated by the additive commutators `[p,q] = p + q + -p + -q`. -/
]
def commutator : Subgroup G := ⁅(⊤ : Subgroup G), ⊤⁆
deriving Subgroup.Normal, Subgroup.Characteristic

attribute [to_additive] instNormalCommutator
attribute [to_additive] instCharacteristicCommutator

@[to_additive]
lemma commutator_def : commutator G = ⁅(⊤ : Subgroup G), ⊤⁆ :=
  rfl

@[to_additive]
lemma commutator_eq_closure : commutator G = Subgroup.closure (commutatorSet G) := by
  simp [commutator, Subgroup.commutator_def, commutatorSet]

@[to_additive]
lemma commutator_eq_normalClosure : commutator G = Subgroup.normalClosure (commutatorSet G) := by
  simp [commutator, Subgroup.commutator_def', commutatorSet]

variable {G} in
@[to_additive]
lemma Subgroup.map_subtype_commutator (H : Subgroup G) :
    (_root_.commutator H).map H.subtype = ⁅H, H⁆ := by
  rw [_root_.commutator_def, map_commutator, Subgroup.map_top, H.range_subtype]

variable {G} in
@[to_additive]
lemma Subgroup.commutator_le_self (H : Subgroup G) : ⁅H, H⁆ ≤ H :=
  H.map_subtype_commutator.symm.trans_le (map_subtype_le _)

@[to_additive]
theorem Subgroup.Normal.of_commutator_le {H : Subgroup G} (h : _root_.commutator G ≤ H) :
    H.Normal :=
  commutator_top_left_le_iff.mp <| commutator_mono le_top le_top |>.trans h

@[to_additive]
theorem commutator_eq_bot_iff_center_eq_top : commutator G = ⊥ ↔ Subgroup.center G = ⊤ := by
  simp [commutator, Subgroup.commutator_eq_bot_iff_le_centralizer]

@[to_additive]
theorem commutator_eq_bot_iff : commutator G = ⊥ ↔ IsMulCommutative G := by
  rw [commutator_eq_bot_iff_center_eq_top, center_eq_top_iff]

@[to_additive]
theorem commutator_eq_bot [hG : IsMulCommutative G] : commutator G = ⊥ :=
  (commutator_eq_bot_iff G).mpr hG

@[to_additive]
lemma commutator_centralizer_commutator_le_center :
    ⁅centralizer (commutator G : Set G), centralizer (commutator G)⁆ ≤ Subgroup.center G := by
  rw [← Subgroup.centralizer_univ, ← Subgroup.coe_top, ←
    Subgroup.commutator_eq_bot_iff_le_centralizer]
  suffices ⁅⁅⊤, centralizer (commutator G : Set G)⁆, centralizer (commutator G : Set G)⁆ = ⊥ by
    refine Subgroup.commutator_commutator_eq_bot_of_rotate ?_ this
    rwa [Subgroup.commutator_comm (centralizer (commutator G : Set G))]
  rw [Subgroup.commutator_comm, Subgroup.commutator_eq_bot_iff_le_centralizer]
  exact Set.centralizer_subset (Subgroup.commutator_mono le_top le_top)

/-- If `g` is conjugate to `g ^ 2`, then `g` is a commutator -/
@[to_additive /-- If g is conjugate to `2 • g`, then `g` is an additive commutator -/]
lemma mem_commutatorSet_of_isConj_sq {g : G} (hg : IsConj g (g ^ 2)) : g ∈ commutatorSet G := by
  obtain ⟨h, hg⟩ := hg
  use h, g
  rw [commutatorElement_def, hg]
  simp only [IsUnit.mul_inv_cancel_right, Units.isUnit, mul_inv_eq_iff_eq_mul, pow_two]

variable {G} in
@[to_additive]
lemma map_commutator_eq (f : G →* G') : (commutator G).map f = ⁅f.range, f.range⁆ := by
  rw [commutator_def, map_commutator, map_top]

variable {G} in
@[to_additive]
theorem map_commutator_of_surjective {f : G →* G'} (hf : Function.Surjective f) :
    (commutator G).map f = commutator G' := by
  rw [map_commutator_eq, f.range_eq_top_of_surjective hf, commutator_def]

section commutatorRepresentatives

open Subgroup

/-- Representatives `(g₁, g₂) : G × G` of commutators `⁅g₁, g₂⁆ ∈ G`. -/
@[to_additive /-- Representatives `(g₁, g₂) : G × G` of additive commutators `⁅g₁, g₂⁆ ∈ G`. -/]
-- Note: `Set` has no computational content, but Lean still attempts to compile it.
-- See https://github.com/leanprover/lean4/issues/14084.
noncomputable def commutatorRepresentatives : Set (G × G) :=
  Set.range fun g : commutatorSet G => (g.2.choose, g.2.choose_spec.choose)

/-- Subgroup generated by representatives `g₁ g₂ : G` of commutators `⁅g₁, g₂⁆ ∈ G`. -/
@[to_additive /-- Additive subgroup generated by representatives `g₁ g₂ : G` of additive
commutators `⁅g₁, g₂⁆ ∈ G`. -/
]
-- Note: `Set` has no computational content, but Lean still attempts to compile it.
-- See https://github.com/leanprover/lean4/issues/14084.
noncomputable def closureCommutatorRepresentatives : Subgroup G :=
  closure (Prod.fst '' commutatorRepresentatives G ∪ Prod.snd '' commutatorRepresentatives G)

@[to_additive]
lemma image_commutatorSet_closureCommutatorRepresentatives :
    (closureCommutatorRepresentatives G).subtype ''
        commutatorSet (closureCommutatorRepresentatives G) =
      commutatorSet G := by
  apply Set.Subset.antisymm
  · rintro - ⟨-, ⟨g₁, g₂, rfl⟩, rfl⟩
    exact ⟨g₁, g₂, rfl⟩
  · exact fun g hg ↦
      ⟨_, ⟨⟨_, subset_closure <| .inl ⟨_, ⟨⟨g, hg⟩, rfl⟩, rfl⟩⟩,
          ⟨_, subset_closure <| .inr ⟨_, ⟨⟨g, hg⟩, rfl⟩, rfl⟩⟩, rfl⟩,
        hg.choose_spec.choose_spec⟩

end commutatorRepresentatives

variable {G}

@[to_additive]
theorem Subgroup.Normal.quotient_commutative_iff_commutator_le {N : Subgroup G} [N.Normal] :
    IsMulCommutative (G ⧸ N) ↔ _root_.commutator G ≤ N := by
  rw [← commutator_eq_bot_iff, ← map_commutator_of_surjective (QuotientGroup.mk'_surjective N),
    map_eq_bot_iff, QuotientGroup.ker_mk']

open IsMulCommutative in
@[to_additive]
instance : IsMulCommutative (G ⧸ _root_.commutator G) :=
  Subgroup.Normal.quotient_commutative_iff_commutator_le.mpr le_rfl

/-- If `N` is a normal subgroup of `G` and `H` a commutative subgroup such that `H ⊔ N = ⊤`,
  then `N` contains `commutator G`. -/

@[to_additive /-- If `N` is a normal additive subgroup of `G` and `H` a commutative additive
subgroup such that `H ⊔ N = ⊤`, then `N` contains `addCommutator G`. -/
]
theorem Subgroup.Normal.commutator_le_of_self_sup_commutative_eq_top {N : Subgroup G} [N.Normal]
    {H : Subgroup G} (hHN : N ⊔ H = ⊤) [IsMulCommutative H] : _root_.commutator G ≤ N := by
  rw [← QuotientGroup.ker_mk' N, ← map_eq_bot_iff, _root_.commutator_def, ← hHN, map_commutator,
    commutator_self_eq_bot_iff, map_sup, QuotientGroup.map_mk'_self, bot_sup_eq]
  infer_instance

Messung
CHZG
9110010096

¤ Dauer der Verarbeitung: 0.11 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,137
#Domains=863,959