Table of Contents
Fetching ...

On the Complexity of the Skolem Problem at Low Orders

Piotr Bacik, Joël Ouaknine, James Worrell

Abstract

The Skolem Problem asks to determine whether a given linear recurrence sequence (LRS) $\langle u_n \rangle_{n=0}^\infty$ over the integers has a zero term, that is, whether there exists $n$ such that $u_n = 0$. Decidability of the problem is open in general, with the most notable positive result being a decision procedure for LRS of order at most 4. In this paper we consider a bounded version of the Skolem Problem, in which the input consists of an LRS $\langle u_n \rangle_{n=0}^\infty$ and a bound $N \in \mathbb N$ (with all integers written in binary), and the task is to determine whether there exists $n\in\{0,\ldots,N\}$ such that $u_n=0$. We give a randomised algorithm for this problem that, for all $d\in \mathbb N$, runs in polynomial time on the class of LRS of order at most $d$. As a corollary we show that the (unrestricted) Skolem Problem for LRS of order at most 4 lies in $\mathsf{coRP}$, improving the best previous upper bound of $\mathsf{NP}^{\mathsf{RP}}$. The running time of our algorithm is exponential in the order of the LRS -- a dependence that appears necessary in view of the $\mathsf{NP}$-hardness of the Bounded Skolem Problem. However, even for LRS of a fixed order, the problem involves detecting zeros within an exponentially large range. For this, our algorithm relies on results from $p$-adic analysis to isolate polynomially many candidate zeros and then test in randomised polynomial time whether each candidate is an actual zero by reduction to arithmetic-circuit identity testing.

On the Complexity of the Skolem Problem at Low Orders

Abstract

The Skolem Problem asks to determine whether a given linear recurrence sequence (LRS) over the integers has a zero term, that is, whether there exists such that . Decidability of the problem is open in general, with the most notable positive result being a decision procedure for LRS of order at most 4. In this paper we consider a bounded version of the Skolem Problem, in which the input consists of an LRS and a bound (with all integers written in binary), and the task is to determine whether there exists such that . We give a randomised algorithm for this problem that, for all , runs in polynomial time on the class of LRS of order at most . As a corollary we show that the (unrestricted) Skolem Problem for LRS of order at most 4 lies in , improving the best previous upper bound of . The running time of our algorithm is exponential in the order of the LRS -- a dependence that appears necessary in view of the -hardness of the Bounded Skolem Problem. However, even for LRS of a fixed order, the problem involves detecting zeros within an exponentially large range. For this, our algorithm relies on results from -adic analysis to isolate polynomially many candidate zeros and then test in randomised polynomial time whether each candidate is an actual zero by reduction to arithmetic-circuit identity testing.

Paper Structure

This paper contains 15 sections, 12 theorems, 34 equations, 3 tables, 1 algorithm.

Key Result

Theorem 2.1

Let $F(x) = \sum_{j=0}^\infty b_j x^j \in \mathbb{Z}_p [\![x]\!]$ be a non-zero convergent power series. Suppose $j_0$ is an integer such that Then there is a polynomial $g(x)$ of degree $j_0$ and a power series $h(x)$ with no zeros in $\mathcal{O}_p$ such that In particular, $F$ has exactly $j_0$ zeros in $\mathcal{O}_p$, counting multiplicity.

Theorems & Definitions (23)

  • Theorem 2.1: $p$-adic Weierstrass Preparation Theorem
  • Definition 2.2
  • Corollary 2.3
  • Proof 1
  • Proposition 2.4
  • Proof 2
  • Theorem 2.5
  • Proof 3
  • Theorem 3.1
  • Lemma 3.2
  • ...and 13 more