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