KEVOS
ArticlesServicesCase studiesAboutContact
ArticlesServicesCase studiesAboutContact
← ArticlesComputing the Maximal Order: the Round 2 AlgorithmEngineering · Engineering MathematicsLesson 1/3← PrevNext →
GuidePublished 6 Aug 2026Updated 13 Aug 202610 min readBy Kevin JoginComputational Number TheoryNumber Fields IIRound 2 AlgorithmMaximal Order
On this page

Ask about this page

KEVOS AIComputing the Maximal Order: the Round 2 Algorithm

KEVOS knowledge first · trusted web sources when needed

Skip to the main content

Mathematics•Number Fields II

Computing the Maximal Order: the Round 2 Algorithm

Enlarging an order one prime at a time until it is maximal — the standard method, and the factoring obstruction it cannot escape.

  • Engineering
  • Mathematics
  • Part 1 of 4
  • 10 min read
  • KV-MATH-0036
Executive summary

Maximal at every prime implies maximal

An order is the maximal order exactly when it is maximal at every prime dividing the index, and only primes whose square divides the polynomial discriminant can do so. Round 2 therefore factors that discriminant, tests each candidate prime with the Dedekind criterion, and for each failure computes the p-radical and its ring of multipliers — a strictly larger order. Iterating at each prime terminates because the index drops by a factor of p each time.

Learning objectives

  • State the Pohst–Zassenhaus theorem and its role.
  • Apply the Dedekind criterion as a cheap maximality test.
  • Compute the p-radical and the ring of multipliers.
  • Trace the Round 2 loop and prove its termination.
  • Report an order correctly when the discriminant is not fully factored.

Section 01The Pohst–Zassenhaus theorem

An order O is maximal if and only if it is p-maximal for every prime p with p2 dividing disc(O). This localises the problem: instead of one global search, a finite list of independent local computations.

  1. Stage 01Compute disc(T)By the subresultant algorithm.
  2. Stage 02Factor the square partOnly primes whose square divides the discriminant can divide the index — the squarefree part is discarded immediately.
  3. Stage 03Test each candidateApply the Dedekind criterion. Most primes pass and need no further work.
  4. Stage 04Enlarge where neededFor each failing prime, compute the p-maximal overorder; merge all results into a single integral basis by Hermite normal form.
The factoring obstruction

Step 2 is the bottleneck, and it is not an implementation weakness — no algorithm is known that determines the maximal order without it. Where the discriminant cannot be fully factored, the result must be reported as maximal only at the primes that were resolved.

Section 02The p-radical and the ring of multipliers

The p-radical of O is the set of elements some power of which lies in pO — equivalently, the nilradical of O/pO pulled back to O.

AlgorithmComputing the p-radicalin: order O, prime p  →  out: the p-radical Ip
  1. Let q be the smallest power of p with q ≥ n, where n is the degree.
  2. Compute the matrix of the map x ↦ xq on O/pO, an Fp-linear map. Linear because the Frobenius is additive in characteristic p.
  3. The p-radical Ip is the preimage in O of the kernel of that map.
  4. Return Ip as an HNF module containing pO.
One kernel computation over Fp. The exponent q ensures every nilpotent element is captured, since nilpotency degree is bounded by the dimension.

The ring of multipliers of the radical is then the candidate larger order:

O′ = { x ∈ K : x Ip ⊆ Ip }
Why the ring of multipliers is larger

If O is not p-maximal, the radical fails to be invertible, and elements outside O multiply it into itself. Those elements are algebraic integers not in O, so O′ strictly contains O. When O is already p-maximal the construction returns O itself, which is the loop's termination signal.

Section 03The Round 2 algorithm

AlgorithmRound 2 (p-maximal overorder)in: order O, prime p  →  out: the p-maximal overorder of O
  1. Apply the Dedekind criterion. If O is p-maximal, return O. Cheap test first — it succeeds for most primes.
  2. Compute the p-radical Ip.
  3. Compute the ring of multipliers O′ of Ip, as the kernel of a linear map expressed via the regular representation.
  4. If O′ = O, then O is p-maximal; return O.
  5. Otherwise set O ← O′ and return to step 2. The index [O′ : O] is a positive power of p, so disc drops by at least p2.
Termination: each iteration divides the p-part of the index by at least p, and the index is finite. The number of iterations is bounded by the p-adic valuation of the index, typically very small.
Round 4 and the alternatives

Round 2 is the standard because it is simple and robust. The Round 4 algorithm of Ford and Letard uses Newton polygons and Montes-style techniques to obtain the same result faster for high-degree fields and for primes with large ramification, at the cost of considerably more intricate implementation.

