On the asymptotic and practical complexity of solving bivariate systems over the reals

Dimitrios I. Diochnos, Ioannis Z. Emiris, Elias P. Tsigaridas

Abstract

Solving systems of two polynomial equations in two variables is a fundamental task in nonlinear computational geometry, robotics, and computer-aided design. This paper presents a significant advancement in the efficiency of finding exact real-number solutions for such bivariate systems. By refining algorithms based on signed subresultant sequences and utilizing isolating interval representations, the authors establish a new theoretical bit complexity bound of $\tilde{O}_B(N^{12})$, improving upon the previous record of $\tilde{O}_B(N^{14})$. Furthermore, the authors provide a high-performance Maple implementation that demonstrates these theoretical gains translate into practical efficiency, rivaling specialized C++ libraries.

Introduction

The problem of solving systems like $F(x, y) = 0$ and $G(x, y) = 0$ over the real numbers is significantly more complex than solving them over complex numbers. The primary challenge lies in both precision and topology: when curves barely touch or intersect multiple times within a minute region, standard numerical solvers often fail or provide incorrect root counts. To address this, "exact" solvers are required to isolate roots into distinct rational rectangles (boxes) while accurately determining their intersection multiplicities.

This work aims to bridge the gap between theoretical complexity and practical robustness, providing algorithms that are both asymptotically optimal and capable of handling real-world engineering applications where degenerate cases and high-multiplicity roots are common.

Algorithmic Foundations

The authors utilize signed subresultant sequences—a sophisticated generalization of the Euclidean algorithm for polynomials—as their primary tool for root isolation. They represent real algebraic numbers using the isolating interval representation, which consists of a square-free polynomial and a rational interval containing exactly one root.

Historically, the research community favored "Thom’s encoding" for representing roots, believing it to be theoretically superior. However, this paper demonstrates that isolating intervals can achieve better complexity bounds ($\tilde{O}_B(N^{12})$ vs. $\tilde{O}_B(N^{14})$). A key technical innovation supporting this is the use of binary segmentation, which allows the authors to extend univariate techniques to multivariate cases, effectively "decoding" complex polynomial relationships.

Methodological Variants

The paper analyzes and implements three distinct algorithmic approaches:

  1. GRID: A straightforward projection method that maps roots onto the x and y axes and tests every possible combination in the resulting grid.
  2. M_RUR (Modified Rational Univariate Representation): A projection-based method that expresses the y-coordinate as a rational function of the x-coordinate, reducing the 2D problem to a 1D problem.
  3. G_RUR: An evolution of the RUR approach that utilizes Greatest Common Divisor (GCD) computations over extension fields to significantly improve practical efficiency.

Theoretical Insights: The Power of Aggregate Bounds

The leap in theoretical efficiency from $N^{14}$ to $N^{12}$ is largely attributed to the application of the Davenport-Mahler-Mignotte bound. The authors show that the total cost of evaluating a polynomial over all roots of another is much lower than evaluating them individually. This "batch processing" logic allows for a more streamlined complexity analysis and is central to the improved speed limit.

Experimental Results and Practical Performance

To evaluate the algorithms, the authors utilized several benchmark suites known in the symbolic computation community, including systems $R_i, M_i, D_i$ (Emiris & Tsigaridas), and $C_i$ (Gonzalez-Vega & Necula), alongside variable-swapped versions ($W_i$) to test coordinate sensitivity.

Key Findings

  • G_RUR Superiority: In practical tests, the G_RUR algorithm emerged as the most efficient, often performing 7–11 times faster than the GRID method.
  • Robustness: The implementation successfully handled "degenerate" cases, such as high-multiplicity roots, where other established libraries frequently crashed or exceeded memory limits.
  • Maple vs. C++: Despite being written in Maple, a high-level language, the solver's performance was comparable to—and occasionally faster than—highly optimized C++ libraries like synaps and fgb/rs. This was achieved through "numeric filtering," which uses fast floating-point math to rule out simple cases before resorting to exact arithmetic.

Conclusion and Future Work

This research establishes a new state-of-the-art for bivariate solving over the reals. By proving that isolating intervals are theoretically more efficient than previously thought and demonstrating that high-level implementations can be competitive with low-level libraries, the authors have provided a robust framework for future developments in computational geometry.

Future work remains in further optimizing the implementation, potentially through a full C++ port to eliminate Maple's internal overhead. Additionally, the authors noted that the full implementation of optimal algorithms for computing polynomial remainder sequences could yield even greater performance gains in the future.

Summary updated

BibTeX
@article{diochnos2009asymptotic,
  author = {Dimitrios I. Diochnos and Ioannis Z. Emiris and Elias P. Tsigaridas},
  title = {{On the asymptotic and practical complexity of solving bivariate systems over the reals}},
  journal = {J. Symb. Comput.},
  year = {2009},
  doi = {10.1016/j.jsc.2008.04.009},
}
Figure