- Boxes
- definitions
- Ellipses
- theorems and lemmas
- Blue border
- the statement of this result is ready to be formalized; all prerequisites are done
- Orange border
- the statement of this result is not ready to be formalized; the blueprint needs more work
- Blue background
- the proof of this result is ready to be formalized; all prerequisites are done
- Green border
- the statement of this result is formalized
- Green background
- the proof of this result is formalized
- Dark green background
- the proof of this result and all its ancestors are formalized
\(C_n\) is the generalization of \(C_3\), and is therefore the group of rotations of a regular n-gon. It uses mathlib’s Fin n
type, and addition on that type. Since Fin allows modular arithmetic, rotations that are seperated by a multiple of \(360^{\circ }\) are treated as equal. Similarly to \(C_3\), the identity is a \(0^{\circ }\) rotation, and the inverse of an \(x ^{\circ }\) rotation is a \((360 - x)^{\circ }\) rotation.
\(C_3\) is the group of rotational symmetries of an equilateral triangle with the group operation being the composition of symmetries. This is treated as an inductive type with three elements. The identity is a \( 0 ^{\circ } \) rotation, and the inverse of an \(x ^{\circ } \) rotation is a \((360 - x)^{\circ } \) rotation.
\(D_n\) is the dihedral group of order \(2n\). This is the group of all symmetries of a regular n-gon. This includes n rotations and n reflections. It is represented by a pair of a boolean and an element of Fin n
. The boolean represents whether the element is a rotation or not, and the element of Fin n
represents how much the first vertex is rotated. The identity is a \(0^{\circ }\) rotation, the inverse of an \(x^{\circ }\) rotation is a \((360 - x)^{\circ }\) rotation, and any reflection is its own inverse.
The subgroup of \(G\) generated by a subset \(S \subset G\) is defined to be the smallest subgroup containing all of \(S\). Notated \(\langle S \rangle \), it is written as
For a group \(G\) and \(x \in G\), we extend the domain of the power function to include all of \(\mathbb {Z}\) such that if \(n ~ {\lt}~ 0\), then \(x^n\) is equal to \(\iota (x^{-n})\). It is defined inductively below:
A group is a nonempty set \(G\) with a closed binary operation (\(\mu : G \times G \rightarrow G\)), satisfying the following group axioms:
Associativity: \(\forall \, a, b, c \in G, ~ \mu (\mu (a, b), c) = \mu (a, \mu (b, c))\)
Identity element: \(\mathbb {e}\in G\) where \(\forall \, a \in G, ~ \mu (a, \mathbb {e}) = \mu (\mathbb {e}, a) = a\)
Inverses (\(\iota \)): \(\forall \, a \in G, ~ \mu (\iota (a), a) = \mathbb {e}\)
Let \(\phi : G \rightarrow G'\) be a group homomorphism. The kernel of \(\phi \), denoted \(\text{img}(\phi )\), is defined as
This definition implicitly encodes that the image of a group homomorphism is a subgroup of \(G'\).
Let \(\phi : G \rightarrow G'\) be a group homomorphism. The kernel of \(\phi \), denoted \(\text{ker}(\phi )\), is defined as
This definition implicitly encodes that the kernel of a group homomorphism is a subgroup of \(G\).
For \(x \in M\), the \(n\)th power of \(x\) (where \(n \in \mathbb {N}\)) is defined as the left-multiplication of \(x\) with the identity of \(M\) \(n\) times. It is defined inductively below
Let \(G\) be a group. A subgroup \(H\) of \(G\) is a subset that is itself a group under the group operation of \(G\). This requires that the subgroup satisfies three operations.
The identity of \(G\) is contained within \(H\).
\(H\) must be closed under \(G\)’s group operation: for any \(a,b \in H\), \(\mu (a,b) \in H\).
\(H\) must be closed under \(G\)’s inversion operation: for any \(a \in H\), \(\iota (a) \in H\).
\(S_n\), the symmetric group of order \(n!\), is the set of all permutations of \(n\) elements. It is represented as the set of all bijections from Fin n
to Fin n
, with function composition as the group operation. The identity is the identity function, and the inverse of a group element is its inverse function (which exists since all bijections are invertible).
Let \(G\) be a group and \(x \in G\). Suppose that for two integers \(m\) and \(n\), \(x^m = x^n\). Then \(m \equiv n\) (mod \(|x|\)). Note that if two integers are equivalent mod 0, then they are equal, implying that if \(|x| = 0\), then the power function over \(\mathbb {Z}\) is injective.