PosSLP and Sum of Squares

Markus Bläser, Julian Dörfler, Gorav Jindal

TL;DR

This paper explores the computational complexity of determining if a number computed by a straight-line program (SLP) is positive, particularly when that number is represented as a sum of squares. The authors introduce new problems and establish intricate relationships between them, offering a deeper understanding of decision problems in algebraic complexity theory and numerical analysis.

What Problem Does This Paper Address?

The core problem is PosSLP: given a straight-line program (SLP) that computes an integer, can we efficiently determine if that integer is positive? This problem is non-trivial because the integer computed by an SLP can be astronomically large, making direct computation infeasible. PosSLP is known to be equivalent to fundamental problems in numerical analysis and the Blum-Shub-Smale (BSS) model of computation.

This paper extends this by investigating variations of PosSLP related to representing integers as sums of squares. Specifically, it asks:

  • Can an integer computed by an SLP be expressed as the sum of two or three squares?
  • How does the complexity of these "sum of squares" problems relate to PosSLP and other related SLP problems like EquSLP (is the number zero?) and DegSLP (what is the degree of a polynomial computed by an SLP?).

The paper also introduces a new problem, Div2SLP, which asks if an integer computed by an SLP is divisible by a power of 2, and explores its connections to other problems.

Methods

The paper employs a variety of techniques from computational complexity theory, including:

  • Turing Reductions: Establishing relationships between problems by showing that one problem can be solved using an oracle for another. This is a key method for comparing the "hardness" of problems.
  • Number Theory Results: Leveraging established theorems about sums of squares (Lagrange's four-square theorem, characterizations of numbers representable as sums of two or three squares) to define and analyze the new problems.
  • Algebraic Complexity Theory: Utilizing the framework of straight-line programs (SLPs) and arithmetic circuits to model computations.
  • Conditional Hardness Results: Proving hardness results that depend on the truth of certain conjectures (e.g., the generalized Cramér conjecture).
  • New Problem Definitions: Introducing Div2SLP and analyzing its properties and relationships.

Datasets

Not discussed in the paper. The paper focuses on theoretical complexity and does not involve empirical evaluation on datasets.

Key Insights and Ideas

  • Sum of Squares as a Complexity Lens: Representing integers as sums of squares provides a natural and fruitful way to explore variations of PosSLP and connect them to number theory.
  • PosSLP's Centrality: The paper reinforces PosSLP's role as a bridge between classical complexity theory and numerical computation, showing how its complexity is intertwined with problems like 3SoSSLP (sum of three squares) and Div2SLP.
  • Div2SLP's Unexpected Role: The newly introduced Div2SLP problem, while seemingly simple, proves to be a crucial link in connecting 3SoSSLP to PosSLP, highlighting how seemingly minor problems can have significant implications in complexity theory.
  • Polynomial Positivity is Unconditionally Harder: In contrast to PosSLP for integers, the problem of determining if a polynomial computed by an SLP is always positive (PosPolySLP) is shown to be unconditionally coNP-hard, suggesting a fundamental difference in complexity.
  • Interconnectedness of SLP Problems: The paper visually and formally demonstrates a rich web of reductions between various SLP-based decision problems, illustrating that progress on one problem can shed light on others.

Key Results

  • PosSLP ∈ P<sup>3SoSSLP</sup>: PosSLP can be solved in polynomial time with an oracle for the 3SoSSLP problem.
  • PosSLP ∈ NP<sup>2SoSSLP</sup> (Conditional): If the generalized Cramér conjecture is true, then PosSLP is in NP with an oracle for the 2SoSSLP problem.
  • 3SoSSLP ∈ P<sup>{Div2SLP, PosSLP}</sup>: 3SoSSLP can be decided in polynomial time with oracles for both Div2SLP and PosSLP.
  • OrdSLP =<sub>p</sub> DegSLP <<sub>p</sub> Div2SLP: Establishes a strict hierarchy of complexity between these problems, with Div2SLP being strictly harder than DegSLP and OrdSLP.
  • PosPolySLP is coNP-hard: The problem of determining if a polynomial computed by an SLP is always positive is unconditionally coNP-hard.
  • SqPolySLP ∈ coRP: The problem of determining if a polynomial computed by an SLP is a perfect square is in coRP.

Limitations and Future Work

  • Unconditional Hardness for PosSLP: The paper notes that despite its importance, no unconditional non-trivial hardness results are known for PosSLP. Proving such results remains a major open question.
  • Complexity of Div2SLP: The exact complexity of Div2SLP is left as an open problem. The paper shows it's at least as hard as DegSLP and asks if it's NP-hard.
  • Sum of Squares for Polynomials: The paper suggests extending the study of sums of squares to polynomials, analogous to the integer case, as an interesting research direction.
  • PosSLP and Conjecture 3.1: The paper poses the question of whether Theorem 1.5 (PosSLP ∈ NP<sup>2SoSSLP</sup>) can be proven without relying on Conjecture 3.1.

Summary updated

Abstract

The problem PosSLP is the problem of determining whether a given straight-line program (SLP) computes a positive integer. PosSLP was introduced by Allender et al. to study the complexity of numerical analysis (Allender et al., 2009). PosSLP can also be reformulated as the problem of deciding whether the integer computed by a given SLP can be expressed as the sum of squares of four integers, based on the well-known result by Lagrange in 1770, which demonstrated that every natural number can be represented as the sum of four non-negative integer squares. In this paper, we explore several natural extensions of this problem by investigating whether the positive integer computed by a given SLP can be written as the sum of squares of two or three integers. We delve into the complexity of these variations and demonstrate relations between the complexity of the original PosSLP problem and the complexity of these related problems. Additionally, we introduce a new intriguing problem called Div2SLP and illustrate how Div2SLP is connected to DegSLP and the problem of whether an SLP computes an integer expressible as the sum of three squares. By comprehending the connections between these problems, our results offer a deeper understanding of decision problems associated with SLPs and open avenues for further exciting research
BibTeX
@inproceedings{blaser2024posslp,
  author = {Markus Bläser and Julian Dörfler and Gorav Jindal},
  title = {{PosSLP and Sum of Squares}},
  booktitle = {FSTTCS},
  year = {2024},
  url = {https://openreview.net/forum?id=1QwwK3RjYS},
}
Figure