Examples#
This gallery walks through every public feature of mathematicskit.abstract_algebra:
cyclic and permutation groups, subgroups and cosets, finite fields, and
polynomial ring arithmetic.
Each script in this gallery is self-contained and can be run directly with
python examples/abstract_algebra/<section>/<script>.py.
Sections#
groups – cyclic and permutation groups, Cayley tables, and group-property checks.
subgroups – subgroup and coset enumeration, and Lagrange’s theorem.
finite_fields –
GF(p)andGF(p^n)arithmetic.polynomial_ring – polynomial addition, multiplication, division, and gcd.
Group actions#
Orbits of a group acting on a finite set, and Burnside’s orbit-counting lemma.
Error-correcting codes#
Reed-Solomon codes: polynomial evaluation over a finite field, and recovery from erasures.
Finite fields#
GF(p) and GF(p^n) arithmetic.
GF(8): finding an irreducible polynomial and building the field
Groups#
Permutation groups of polynomial roots, dihedral and quaternion groups, Cayley tables, and group-property checks.
Galois’s permutation groups: S_3 permuting the roots of x^3 - 2
Klein’s Erlangen program: the symmetry group of a square
Cayley’s abstract group and its multiplication table
Homomorphisms#
Structure-preserving maps between groups, their kernels and images, and the first isomorphism theorem.
Polynomial ring arithmetic#
Polynomial addition, multiplication, division, and gcd.
Polynomial long division and the Euclidean algorithm
Group structure#
Element orders, normal subgroups and quotients, solvability, Sylow subgroups, and composition series.
Abel-Ruffini and solvable groups: why S_5 blocks the quintic
Jordan-Hölder: composition series and their factors
Subgroups and cosets#
Subgroup and coset enumeration, and Lagrange’s theorem.
Lagrange’s theorem: subgroup order divides group order