Irrational Guards are Sometimes Needed

Mikkel Abrahamsen, Anna Adamaszek, Tillmann Miltzow

Abstract

The Art Gallery Problem (AGP) is a classic challenge in computational geometry: determining the minimum number of guards required to oversee the interior of a simple polygon. While the problem has long been known to be NP-hard, a fundamental question remained: do polygons with integer coordinates always admit an optimal guard set with rational coordinates? This paper settles the question in the negative, demonstrating that irrational guard placement is sometimes strictly superior to any rational solution. This finding provides strong evidence that the AGP belongs to the complexity class $\exists\mathbb{R}$ (the Existential Theory of the Reals) rather than NP.

Introduction

In computational geometry, the membership of a problem in the complexity class NP depends on the existence of a polynomial-sized "witness" that can be verified in polynomial time. For the Art Gallery Problem, if an optimal solution for a polygon with integer vertices could always be expressed in rational coordinates, a set of such coordinates would serve as this witness. However, if irrationality is required, the problem likely belongs to $\exists\mathbb{R}$, a class dealing with systems of polynomial equations and inequalities.

This research addresses this gap by constructing specific polygons where the optimal placement of guards is forced into irrational coordinates. By proving that irrationality is sometimes unavoidable, the authors challenge the assumption that discrete or rational approximations are sufficient for solving the AGP optimally.

Geometric Gadgets and Construction

The authors' proof relies on a sophisticated geometric construction that "traps" guards into specific positions using three types of "pockets" or gadgets added to a basic rectangular frame:

  1. Triangular Pockets: These are used in pairs to force a guard to lie on a specific line segment. To see the tips of two opposing triangular pockets, a guard must stand exactly on the line connecting them.
  2. Rectangular Pockets: These further restrict guards to specific intervals along those forced lines, narrowing the search space for optimal placement.
  3. Quadrilateral Pockets: This is the core innovation. The authors show that the visibility constraints created by these pockets define second-degree curves, such as parabolas and hyperbolas.
Visibility constraints and gadgets used to force guard positions.

By carefully aligning these gadgets, the authors create a scenario where three guards can only see the entire polygon if the middle guard sits exactly at the intersection of two such curves. This intersection point is shown to be irrational.

Results: The Monotone Polygon

The primary result of the paper is the construction of a specific monotone polygon with integer vertices. A monotone polygon is one that can be intersected by any line orthogonal to a fixed line at most twice—a property that usually simplifies geometric problems. However, the authors demonstrate that even these polygons can require irrationality.

A monotone polygon with integer coordinates that requires irrational guard placement for an optimal solution.

Using GeoGebra for initial geometric intuition and SageMath for symbolic algebraic computations, the authors proved that this polygon can be guarded by 3 irrational guards, but requires 4 guards if they must be placed at rational coordinates. They provided the exact coordinates for their optimal solution, which involve algebraic numbers of degree 2, such as $x = 3.5 + 5\sqrt{2}$.

Implications and Complexity

The findings have significant implications for the complexity of the Art Gallery Problem:

  • The 4/3 Ratio: By chaining their construction $n$ times, the authors show that the ratio of guards needed at rational positions versus irrational positions can be as high as 4/3. This proves that any algorithm restricted to rational coordinates (such as those using a discrete grid) can never achieve an approximation ratio better than 4/3.
  • Rectilinear Polygons: The paper also introduces a rectilinear polygon (where all edges are horizontal or vertical) that requires 9 irrational guards but 10 rational ones. This demonstrates that even removing slanted edges does not eliminate the requirement for irrational placement.
  • Complexity Class: This work provides the necessary geometric foundations to prove that AGP is $\exists\mathbb{R}$-complete, placing it in a class of problems that are generally considered harder than NP.

Conclusion

This paper resolves a long-standing open question by proving that rational coordinates are insufficient for the Art Gallery Problem. While the irrational numbers identified here are roots of second-degree polynomials, the authors leave it as an open question whether higher-degree algebraic or even transcendental numbers might be required for other polygons. Furthermore, while they proved the effect with 3 guards, it remains unknown if a polygon requiring only 2 guards could also force irrationality. This research marks a major step in characterizing the true computational complexity of visibility problems in geometry.

Summary updated

Abstract

In this paper we study the art gallery problem, which is one of the fundamental problems in computational geometry. The objective is to place a minimum number of guards inside a simple polygon so that the guards together can see the whole polygon. We say that a guard at position x sees a point y if the line segment xy is contained in the polygon. Despite an extensive study of the art gallery problem, it remained an open question whether there are polygons given by integer coordinates that require guard positions with irrational coordinates in any optimal solution. We give a positive answer to this question by constructing a monotone polygon with integer coordinates that can be guarded by three guards only when we allow to place the guards at points with irrational coordinates. Otherwise, four guards are needed. By extending this example, we show that for every n, there is a polygon which can be guarded by 3n guards with irrational coordinates but needs 4n guards if the coordinates have to be rational. Subsequently, we show that there are rectilinear polygons given by integer coordinates that require guards with irrational coordinates in any optimal solution.
BibTeX
@inproceedings{abrahamsen2017irrational,
  author = {Mikkel Abrahamsen and Anna Adamaszek and Tillmann Miltzow},
  title = {{Irrational Guards are Sometimes Needed}},
  booktitle = {SoCG},
  year = {2017},
  url = {https://openreview.net/forum?id=8xLXcTJIyS},
}
Figure