[Paper Review] The right-generators descendant of a numerical semigroup
This paper introduces an efficient algorithm for exploring the numerical semigroup tree up to a given genus by leveraging the right-generators descendant (RGD) of a semigroup, encoded via a binary string. By exploiting the jump (difference between the two smallest nonzero elements) and a recursive structure that enables parallelization, the method achieves significant speedups—over fivefold for genus 45—over prior seed-based approaches, culminating in the computation of 2.6×10^15 semigroups of genus 71.
For a numerical semigroup, we encode the set of primitive elements that are larger than its Frobenius number and show how to produce in a fast way the corresponding sets for its children in the semigroup tree. This allows us to present an efficient algorithm for exploring the tree up to a given genus. The algorithm exploits the second nonzero element of a numerical semigroup and the particular pseudo-ordinary case in which this element is the conductor.
Motivation & Objective
- To develop a fast algorithm for enumerating numerical semigroups by genus, a fundamental problem in semigroup theory.
- To exploit structural properties of numerical semigroups, particularly the second smallest nonzero element (jump), to optimize tree traversal.
- To enable parallelization of the semigroup tree exploration by organizing subtrees according to multiplicity and jump.
- To compute the number of numerical semigroups of genus 71, extending known computational bounds.
Proposed method
- The right-generators descendant (RGD) of a semigroup is defined as the semigroup obtained by removing all its right generators (primitive elements ≥ conductor).
- A binary string encodes the RGD, where bit j is 1 iff m + j is a right generator, enabling compact representation and fast access.
- The algorithm recursively computes the number of semigroups of genus γ by traversing subtrees rooted at pseudo-ordinary semigroups with fixed multiplicity and jump.
- A key optimization uses the jump parameter to group semigroups into subtrees that can be explored in parallel, especially via Cilk++ for multithreaded execution.
- The method includes code-level optimizations: descending loop order, early termination, and precomputed counts of grandchild semigroups based on jump and multiplicity.
- The RGD function is implemented recursively with state tracking via γ−2−g instead of passing γ and g, reducing overhead.
Experimental results
Research questions
- RQ1Can the structure of the numerical semigroup tree be exploited to accelerate the enumeration of semigroups by genus?
- RQ2How can the right-generators descendant (RGD) be used to design a more efficient algorithm than seed-based methods?
- RQ3What role does the jump (difference between the two smallest nonzero elements) play in enabling parallel and optimized traversal of the semigroup tree?
- RQ4To what extent can recursive tree traversal be optimized through bit-string encoding and early termination?
- RQ5What is the maximum genus for which the number of numerical semigroups can be computed efficiently using this approach?
Key findings
- The algorithm computes the number of numerical semigroups of genus 71 as exactly 260,403,318,268,2582, extending the known sequence beyond previous limits.
- For genus 45, the new RGD algorithm runs in 211 seconds, which is over five times faster than the recursive seed-based implementation (1465 seconds).
- When parallelized using eight cores via Cilk++, the RGD algorithm reduces the time for genus 45 from 211 to 48.0 seconds, demonstrating strong scalability.
- The RGD method outperforms the state-of-the-art implementation in [10] by 15–20% for genus 55, with a 7266-second runtime compared to 9948 seconds.
- The algorithm’s efficiency is enhanced by code-level optimizations, including descending loop order and precomputed counts of grandchild semigroups based on jump and multiplicity.
- The use of binary string encoding for the RGD avoids complex bitwise operations and enables efficient, portable implementation across programming languages.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.