Section 04Reporting the result

How to record a maximal order computation
SituationCorrect claim
disc(T) fully factoredℤK determined unconditionally
Unfactored part proved squarefreeℤK determined unconditionally
Unfactored part remainsOrder maximal at all primes below the factoring bound; field discriminant known only up to a square factor
Only trial division performedMaximal at small primes; treat the result as provisional
Downstream consequences of a non-maximal order

Every later computation — prime decomposition, class group, units — assumes maximality. Running them on a non-maximal order gives well-formed and incorrect answers. The conditionality must therefore propagate with the data, not be recorded once and forgotten.

ReferenceFrequently asked questions

How often does the Dedekind criterion succeed immediately?

For most primes. It fails only when the factorisation of the defining polynomial modulo p has repeated factors and an additional gcd condition holds, which is uncommon — so the expensive radical computation typically runs for only a handful of primes.

Can the maximal order be computed for large degree fields?

Yes, subject to the discriminant factoring. The linear algebra is polynomial in the degree; the practical limit is almost always the size of the discriminant rather than the degree itself.

What if the defining polynomial has huge coefficients?

Reduce it first. Polynomial reduction — using LLL on the lattice of the order to find a generator of small height — can shrink the discriminant enormously and may convert an infeasible factorisation into an easy one.

NavigateContinue in this stream

Curated next steps from this page. The site also surfaces algorithmically related reading below.

  • Number Fields IDiscriminants and Integral Bases
  • Number Fields IIPrime Decomposition: the Buchmann–Lenstra Method
  • Number Fields IOrders and Ideals in Number Fields
  • Linear Algebra & LatticesThe Hermite Normal Form

ProvenanceSources and further reading

This page is an original KEVOS explanatory article. It presents the underlying mathematics — definitions, algorithms, complexity results and selection criteria — in KEVOS editorial voice. No text is reproduced from any copyrighted source. Where numerical tables are relevant, KEVOS links to live authoritative databases rather than republishing static values.

Handbook application: from concept to controlled practice

Purpose. This expanded section turns the original page into a practical handbook. It preserves the supplied material and adds a repeatable way to apply, check and review Computing the Maximal Order: the Round 2 Algorithm. It does not replace a contract, legislation, a controlled standard, competent engineering judgement or specialist advice.

The operating aim is to turn a compact mathematical statement into a usable chain of definitions, claims, examples and checks. Read the original explanation first, then use the workflow and checks below to convert knowledge into evidence.

Treat Computing the Maximal Order: the Round 2 Algorithm as a network of definitions and implications, not as a list of formulas. The working vocabulary on this page—maximal, round, algorithm, section, ring—should be made explicit before any proof or computation begins. Record the ambient set or structure, the permitted operations and the equality or equivalence relation in use. A compact theorem often changes meaning when the base field, finiteness condition, commutativity assumption or direction of an action changes.

For a proof, write the hypotheses as a checklist and mark the line at which each one is used. For a computation, state the representation of the input, the arithmetic model, the termination condition and the output invariant. For a classification problem, distinguish existence from uniqueness and distinguish an object from its representation. These separations prevent a correct local calculation from being mistaken for the general result.

A useful worked example should be small enough to inspect completely but rich enough to exercise the main mechanism. Compute the result in two ways where practical: symbolically and by substitution, structurally and numerically, or directly and through a normal form. Then include one near-miss example in which a hypothesis fails. The contrast explains why the theorem is shaped as it is and gives the reader a diagnostic pattern for later problems.

Verification is part of the mathematics. Check domains and codomains, substitute proposed solutions, test identity and zero cases, compare dimensions or cardinalities, and confirm that maps respect the required operations. In numerical work, report precision, conditioning and a residual rather than digits alone. In algorithmic work, separate mathematical correctness from implementation complexity and resource limits.

Step-by-step operating method

  1. Fix the setting. State the objects, ambient structure, notation and assumptions before manipulating symbols.
  2. Separate claims. Distinguish definitions, hypotheses, conclusions, equivalent conditions and consequences.
  3. Choose a method. Select proof, construction, calculation or algorithm according to the question actually asked.
  4. Work a small case. Use the smallest non-trivial example to expose the mechanism and test edge behaviour.
  5. Verify independently. Substitute back, check invariants, test boundary cases or use an alternative derivation.

Worked-example protocol

