|
|
|
|
SSL Defs.lean
Interaktion und PortierbarkeitLean
|
|
/-
Copyright (c) 2024 Yudai Yamazaki. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yudai Yamazaki
-/
module
public import Mathlib.GroupTheory.SemidirectProduct
/-!
# Group Extensions
This file defines extensions of multiplicative and additive groups and their associated structures
such as splittings and equivalences.
## Main definitions
- `(Add?)GroupExtension N E G`: structure for extensions of `G` by `N` as short exact sequences
`1 → N → E → G → 1` (`0 → N → E → G → 0` for additive groups)
- `(Add?)GroupExtension.Equiv S S'`: structure for equivalences of two group extensions `S` and `S'`
as specific homomorphisms `E → E'` such that each diagram below is commutative
```text
For multiplicative groups:
↗ E ↘
1 → N ↓ G → 1
↘ E' ↗
For additive groups:
↗ E ↘
0 → N ↓ G → 0
↘ E' ↗
```
- `(Add?)GroupExtension.Section S`: structure for right inverses to `rightHom` of a group extension
`S` of `G` by `N`
- `(Add?)GroupExtension.Splitting S`: structure for section homomorphisms of a group extension `S`
of `G` by `N`
- `SemidirectProduct.toGroupExtension φ`: the multiplicative group extension associated to the
semidirect product coming from `φ : G →* MulAut N`, `1 → N → N ⋊[φ] G → G → 1`
## TODO
If `N` is abelian,
- there is a bijection between `N`-conjugacy classes of
`(SemidirectProduct.toGroupExtension φ).Splitting` and `groupCohomology.H1`
(which will be available in the planned file `Mathlib/GroupTheory/GroupExtension/Abelian.lean` to
be added in a later PR).
- there is a bijection between equivalence classes of group extensions and `groupCohomology.H2`
(which is also stated as a TODO in `Mathlib/RepresentationTheory/GroupCohomology/LowDegree.lean`).
-/
@[expose] public section
variable (N E G : Type*)
/-- `AddGroupExtension N E G` is a short exact sequence of additive groups `0 → N → E → G → 0`. -/
structure AddGroupExtension [AddGroup N] [AddGroup E] [AddGroup G] where
/-- The inclusion homomorphism `N →+ E` -/
inl : N →+ E
/-- The projection homomorphism `E →+ G` -/
rightHom : E →+ G
/-- The inclusion map is injective. -/
inl_injective : Function.Injective inl
/-- The range of the inclusion map is equal to the kernel of the projection map. -/
range_inl_eq_ker_rightHom : inl.range = rightHom.ker
/-- The projection map is surjective. -/
rightHom_surjective : Function.Surjective rightHom
/-- `GroupExtension N E G` is a short exact sequence of groups `1 → N → E → G → 1`. -/
@[to_additive]
structure GroupExtension [Group N] [Group E] [Group G] where
/-- The inclusion homomorphism `N →* E` -/
inl : N →* E
/-- The projection homomorphism `E →* G` -/
rightHom : E →* G
/-- The inclusion map is injective. -/
inl_injective : Function.Injective inl
/-- The range of the inclusion map is equal to the kernel of the projection map. -/
range_inl_eq_ker_rightHom : inl.range = rightHom.ker
/-- The projection map is surjective. -/
rightHom_surjective : Function.Surjective rightHom
variable {N E G}
namespace AddGroupExtension
variable [AddGroup N] [AddGroup E] [AddGroup G] (S : AddGroupExtension N E G)
/-- `AddGroupExtension`s are equivalent iff there is an isomorphism making a commuting diagram.
Use `AddGroupExtension.Equiv.ofMonoidHom` in `Mathlib/GroupTheory/GroupExtension/Basic.lean` to
construct an equivalence without providing the inverse map. -/
structure Equiv {E' : Type*} [AddGroup E'] (S' : AddGroupExtension N E' G) extends E ≃+ E' where
/-- The left-hand side of the diagram commutes. -/
inl_comm : toAddEquiv ∘ S.inl = S'.inl
/-- The right-hand side of the diagram commutes. -/
rightHom_comm : S'.rightHom ∘ toAddEquiv = S.rightHom
/-- `Section` of an additive group extension is a right inverse to `S.rightHom`. -/
structure Section where
/-- The underlying function -/
toFun : G → E
/-- `Section` is a right inverse to `S.rightHom` -/
rightInverse_rightHom : Function.RightInverse toFun S.rightHom
/-- `Splitting` of an additive group extension is a section homomorphism. -/
structure Splitting extends G →+ E, S.Section
/-- A splitting of an additive group extension as a (set-theoretic) section. -/
add_decl_doc Splitting.toSection
end AddGroupExtension
namespace GroupExtension
variable [Group N] [Group E] [Group G] (S : GroupExtension N E G)
/-- The range of the inclusion map is a normal subgroup. -/
@[to_additive /-- The range of the inclusion map is a normal additive subgroup. -/]
instance normal_inl_range : S.inl.range.Normal :=
S.range_inl_eq_ker_rightHom ▸ S.rightHom.normal_ker
@[to_additive (attr := simp)]
theorem rightHom_inl (n : N) : S.rightHom (S.inl n) = 1 := by
rw [← MonoidHom.mem_ker, ← S.range_inl_eq_ker_rightHom, MonoidHom.mem_range]
exact exists_apply_eq_apply S.inl n
@[to_additive (attr := simp)]
theorem rightHom_comp_inl : S.rightHom.comp S.inl = 1 := by
ext n
rw [MonoidHom.one_apply, MonoidHom.comp_apply]
exact S.rightHom_inl n
/-- `E` acts on `N` by conjugation. -/
noncomputable def conjAct : E →* MulAut N where
toFun e := (MonoidHom.ofInjective S.inl_injective).trans <|
(MulAut.conjNormal e).trans (MonoidHom.ofInjective S.inl_injective).symm
map_one' := by
ext _
simp only [map_one, MulEquiv.trans_apply, MulAut.one_apply, MulEquiv.symm_apply_apply]
map_mul' _ _ := by
ext _
simp only [map_mul, MulEquiv.trans_apply, MulAut.mul_apply, MulEquiv.apply_symm_apply]
/-- The inclusion and a conjugation commute. -/
theorem inl_conjAct_comm {e : E} {n : N} : S.inl (S.conjAct e n) = e * S.inl n * e⁻¹ := by
simp only [conjAct, MonoidHom.coe_mk, OneHom.coe_mk, MulEquiv.trans_apply,
MonoidHom.apply_ofInjective_symm, MulAut.conjNormal_apply, MonoidHom.ofInjective_apply]
/-- `GroupExtension`s are equivalent iff there is an isomorphism making a commuting diagram.
Use `GroupExtension.Equiv.ofMonoidHom` in `Mathlib/GroupTheory/GroupExtension/Basic.lean` to
construct an equivalence without providing the inverse map. -/
@[to_additive]
structure Equiv {E' : Type*} [Group E'] (S' : GroupExtension N E' G) extends E ≃* E' where
/-- The left-hand side of the diagram commutes. -/
inl_comm : toMulEquiv ∘ S.inl = S'.inl
/-- The right-hand side of the diagram commutes. -/
rightHom_comm : S'.rightHom ∘ toMulEquiv = S.rightHom
namespace Equiv
variable {S}
variable {E' : Type*} [Group E'] {S' : GroupExtension N E' G}
@[to_additive (attr := macro_inline)]
instance : EquivLike (S.Equiv S') E E' where
coe equiv := equiv.toMulEquiv
inv equiv := equiv.toMulEquiv.symm
left_inv equiv := equiv.left_inv
right_inv equiv := equiv.right_inv
coe_injective' := fun ⟨_, _, _⟩ ⟨_, _, _⟩ h _ ↦ by
congr
rw [MulEquiv.ext_iff]
exact congrFun h
@[to_additive]
instance : MulEquivClass (S.Equiv S') E E' where
map_mul equiv := equiv.map_mul'
variable (equiv : S.Equiv S')
@[to_additive (attr := simp)]
theorem toMulEquiv_eq_coe : equiv.toMulEquiv = equiv := rfl
@[to_additive (attr := simp)]
theorem coe_toMulEquiv : ⇑(equiv : E ≃* E') = equiv := rfl
@[to_additive (attr := simp)]
theorem map_inl (n : N) : equiv (S.inl n) = S'.inl n := congr($equiv.inl_comm n)
@[to_additive (attr := simp)]
theorem rightHom_map (e : E) : S'.rightHom (equiv e) = S.rightHom e :=
congr($equiv.rightHom_comm e)
/-- The inverse of an equivalence of group extensions is an equivalence. -/
@[to_additive /-- The inverse of an equivalence of additive group extensions is an equivalence. -/]
def symm : S'.Equiv S where
__ := equiv.toMulEquiv.symm
inl_comm := by rw [MulEquiv.symm_comp_eq, ← equiv.inl_comm]
rightHom_comm := by rw [MulEquiv.comp_symm_eq, ← equiv.rightHom_comm]
/-- See Note [custom simps projection]. -/
@[to_additive /-- See Note [custom simps projection]. -/]
def Simps.symm_apply : E' → E := equiv.symm
@[to_additive (attr := simp)]
theorem coe_symm : (equiv : E ≃* E').symm = equiv.symm := rfl
initialize_simps_projections AddGroupExtension.Equiv (toFun → apply, invFun → symm_apply)
initialize_simps_projections Equiv (toFun → apply, invFun → symm_apply)
attribute [simps! symm_apply] AddGroupExtension.Equiv.symm
attribute [simps! symm_apply] symm
/-- The composition of monoid isomorphisms associated to equivalences of group extensions gives
another equivalence. -/
@[to_additive (attr := simps!)
/-- The composition of monoid isomorphisms associated to equivalences of additive group
extensions gives another equivalence. -/]
def trans {E'' : Type*} [Group E''] {S'' : GroupExtension N E'' G} (equiv' : S'.Equiv S'') :
S.Equiv S'' where
__ := equiv.toMulEquiv.trans equiv'.toMulEquiv
inl_comm := by rw [MulEquiv.coe_trans, Function.comp_assoc, equiv.inl_comm, equiv'.inl_comm]
rightHom_comm := by
rw [MulEquiv.coe_trans, ← Function.comp_assoc, equiv'.rightHom_comm, equiv.rightHom_comm]
variable (S)
/-- A group extension is equivalent to itself. -/
@[to_additive (attr := simps!) /-- An additive group extension is equivalent to itself. -/]
def refl : S.Equiv S where
__ := MulEquiv.refl E
inl_comm := rfl
rightHom_comm := rfl
end Equiv
/-- `Section` of a group extension is a right inverse to `S.rightHom`. -/
@[to_additive]
structure Section where
/-- The underlying function -/
toFun : G → E
/-- `Section` is a right inverse to `S.rightHom` -/
rightInverse_rightHom : Function.RightInverse toFun S.rightHom
namespace Section
@[to_additive (attr := macro_inline)]
instance : FunLike S.Section G E where
coe := toFun
coe_injective := fun ⟨_, _⟩ ⟨_, _⟩ _ ↦ by congr
variable {S}
@[to_additive (attr := simp)]
theorem coe_mk (σ : G → E) (hσ : Function.RightInverse σ S.rightHom) : (mk σ hσ : G → E) = σ := rfl
variable (σ : S.Section)
@[to_additive (attr := simp)]
theorem rightHom_section (g : G) : S.rightHom (σ g) = g := σ.rightInverse_rightHom g
@[to_additive (attr := simp)]
theorem rightHom_comp_section : S.rightHom ∘ σ = id := σ.rightInverse_rightHom.comp_eq_id
end Section
/-- `Splitting` of a group extension is a section homomorphism. -/
@[to_additive]
structure Splitting extends G →* E, S.Section
/-- A splitting of a group extension as a (set-theoretic) section. -/
add_decl_doc Splitting.toSection
namespace Splitting
@[to_additive (attr := macro_inline)]
instance : FunLike S.Splitting G E where
coe s := s.toFun
coe_injective := by
intro ⟨_, _⟩ ⟨_, _⟩ h
congr
exact DFunLike.coe_injective h
@[to_additive]
instance : MonoidHomClass S.Splitting G E where
map_mul s := s.map_mul'
map_one s := s.map_one'
variable {S}
@[to_additive (attr := simp)]
theorem coe_mk (s : G →* E) (hs : Function.RightInverse s S.rightHom) : (mk s hs : G → E) = s := rfl
@[to_additive (attr := simp)]
theorem toMonoidHom_mk (s : G →* E) (hs : Function.RightInverse s S.rightHom) :
(mk s hs : G →* E) = s := rfl
@[to_additive (attr := deprecated (since := "2026-09-15"))]
alias coe_monoidHom_mk := toMonoidHom_mk
variable (s : S.Splitting)
@[to_additive (attr := simp)]
theorem rightHom_splitting (g : G) : S.rightHom (s g) = g := s.rightInverse_rightHom g
@[to_additive (attr := simp)]
theorem rightHom_comp_splitting : S.rightHom.comp s = MonoidHom.id G := by
ext g
simp only [MonoidHom.comp_apply, MonoidHom.id_apply, MonoidHom.coe_ofClass, rightHom_splitting]
end Splitting
/-- A splitting of an extension `S` is `N`-conjugate to another iff there exists `n : N` such that
the section homomorphism is a conjugate of the other section homomorphism by `S.inl n`. -/
@[to_additive
/-- A splitting of an extension `S` is `N`-conjugate to another iff there exists `n : N` such
that the section homomorphism is a conjugate of the other section homomorphism by `S.inl n`. -/]
def IsConj (s s' : S.Splitting) : Prop := ∃ n : N, s = fun g ↦ S.inl n * s' g * (S.inl n)⁻¹
end GroupExtension
namespace SemidirectProduct
variable [Group G] [Group N] (φ : G →* MulAut N)
/-- The group extension associated to the semidirect product -/
def toGroupExtension : GroupExtension N (N ⋊[φ] G) G where
inl := inl
inl_injective := inl_injective
range_inl_eq_ker_rightHom := range_inl_eq_ker_rightHom
rightHom := rightHom
rightHom_surjective := rightHom_surjective
theorem toGroupExtension_inl : (toGroupExtension φ).inl = SemidirectProduct.inl := rfl
theorem toGroupExtension_rightHom : (toGroupExtension φ).rightHom = SemidirectProduct.rightHom :=
rfl
/-- A canonical splitting of the group extension associated to the semidirect product -/
def inr_splitting : (toGroupExtension φ).Splitting where
__ := inr
rightInverse_rightHom := rightHom_inr
end SemidirectProduct
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.34Angebot
¤
*Eine klare Vorstellung vom Zielzustand
|
|
2026-11-24
|
|
|
|
|