A data structure for monomial ideals with applications to signature Gröbner bases
Pierre Lairez, Rafael Mohr, Théo Ternier
TL;DR
The paper introduces monomial divisibility diagrams (MDDs), a DAG-based data structure that maximally shares identical subtrees to compactly and efficiently represent monomial ideals. By converting traditional ideal trees into MDDs, it achieves fast membership tests and insertions, with theoretical complexity bounds and extensive empirical data on size and performance. The authors implement MDDs in AlgebraicSolving.jl and demonstrate substantial speed-ups in signature Gröbner basis computations, where monomial-ideal membership tests are a major bottleneck. The work also provides a rigorous formal framework, complexity analysis, and practical guidelines, highlighting when MDDs offer the strongest advantages, particularly for ideals arising from Gröbner bases. Overall, MDDs offer a practical, scalable alternative to generator lists and other tree-based structures for symbolic computation in polynomial rings.
Abstract
We introduce monomial divisibility diagrams (MDDs), a data structure for monomial ideals that supports insertion of new generators and fast membership tests. MDDs stem from a canonical tree representation by maximally sharing equal subtrees, yielding a directed acyclic graph. We establish basic complexity bounds for membership and insertion, and study empirically the size of MDDs. As an application, we integrate MDDs into the signature Gröbner basis implementation of the Julia package AlgebraicSolving.jl. Membership tests in monomial ideals are used to detect some reductions to zero, and the use of MDDs leads to substantial speed-ups.
