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.
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