Skip to main content
QUICK REVIEW

[Paper Review] Complexity of comparing monomials and two improvements of the BM-algorithm

Samuel Lundqvist|arXiv (Cornell University)|Jul 15, 2008
Topological and Geometric Data AnalysisComputer Science10 references5 citations
TL;DR

This paper introduces a new algorithm for merging lexicographically sorted lists of monomial exponent vectors, significantly improving the time complexity of monomial comparisons in the BM-algorithm. By combining this merge algorithm with a projection technique, the authors reduce the monomial manipulation complexity to $ O( ext{min}(m,n)m^2 \log m) $, making arithmetic operations the new bottleneck, and provide tighter bounds applicable to both the BM-algorithm and FGLM-algorithm across various monomial orders.

ABSTRACT

We give a new algorithm for merging sorted lists of monomials. Together with a projection technique we obtain a new complexity bound for the BM-algorithm.

Motivation & Objective

  • To analyze and improve the complexity of monomial comparisons under standard monomial orders (lex, deglex, degrevlex) using integer vector lexicographic comparison.
  • To develop a faster algorithm for merging lexicographically sorted lists of n-tuples representing monomials, reducing comparison overhead in polynomial arithmetic.
  • To reduce the time complexity of monomial manipulations in the BM-algorithm from $ O(n^2m^2) $ to $ O( ext{min}(m,n)m^2 \log m) $ using a projection technique.
  • To extend the improved complexity bounds to the FGLM-algorithm and other algorithms defined via functionals, generalizing prior results that assumed finite fields.
  • To establish a more realistic complexity model by accounting for the logarithmic cost of integer arithmetic, moving beyond the constant-time assumption.

Proposed method

  • Propose a new merge algorithm for lexicographically sorted lists of n-tuples that uses at most $ \min(s,t) + n $ comparisons in the set $ \Sigma $, plus $ O(\max(s,t)\log n) $ time.
  • Use a computational model where integer addition and comparison cost $ O(\log(\max(a,b))) $, reflecting real arithmetic cost.
  • Introduce a projection technique based on Lemma 3.4 to reduce monomial manipulation complexity by transforming the problem into a lower-dimensional space.
  • Apply the merge algorithm and projection to the BM-algorithm, showing that monomial comparison complexity is now bounded by $ O(\text{min}(m,n)m^2 \log m) $.
  • Leverage the same techniques to improve complexity bounds for the FGLM-algorithm and function-based ideal computation, using the same complexity model.
  • Use the fact that monomial comparison under standard orders reduces to lexicographic comparison of integer exponent vectors, enabling efficient algorithmic treatment.

Experimental results

Research questions

  • RQ1What is the true time complexity of comparing monomials under standard monomial orders when integer arithmetic costs are modeled realistically?
  • RQ2Can a faster merge algorithm for lexicographically sorted exponent vectors reduce the overall complexity of the BM-algorithm?
  • RQ3How does the projection technique reduce monomial manipulation complexity in the BM-algorithm without assuming a finite field?
  • RQ4Can the improved complexity bounds be extended to the FGLM-algorithm and other function-based ideal computation methods?
  • RQ5What is the new bottleneck in the BM-algorithm after optimizing monomial comparisons, and how does it compare to prior complexity models?

Key findings

  • The monomial comparison complexity for $ n $-variable monomials of degree $ \leq m $ is bounded by $ O(n \max(\log(m/n), 1)) $, improving over the standard $ O(n) $ assumption.
  • The new merge algorithm for sorted lists of $ s $ and $ t $ n-tuples uses at most $ \min(s,t) + n $ comparisons in $ \Sigma $, plus $ O(\max(s,t)\log n) $ time, outperforming the naive $ O(\max(s,t)n) $ approach.
  • The monomial manipulation part of the BM-algorithm is reduced to $ O(\text{min}(m,n)m^2 \log m) $ time complexity under standard monomial orders.
  • The arithmetic complexity of the BM-algorithm is improved to $ O(nm^2 + \min(m,n)m^3) $, with monomial operations now being the dominant cost only when $ m \ll n $.
  • The improved complexity bounds extend to the FGLM-algorithm and function-based ideal computation, yielding $ O(\min(m,n)m^3 + nm^2 + fnm + f\min(m,n)m^2) $ arithmetic operations and $ O(\min(m,n)m^2 \log m) $ time for monomial manipulations.
  • The projection technique enables generalization beyond finite fields, making the results applicable to $ \mathbb{Q} $ and other fields, unlike prior work assuming $ \mathbb{Z}_p $.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.