NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Undecidable First-Order Theories of Affine Geometries

Antti Kuusisto, Jeremy Meyers, Jonni Virtema

Abstract

This paper investigates the computational complexity of first-order theories of affine geometries when augmented with unary predicates. While Tarski famously proved the decidability of Euclidean geometry, the status of affine geometry—which lacks a metric for distance—remained a subject of conjecture. The authors refute a long-standing hypothesis by Aiello and van Benthem, demonstrating that adding even a single unary predicate to the first-order theory of the real affine plane $(\mathbb{R}^2, \beta)$ results in $\Pi_1^1$-hardness. This result establishes a sharp boundary between decidable geometric systems and those that are inherently uncomputable.

Introduction

In the mid-20th century, Alfred Tarski established a foundational result in mathematical logic: the first-order theory of Euclidean geometry is decidable. This implies that any geometric statement involving points, betweenness, and equidistance can be algorithmically verified. However, affine geometry presents a different challenge. Affine geometry is essentially "ruler-only" geometry; it retains the concept of betweenness ($\beta$) but discards the "compass" (equidistance).

A decade-old conjecture by Aiello and van Benthem (2002) suggested that the first-order theory of the real plane with only the betweenness relation would remain decidable even if "labels" (unary predicates representing regions or sets of points) were added. This paper provides a definitive refutation of that conjecture, showing that such systems are not only undecidable but sit high within the analytical hierarchy.

Methodology: From Geometry to Grids

The core of the proof relies on a technique known as tiling reductions. To prove that a logic is undecidable, one can show that it is capable of "simulating" a known undecidable problem, such as the Tiling Problem. The Tiling Problem asks whether a set of square tiles with colored edges can cover an infinite plane such that adjacent edges match colors.

To perform this reduction, the authors had to bridge the gap between the continuous nature of the real plane and the discrete nature of a tiling grid. They achieved this by constructing Cartesian frames.

Construction of a discrete grid structure within a continuous affine space to facilitate tiling reductions.

Using only the betweenness relation, the authors "bootstrapped" a coordinate system. By defining intersection points of lines and utilizing the density of the real plane, they effectively mapped a discrete computer-memory-like grid onto the infinite geometric space. This allowed them to encode the rules of the tiling problem into first-order formulas.

Furthermore, the authors utilized the Heine-Borel theorem to demonstrate that "finiteness" is first-order definable in these structures. Typically, expressing that a set is finite requires second-order logic. However, in the context of the real plane, the authors proved that a first-order formula can uniquely identify sets that are finite, closed, and bounded, creating a surprising link between topology and logic.

Key Results and Complexity

The findings reveal a massive jump in complexity when moving from pure affine geometry to labeled affine geometry:

  • Refutation of the Conjecture: The first-order theory of $(\mathbb{R}^2, \beta)$ with unary predicates is undecidable.
  • High Analytical Complexity: For any dimension $n \geq 2$, the theory of $(\mathbb{R}^n, \beta)$ with a single unary predicate is $\Pi_1^1$-hard. This means the theory is not just "harder than the halting problem" (which is $\Sigma_1^0$), but is beyond the reach of standard arithmetic analysis.
  • Finite Predicates: Even if the labels are restricted to a finite number of points, the theory remains $\Pi_1^0$-hard (undecidable).
  • Logic Translation: The authors demonstrated that over these geometric structures, "Weak Universal MSO" (quantifying over finite sets) is as expressive as "Universal MSO" (quantifying over all sets), due to the internal definability of finiteness.

Implications and Future Directions

These results have significant implications for spatial databases and Geographic Information Systems (GIS). If general reasoning about labeled regions in affine space is uncomputable, developers must look for "well-behaved" fragments.

The authors suggest that future work should focus on identifying restricted classes of regions—such as those defined only by convex polygons—that might yield decidable fragments. Additionally, the 1D case (the real line) remains an exception; it is decidable because it behaves as a simple linear order. These findings provide a rigorous theoretical foundation for developing new, computationally tractable modal spatial logics for AI applications.

Summary updated

BibTeX
@inproceedings{kuusisto2013undecidable,
  author = {Antti Kuusisto and Jeremy Meyers and Jonni Virtema},
  title = {{Undecidable First-Order Theories of Affine Geometries}},
  booktitle = {Log. Methods Comput. Sci},
  year = {2013},
  url = {https://openreview.net/forum?id=snoRP5ow6OYm},
}
Figure