Beyond Worst-Case Analysis for Symbolic Computation: Root Isolation Algorithms

Alperen Ali Ergür, Josué Tonelli-Cueto, Elias P. TsigaridasarXiv 2025 · DOI

Introduction

For decades, the field of symbolic computation has been characterized by a stark divergence between theoretical optimality and practical utility. In the domain of univariate root isolation—a foundational task in computational mathematics—algorithms with the best worst-case bit complexity, such as Pan’s algorithm, are rarely implemented due to their extreme sophistication. Conversely, the Descartes solver, a conceptually simpler subdivision-based algorithm, is the preferred choice in practice despite having theoretically disappointing worst-case bounds.

This paper addresses this discrepancy by introducing "beyond worst-case analysis" to symbolic computation. By applying a smoothed analysis framework to polynomials with integer coefficients, the authors provide a rigorous theoretical explanation for the Descartes solver's superior real-world performance, demonstrating that it achieves quasi-linear expected bit complexity on typical inputs.

The Root Isolation Paradox

Root isolation involves finding disjoint intervals that each contain exactly one real root of a given polynomial. Historically, analysis in symbolic computation has relied almost exclusively on worst-case scenarios. These scenarios often involve "pathological" polynomials—highly artificial constructions that rarely occur in practical applications but dictate the theoretical upper bounds of an algorithm.

While the Descartes solver is incredibly fast on "typical" problems, its worst-case complexity does not reflect this. This paper seeks to bridge the gap between algorithmic theory and practice by moving away from these artificial edge cases and focusing on how algorithms perform on average or under slight random perturbations.

Methodology: Discrete Smoothed Analysis

The authors develop a framework that adapts smoothed analysis—a technique common in numerical analysis—to the discrete world of symbolic integer computation. Their approach utilizes several key components:

  • Discrete Random Models: Unlike numerical analysis, which often uses continuous Gaussian noise, this paper defines a "random bit polynomial" model. Here, coefficients are independent discrete random variables (integers) chosen uniformly from a range $[-2^\tau, 2^\tau]$. This model is significantly more representative of the inputs encountered in symbolic logic.
  • Condition-Based Complexity: The authors port the concept of condition numbers—a measure of a problem's sensitivity to input changes—into the discrete realm. They use these numbers to bound the "depth" of the algorithm's search tree.
  • Obreshkoff Areas: Using complex analytic techniques, the authors bound the number of complex roots near the real axis. This allows them to control the "width" of the search tree, ensuring it does not expand uncontrollably during the subdivision process.
  • Smoothed Perturbations: The analysis demonstrates that even when starting with a "bad" deterministic polynomial, a tiny amount of discrete, integer-based randomness is sufficient to "smooth out" the complexity and yield efficient performance.

Key Insights and Results

The Efficiency of the Descartes Solver

The primary insight of the paper is that for a "typical" polynomial, the Descartes solver's search tree is both narrower and shallower than worst-case theory suggests. The authors prove that the Descartes solver achieves an expected bit complexity of $\tilde{O}_B(d^2 + d\tau)$ for random polynomials of degree $d$ and bitsize $\tau$. This result is essentially quasi-linear relative to the input size and actually outperforms the record worst-case complexity of Pan’s algorithm by a factor of the degree ($d$).

Descartes vs. Sturm

While both Descartes and Sturm are symbolic subdivision solvers, the Descartes solver has long been considered practically superior. This paper provides the first theoretical proof for this preference. The expected bit complexity of the Sturm solver is shown to be $\tilde{O}_B(d^2\tau)$, confirming that it is an order of magnitude slower than Descartes in typical cases.

Sparse and Hybrid Algorithms

The research also extends to specialized algorithms:

  • ANewDsc: A symbolic-numeric hybrid algorithm was analyzed and found to have performance bounds similar to the pure Descartes solver.
  • JS-sparse: For polynomials with $M$ non-zero terms, the authors provided the first average-case analysis, showing an expected complexity of $\tilde{O}_B(M^{12}\tau^2 \log^3 d)$.

Conclusion and Future Work

By successfully applying smoothed analysis to discrete models, this paper provides a robust theoretical foundation for the practical success of the Descartes solver. It demonstrates that the "pathological" cases that hamper worst-case analysis are unstable and disappear under slight perturbations.

However, limitations remain. The current results rely on a uniformity parameter; if the distribution of coefficients is extremely non-uniform, the bounds may become less optimal. Furthermore, this study focuses exclusively on univariate polynomials. The authors identify the extension of this "beyond worst-case" framework to multivariate polynomial systems as a major open challenge for the field of symbolic computation.

Summary updated

BibTeX
@misc{ergur2025beyond,
  author = {Alperen Ali Ergür and Josué Tonelli-Cueto and Elias P. Tsigaridas},
  title = {{Beyond Worst-Case Analysis for Symbolic Computation: Root Isolation Algorithms}},
  year = {2025},
  eprint = {2506.04436},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.04436},
}
Figure