Illustrative method—not a source theorem. Start with a small admissible input and list the definitions it must satisfy. Carry out each transformation on a separate line, citing the property that permits it. Preserve exact values until approximation is necessary. At the end, verify the output against the original definition and one invariant such as dimension, degree, determinant, order, norm or residual. Then alter one hypothesis and observe which step ceases to be valid. This protocol creates a reusable example without inventing a theorem-specific numerical answer.

StageRecordQuality check
InputObjects, domain, notation, assumptionsEvery symbol is defined
MethodPermitted operation or cited result at each stepAll hypotheses hold
OutputExact result and representationCorrect type, domain and form
VerificationSubstitution, invariant or alternative derivationIndependent agreement
Boundary testZero, identity, degenerate or failed hypothesisScope is understood

Common failure modes and recovery actions

1. Watch for

Using a theorem without checking every hypothesis.

Recovery: Return to the governing definition or requirement and restate the decision in one sentence.

2. Watch for

Treating a suggestive example as a proof of the general case.

Recovery: Separate evidence from assumption, assign an owner and set a date for validation.

3. Watch for

Changing notation or conventions part-way through an argument.

Recovery: Run a small counterexample, boundary test, pilot or independent check before proceeding.

4. Watch for

Hiding a division-by-zero, convergence, finiteness or commutativity assumption.

Recovery: Record the consequence, decision and rationale, then update the controlled baseline.

5. Watch for

Reporting a computed result without a residual, substitution or structural check.

Recovery: Escalate when the issue affects safety, compliance, acceptance, material value or an agreed tolerance.

Review checklist

  • Can every symbol be traced to a definition or prior result?
  • Which hypothesis does each major step use?
  • Does the method cover zero, identity, degenerate and boundary cases?
  • Can the conclusion be checked by a second representation or calculation?
  • Are mandatory requirements distinguished from recommendations and illustrative values?
  • Are sources, assumptions, units, dates and versions recorded closely enough to reproduce the decision?
  • Have safety, legal, ethical, stakeholder and operational consequences been considered at the appropriate level?
  • Is there a named owner and a trigger for review, escalation, change or retirement?

Questions for deeper application

What is the most important distinction a practitioner must preserve when applying Computing the Maximal Order: the Round 2 Algorithm?

Answer with a fact or cited source where available. Where evidence is incomplete, record the assumption, consequence, responsible owner and next validation action.

Which assumption about maximal would change the result most if it proved false?

Answer with a fact or cited source where available. Where evidence is incomplete, record the assumption, consequence, responsible owner and next validation action.

What evidence would allow an independent reviewer to reproduce or challenge the conclusion?

Answer with a fact or cited source where available. Where evidence is incomplete, record the assumption, consequence, responsible owner and next validation action.

Which boundary, exception or failure case has not yet been tested?

Answer with a fact or cited source where available. Where evidence is incomplete, record the assumption, consequence, responsible owner and next validation action.

What must be handed over, monitored or reviewed after the immediate work is complete?

Answer with a fact or cited source where available. Where evidence is incomplete, record the assumption, consequence, responsible owner and next validation action.

Authoritative references and use notes

The sources below were selected as institutional or primary guidance for the broader practice. They support the handbook method; they do not imply that every statement or clause in a source applies to every project. Confirm the current edition, jurisdiction, contract and application before treating any requirement as mandatory.

  • MIT OpenCourseWare — Number Theory I — Massachusetts Institute of Technology. Used for algebraic and analytic number theory. Accessed 2026-08-13.
  • MIT OpenCourseWare — Algebra I — Massachusetts Institute of Technology. Used for groups, vector spaces, linear transformations and linear groups. Accessed 2026-08-13.

On this page

  1. Executive summary
  2. The Pohst–Zassenhaus theorem
  3. The p-radical and the ring of multipliers
  4. The Round 2 algorithm
  5. Reporting the result
  6. FAQ
  7. Continue in this stream
  8. Sources
Page ID
KV-MATH-0036
Taxonomy
ENG-MATH — Engineering / Mathematics
Collection
COL-CANT-001
Topic stream
CANT-ADVANCED-FIELDS
Version
1.1.0 / content 2026.08
Last reviewed
2026-08-06

Continue learning

NEXT LESSON →Computing Galois Groups of Number FieldsGuide · Engineering MathematicsClass Group and Unit Computation in General Number FieldsGuide · Engineering MathematicsThe Round 2 Maximal Order AlgorithmGuide · Engineering MathematicsDiscriminants and Integral BasesGuide · Engineering Mathematics
KEVOS · Engineering, manufacturing and project improvement
ArticlesServicesCase studiesAboutContact
© 2026 KEVOS®