On Robustness for the Skolem, Positivity and Ultimate Positivity Problems

S. Akshay, Hugo Bazille, Blaise Genest, Mihir Vahanwala · DOI

This paper explores the "robustness" of long-standing open problems in the theory of linear dynamical systems. Specifically, it tackles the Skolem problem and the Positivity problem for Linear Recurrence Sequences (LRS).

TL;DR

The authors investigate what happens to classic, unsolved problems in linear dynamical systems when you replace a single, exact initial state with a small "neighborhood" of possible states. They discover a sharp divide: while checking if a specific neighborhood is safe is as hard as solving major open problems in number theory, determining if any safe neighborhood exists is actually decidable in PSPACE.

What Problem Does This Paper Address?

A Linear Recurrence Sequence (LRS), like the Fibonacci sequence, is defined by a rule where each term is a linear combination of previous terms. Two classic questions have stumped researchers for decades:

  1. The Skolem Problem: Will the sequence ever hit exactly zero?
  2. The Positivity Problem: Will every term in the sequence remain non-negative?

These problems are notoriously difficult; for general sequences, we don't even know if they are decidable. However, in real-world engineering and software verification, we can rarely specify an initial state with infinite precision. This paper asks: what if we consider a robust version? Instead of one starting point, we consider a small ball (neighborhood) around it. Does the sequence avoid zero (or stay positive) for every point in that ball?

Methods

The authors bridge the gap between "initialized" problems (fixed starting point, very hard) and "uninitialized" problems (any starting point, surprisingly easy). Their approach relies on:

  • Geometric Interpretation: They represent the set of all "safe" initial configurations as a set $P$ in multi-dimensional space. They show that for certain sequences, this set forms a cone.
  • Masser’s Torus: To handle the complex oscillations of LRS, they use a technique called "continuous relaxation," replacing discrete steps with a continuous flow on a mathematical structure called a torus.
  • First-Order Theory of the Reals: For the decidable cases, they formulate the problems as logical sentences that can be solved using Tarski’s and Renegar’s algorithms for real algebraic geometry.
  • Diophantine Approximation: To prove hardness, they link the problems to how well transcendental numbers can be approximated by fractions—a deep field of number theory.

Datasets

Not discussed in the paper. As a theoretical computer science paper, it focuses on mathematical proofs and complexity analysis rather than empirical benchmarks.

Key Insights and Ideas

  • The Hardness of Robustness: Surprisingly, the robust Skolem problem is "Diophantine hard." This is a stronger hardness result than what is known for the standard Skolem problem, suggesting that adding a neighborhood actually makes the problem more connected to deep number-theoretic challenges.
  • The Existential Escape: While checking a specific ball is hard, asking "Does there exist some small ball around my starting point that is safe?" is decidable. This is a major result for verification, as it provides a way to prove a system is robustly stable.
  • Open vs. Closed Matters: For "ultimate positivity" (staying positive after some initial steps), the results change depending on whether the neighborhood is an open ball or a closed ball. Open balls allow for PSPACE decidability in the non-uniform case, whereas closed balls remain hard.

Key Results

The paper provides a comprehensive complexity landscape for these robust variants, summarized in the table below:

Complexity results for different variants of Skolem/Positivity/Uniform Positivity.
  • Existential Robustness ($\exists$ Robust): All variants (Skolem, Positivity, Ultimate Positivity) are decidable in PSPACE.
  • Robust Skolem/Positivity: Proven to be Diophantine hard for fixed neighborhoods.
  • Robust Ultimate Positivity: The "non-uniform" version for open balls is decidable in PSPACE, even when the neighborhood is part of the input.

Limitations and Future Work

  • Rational vs. Algebraic: The hardness results specifically apply to cases where the ball's center has real-algebraic coordinates. The authors leave open whether the same hardness holds if the center is restricted to strictly rational coordinates.
  • Bounded Order: Some of the PSPACE decidability results (marked with an asterisk in the table) currently require the order of the recurrence sequence to be fixed or bounded.
  • Precision Bounds: While the paper proves decidability for the existential case, a practical next step would be determining the maximum safe radius $\psi$ that a system can tolerate.

Summary updated

Abstract

The Skolem problem is a long-standing open problem in linear dynamical systems: can a linear recurrence sequence (LRS) ever reach 0 from a given initial configuration? Similarly, the positivity problem asks whether the LRS stays positive from an initial configuration. Deciding Skolem (or positivity) has been open for half a century: the best known decidability results are for LRS with special properties (e.g., low order recurrences). But these problems are easier for "uninitialized" variants, where the initial configuration is not fixed but can vary arbitrarily: checking if there is an initial configuration from which the LRS stays positive can be decided in polynomial time (Tiwari in 2004, Braverman in 2006). In this paper, we consider problems that lie between the initialized and uninitialized variants. More precisely, we ask if 0 (resp. negative numbers) can be avoided from every initial configuration in a neighborhood of a given initial configuration. This can be considered as a robust variant of the Skolem (resp. positivity) problem. We show that these problems lie at the frontier of decidability: if the neighbourhood is given as part of the input, then robust Skolem and robust positivity are Diophantine hard, i.e., solving either would entail major breakthroughs in Diophantine approximations, as happens for (non-robust) positivity. However, if one asks whether such a neighbourhood exists, then the problems turn out to be decidable with PSPACE complexity. Our techniques also allow us to tackle robustness for ultimate positivity, which asks whether there is a bound on the number of steps after which the LRS remains positive. There are two variants depending on whether we ask for a "uniform" bound on this number of steps. For the non-uniform variant, when the neighbourhood is open, the problem turns out to be tractable, even when the neighbourhood is given as input.
BibTeX
@inproceedings{akshay2024robustness,
  author = {S. Akshay and Hugo Bazille and Blaise Genest and Mihir Vahanwala},
  title = {{On Robustness for the Skolem, Positivity and Ultimate Positivity Problems}},
  booktitle = {Log. Methods Comput. Sci},
  year = {2024},
  url = {https://openreview.net/forum?id=usOGGXt0Zz},
}

Loading related content...

Figure