The Existential Theory of the Reals as a Complexity Class: A Compendium

Marcus Schaefer, Jean Cardinal, Tillmann MiltzowarXiv 2024 · DOI

The complexity class $\exists\mathbb{R}$ (the Existential Theory of the Reals) has emerged as a critical framework for understanding the computational limits of problems involving continuous variables. This compendium serves as a definitive guide, mapping the landscape of problems across geometry, algebra, and game theory that are likely harder than NP but easier than PSPACE.

Defining the "Real" NP

In classical complexity theory, classes like NP are defined over discrete inputs. However, many real-world problems in robotics, computer graphics, and economics deal with continuous variables and real numbers. The class $\exists\mathbb{R}$ was developed to capture the complexity of deciding whether a system of polynomial equations and inequalities has a real-valued solution.

A core reason $\exists\mathbb{R}$-complete problems often fall outside of NP is the "precision barrier." While NP requires a discrete, polynomial-sized witness, solutions to $\exists\mathbb{R}$ problems may involve irrational numbers or coordinates requiring a double-exponential number of bits to represent. This makes it impossible for a standard Turing machine to verify a solution in polynomial time.

Methodological Framework

The study of $\exists\mathbb{R}$ synthesizes two historically separate traditions: the Blum-Shub-Smale (BSS) model of real computation and the Mnëv/Shor tradition of geometric universality. Key techniques in the $\exists\mathbb{R}$ toolbox include:

  • Algebraic Encoding: Translating logical constraints into polynomial equations such as $x = y + z$ or $x = y \cdot z$.
  • Stretchability Encoding: Based on Mnëv’s Universality Theorem, this approach shows that any semialgebraic set can be encoded into the configuration of lines in a plane.
  • The Ball Theorem: This mathematical tool proves membership in $\exists\mathbb{R}$ by demonstrating that if a solution exists, it must lie within a "ball" of a specific, albeit potentially massive, radius.
Arrangements of lines in the plane can encode complex algebraic constraints via Mnëv’s Universality Theorem.

Key Insights: Universality and Robustness

One of the most profound insights of the compendium is the universality of simple geometric structures. Arrangements of lines or 4-dimensional polytopes are powerful enough to represent any possible algebraic shape. Furthermore, the class is remarkably robust; its computational power remains identical whether one allows strict inequalities, restricts variables to small ranges, or uses only the constants 0 and 1.

Domain Applications and Results

The compendium categorizes hundreds of $\exists\mathbb{R}$-complete problems across several domains:

Computational Geometry

The Art Gallery Problem, which involves finding the minimum number of guards to cover a polygon, is a hallmark $\exists\mathbb{R}$-complete problem. Other examples include determining the Rectilinear Crossing Number for graph drawings and Unit Disk Graph Recognition.

The Art Gallery Problem: Finding the minimum number of guards to cover a polygon is a hallmark $\exists\mathbb{R}$-complete problem.

Algebra and Game Theory

In algebra, determining the rank of a tensor or the non-negative factorization of a matrix are $\exists\mathbb{R}$-complete. In game theory, finding Nash Equilibria in 3-player games with specific payoff constraints falls into this class.

Machine Learning

The authors highlight that training ReLU neural networks to global optimality is $\exists\mathbb{R}$-complete. This suggests that the "landscape" of loss functions in deep learning is fundamentally tied to the theory of the reals, rather than simpler discrete complexity classes.

Future Directions

The most significant open question remains the relationship between NP and $\exists\mathbb{R}$. While they are suspected to be different, a formal proof is lacking. Additionally, there is a need for "fixed-parameter tractable" algorithms, as most current solutions are exponential in the worst case. The authors call for a more unified research approach to bridge the silos between different communities—such as graph theorists and machine learners—who are often solving the same underlying $\exists\mathbb{R}$ problems.

Summary updated

BibTeX
@misc{schaefer2024existential,
  author = {Marcus Schaefer and Jean Cardinal and Tillmann Miltzow},
  title = {{The Existential Theory of the Reals as a Complexity Class: A Compendium}},
  year = {2024},
  eprint = {2407.18006},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.18006},
}
Figure