← LibraryTest Polynomials for Galois Group SoftwareEngineering · MathematicsLesson 326/385← PrevNext →
ArticlePublished 7 Aug 20262 min readBy Kevin Jogintest polynomialsverificationsoftware testingGalois group

Galois Groups and Field Families

Test Polynomials for Galois Group Software

Why Galois group implementations need a curated test set, what a good set covers, and how to build one.

Engineering / MathematicsGalois Groups and Field Families2 min readKV-MATH-0623

Galois group computation is error-prone and its errors are quiet: a misidentified group is a plausible-looking answer. A curated set of polynomials with known groups is the only practical defence.

What a good test set covers

Coverage requirements for a Galois group test set
CategoryWhy it matters
One polynomial per transitive group, each degreeBasic coverage; catches gross misidentification
Polynomials whose resolvents have repeated rootsExercises the Tschirnhaus fallback path
Large coefficientsExercises coefficient growth handling
Small discriminantsFields with many ramified primes
Imprimitive groups in composite degreeExercises subfield detection
Near-miss pairsGroups distinguished only by a specific resolvent

Constructing test polynomials

Building test cases with known groups

  1. Start from a known groupConstruct a field with the desired group, for instance as a subfield of a cyclotomic field.
  2. Find a defining polynomialCompute the minimal polynomial of a generator.
  3. ReduceApply polynomial reduction to obtain small coefficients.
  4. RecordStore the polynomial with its verified group, discriminant and any subfields.

Cross-checking

Beyond a fixed test set, results should satisfy structural constraints, and checking these catches errors on inputs not in the set.

Regression discipline

Source. Henri Cohen, A Course in Computational Algebraic Number Theory, Springer GTM 138 — 6.3.7. Structural reference unverified: the source file was not available during authoring; chapter and section numbers are taken from the published edition and have not been checked against a physical copy.

Continue learning

Galois Groups of Sextic and Septic FieldsArticle · MathematicsNEXT LESSON →Constructing Tables of Number FieldsArticle · MathematicsGalois Groups of Quintic FieldsArticle · MathematicsCyclic and Pure Cubic Field FamiliesArticle · Mathematics