module Algebra.Group.Semidirect {β„“} where

Semidirect products of groupsπŸ”—

Given a group acting on another group (that is, equipped with a group homomorphism from to the automorphism group of we define the semidirect product as a variant of the direct product in which the component influences the multiplication of the component.

To motivate the concept, let’s consider some examples:

  • The dihedral group of order which is the group of symmetries of a regular can be defined as the semidirect product where the action of sends to the negation automorphism of Intuitively, a symmetry of the regular has two components: a reflection (captured by the cyclic group and a rotation (captured by the cyclic group but when combining two symmetries, a reflection will swap the direction of further rotations. This is exactly captured by the semidirect product.
  • The group of isometries of the square lattice (considered as a subspace of which we will refer to by its IUC notation consists of reflections, rotations and translations. It can thus be defined as a further semidirect product of the dihedral group acting on the group of translations in the obvious way.
  • Leaving the discrete world, the group of all isometries of the plane can be seen analogously as the semidirect product of the orthogonal group acting on the translation group where is itself the semidirect product of acting on the special orthogonal group also known as the circle group.

We are now ready to define The underlying set is the cartesian product the unit is the pair of units The interesting part of the definition is the multiplication: we set

Note

Since our group actions are right actions, what we define here is the right semidirect product. The version that works with left actions instead would be

  Semidirect-product : Group β„“
  Semidirect-product = to-group A⋉B where
    A⋉B : make-group (⌞ A ⌟ Γ— ⌞ B ⌟)
    A⋉B .group-is-set = hlevel 2
    A⋉B .unit = A.unit , B.unit
    A⋉B .mul (a , b) (a' , b') = a A.⋆ a' , (Ο† # a' # b) B.⋆ b'

The definition of the inverses is then forced, and we easily check that the group axioms are verified.

    A⋉B .inv (a , b) = a A.⁻¹ , (Ο† # (a A.⁻¹) # b) B.⁻¹
    A⋉B .assoc (ax , bx) (ay , by) (az , bz) = Ξ£-pathp A.associative $
      ⌜ Ο† # (ay A.⋆ az) # bx ⌝ B.⋆ Ο† # az # by B.⋆ bz β‰‘βŸ¨ ap! (unext (Ο† .preserves .pres-⋆ _ _) _) βŸ©β‰‘
      Ο† # az # (Ο† # ay # bx) B.⋆ Ο† # az # by B.⋆ bz   β‰‘βŸ¨ B.associative βŸ©β‰‘
      (Ο† # az # (Ο† # ay # bx) B.⋆ Ο† # az # by) B.⋆ bz β‰‘Λ˜βŸ¨ ap (B._⋆ bz) ((Ο† # az) .Groups.to .preserves .pres-⋆ _ _) βŸ©β‰‘Λ˜
      Ο† # az # (Ο† # ay # bx B.⋆ by) B.⋆ bz            ∎
    A⋉B .invl (a , b) = Ξ£-pathp A.inversel $
      Ο† # a # ⌜ (Ο† # (a A.⁻¹) # b) B.⁻¹ ⌝ B.⋆ b β‰‘Λ˜βŸ¨ apΒ‘ (pres-inv ((Ο† # _) .Groups.to .preserves)) βŸ©β‰‘Λ˜
      Ο† # a # (Ο† # (a A.⁻¹) # (b B.⁻¹)) B.⋆ b   β‰‘Λ˜βŸ¨ ap (B._⋆ b) (unext (pres-⋆ (Ο† .preserves) _ _) _) βŸ©β‰‘Λ˜
      Ο† # ⌜ a A.⁻¹ A.⋆ a ⌝ # (b B.⁻¹) B.⋆ b     β‰‘βŸ¨ ap! A.inversel βŸ©β‰‘
      Ο† # A.unit # (b B.⁻¹) B.⋆ b               β‰‘βŸ¨ ap (B._⋆ b) (unext (pres-id (Ο† .preserves)) _) βŸ©β‰‘
      b B.⁻¹ B.⋆ b                              β‰‘βŸ¨ B.inversel βŸ©β‰‘
      B.unit                                    ∎
    A⋉B .idl (a , b) = Ξ£-pathp A.idl $
      Ο† # a # B.unit B.⋆ b β‰‘βŸ¨ ap (B._⋆ b) (pres-id ((Ο† # a) .Groups.to .preserves)) βŸ©β‰‘
      B.unit B.⋆ b         β‰‘βŸ¨ B.idl βŸ©β‰‘
      b                    ∎

The natural projection from to the first component is a group homomorphism, but the same cannot be said about the second component (can you see why?).

  ⋉-proj : Groups.Hom Semidirect-product A
  ⋉-proj .hom = fst
  ⋉-proj .preserves .pres-⋆ _ _ = refl

When the action of on is trivial, i.e.Β  is the identity automorphism for all it’s easy to see that the semidirect product agrees with the direct product

  Semidirect-trivial
    : Semidirect-product A B (trivial-action A B) ≑ Direct-product A B
  Semidirect-trivial = ∫-Path
    (total-hom (Ξ» x β†’ x) (record { pres-⋆ = Ξ» _ _ β†’ refl }))
    id-equiv

Another way to understand the semidirect product is to look at its definition for concrete groups, which is remarkably simple.