module Algebra.Group.Instances.Dihedral where

Dihedral groupsπŸ”—

The group of symmetries of a regular comprising rotations around the center and reflections, is called the dihedral group of order there are rotations and reflections, where each reflection can be obtained by composing a rotation with a chosen reflection.

Terminology

There are two notational conventions for the dihedral group associated with the regular the geometric convention is to write while the algebraic convention is to write alluding to the order of the group. We will use the geometric convention here.

Given any abelian group we define the generalised dihedral group as the semidirect product1 group where the cyclic group acts on by negation.

Dih : βˆ€ {β„“} β†’ Abelian-group β„“ β†’ Group β„“
Dih G = Semidirect-product (LiftGroup _ (℀/ 2)) (Abelian→Group G) $
  β„€/-out 2 (F-map-iso Abβ†ͺGrp (negation G)) (ext Ξ» _ β†’ inv-inv)
  where open Abelian-group-on (G .snd)

We can then define the dihedral group as the generalised dihedral group of the group of rotations of the regular

D : Nat β†’ Group lzero
D n = Dih (β„€-ab/ n)

We also define the infinite dihedral group as the generalised dihedral group of the group of integers,

D∞ : Group lzero
D∞ = Dih β„€-ab

Geometrically, is the symmetry group of the following infinitely repeating frieze pattern, also known as there is a horizontal translation for every integer, as well as a reflection across the vertical axis that flips all the translations.

Note that our construction of makes equal to since is

D₀≑D∞ : D 0 ≑ D∞
D₀≑D∞ = ap Dih β„€-ab/0≑℀-ab

  1. See there for some intuition.β†©οΈŽ