WorksComputer Science
Beyond 3SUM-Hardness for Geometric Problems
Abstract
Since the early days of fine-grained complexity, many geometric problems have been shown to require quadratic time under the 3SUM Hypothesis. But as the 3SUM Hypothesis was recently refuted, these lower bounds have lost their foundation. In this note we point out that many of them can be recovered under an alternative hardness assumption, the -AP Hypothesis. The required changes to the proofs are trivial, so the lower bounds remain just as easy to teach.
Introduction
Even before “fine-grained complexity” became a field with a name, Gajentaan and Overmars [21] established some of its very first conditional lower bounds. Their starting point was the 3SUM Hypothesis, which postulated that no algorithm can decide in time (for any constant ) whether a given set of numbers contains a solution to . From this assumption, they derived quadratic-time lower bounds for a diverse set of geometric problems: detecting three collinear points, finding separating lines, covering, visibility and motion planning problems, and many more. Follow-up work kept adding to this list [15, 2, 11, 18, 4, 9, 26, 3, 17, 12, 5, 13, 10, 23, 19, 20, 1 BFK+26, 24]. Part of the appeal of these lower bounds is their simplicity: most of the reductions are elementary and can be explained with a single picture. Unsurprisingly, they have become standard material in courses on fine-grained complexity, where they are often among the very first lower bounds that students encounter.
But recently, fine-grained complexity witnessed a spectacular breakthrough: Alman and Vassilevska Williams [6] gave a truly subquadratic algorithm for 3SUM, thereby refuting the 3SUM Hypothesis. At the same time and based on the same new technique, the APSP Hypothesis was refuted as well.1 As a consequence, a large body of conditional lower bounds based on these two hypotheses has become vacuous. The reductions themselves of course remain correct, but a reduction from 3SUM or APSP no longer constitutes evidence that a problem is hard. For algorithm design, this is good news: the complexity of the many 3SUM- or APSP-hard problems is now open, and for each of them we may hope for a polynomially faster algorithm. But at the same time, many of these problems will likely remain hard for other reasons. Sorting out which is which, either by designing faster algorithms or by restoring hardness results under other credible hypotheses, will be an important task for the fine-grained complexity community now.
In this note we point out that, for many geometric problems, this task is surprisingly easy: many of the classical 3SUM-based lower bounds remain valid, with essentially unchanged proofs, under a different hardness assumption from fine-grained complexity, the -AP Hypothesis [DFG+26]. The observation is simple, and we make no claim of technical depth. The reason for writing this note is more practical: several colleagues I talked to are teaching courses on fine-grained complexity this semester, and many of the lower bounds they had planned to cover have disappeared overnight. This note offers a way to keep many lower bounds for geometric problems on the syllabus, with only small changes. We hope that it will be useful to anyone teaching fine-grained complexity, now or in the future.
Arithmetic Progression Detection. A -term arithmetic progression (or -AP for short) is a sequence of numbers of the form ; we call it nontrivial if . In the -AP Detection problem the task is to decide whether a given set contains a nontrivial -AP. (Note that bounds the universe, and not just the size of .) The trivial algorithm enumerates the first two terms and tests whether the remaining terms are present in , in total time . For there is a much faster -time algorithm based on the Fast Fourier Transform. For , however, no polynomial improvement over the trivial algorithm is known, which motivated the following hypothesis for all constants [DFG+26].
Hypothesis 1.1 (-AP Hypothesis). There is no algorithm that decides whether a given set contains a nontrivial -AP in time , for any .
As argued before, the smallest interesting case is . Moreover, it is known that the -AP Hypothesis implies the -AP Hypothesis [DFG+26], and so the -AP Hypothesis is the strongest member of this family. The lower bounds in this note hold even under the weakest one: it suffices that the -AP Hypothesis holds for some constant .
Why should we believe in the -AP Hypothesis, especially now that 3SUM has been refuted? First, let us take a step back. Fine-grained complexity has never been about hardness for its own sake. Its ultimate goal is to find the fastest possible algorithm for every problem, and its hypotheses serve as signposts that tell us where not to look: as long as a problem is hard under some hypothesis, any faster algorithm for it would refute the hypothesis, so there is little point in attacking the problem directly while the hypothesis stands. In this view, whether a hypothesis is ultimately true is less important than whether it faithfully marks the limits of our current algorithmic techniques. Read in this way, this note puts many of the signposts for geometric problems back in place: whoever hopes to solve one of these problems faster should first find a faster algorithm for detecting arithmetic progressions. Second, there is good reason to trust this particular signpost: despite the problem’s natural appeal and its close connection to additive combinatorics, the fastest known algorithms for -AP Detection improve upon the trivial running time by merely subpolynomial factors [DFG+26, Section 5].3 Third, the recent breakthrough [6] does not seem to extend to 4-APs easily. At its core, their algorithm is still a Strassen-like algebraic algorithm. Algorithms of this type are tailored to trilinear problems, such as matrix multiplication or 3-AP Detection. In contrast, 4-AP Detection is inherently a 4-linear problem, and to the best of our knowledge Strassen-like techniques have so far never been extended to 4-linear problems in a nontrivial way. See [DFG+26, Section 5] for a more detailed discussion of the -AP Hypothesis.
Geometric Problems. Let us finally return to the geometric problems. Gajentaan and Overmars [21] routed most of their reductions through an intermediate problem called GeomBase: Given points with integer coordinates on the three horizontal lines , and , is there a non-horizontal line that contains three of the points? GeomBase is merely 3SUM in disguise (the points , and are collinear if and only if [21 Theorem 3.2]), but its geometric formulation makes it a convenient starting point for further reductions. In the same spirit, we consider the following natural generalization from three to lines.
Definition 1.2 (-GeomBase). Given a set of points with integer coordinates on the horizontal lines , determine whether there exists a non-horizontal line containing of the points.
See Figure 1 for an example. Just as GeomBase is a reformulation of 3SUM, -GeomBase is a reformulation of -AP Detection: points lie on a common line if and only if form a -AP. In particular, the following lemma is immediate.
Figure 1. A yes-instance of 4-GeomBase. The solid line contains the four points , one on each line; correspondingly, form a 4-AP.
Lemma 1.3. For any constant , the -GeomBase problem cannot be solved in time (for any constant ), unless the -AP Hypothesis fails.
Proof. Let be the given -AP instance. We randomly partition into sets (we apply “color coding”). Then construct the -GeomBase instance
Whenever there are points that lie on a shared line, the integers are equispaced and thus form a -AP in . Since are pairwise distinct (by color coding), the -AP is nontrivial. Conversely, suppose that there is a nontrivial -AP . With constant probability we color it correctly, , and in that event has the solution . The color coding technique can be derandomized using standard tools [7].
The simple observation of this note is that all reductions via GeomBase that we are aware of work just as well when starting from -GeomBase. Intuitively, the number of lines never plays any role in these reductions. The typical construction turns each of the horizontal lines into a wall of horizontal segments that leaves small holes precisely at the given points [21 Theorem 5.1]. The object in question (a separating line, a line of sight, a rod moving from one side to the other, and so on) must then pass through a hole in every wall, and this is possible if and only if some non-horizontal line hits a point on each of the original lines. Whether there are three walls or four or is irrelevant for this argument. Collecting the problems that were shown to be 3SUM-hard via GeomBase in [21, 15, 11, 3 BFK+26], we thus obtain the following Theorem 1.4.
Theorem 1.4. None of the following problems can be solved in time (for any constant ), unless the -AP Hypothesis fails for all constants .
Separator of Axis-Parallel Segments: Given disjoint axis-parallel segments in the plane, decide whether some line avoids all segments and has segments on both sides [21 Theorem 5.2].
Strips Cover a Box: Given strips and an axis-parallel rectangle in the plane, decide whether the strips cover the rectangle [21 Theorem 6.1].
Strips Cover a Triangle: Given strips and a triangle in the plane, decide whether the strips cover the triangle [21 Theorem 6.2].
Arbitrarily Oriented Rectangles Cover a Rectangle: Given arbitrarily oriented rectangles and an axis-parallel rectangle in the plane, decide whether the rectangles cover [21 Section 6.1].
Triangles Cover a Triangle: Given triangles and a designated triangle in the plane, decide whether the triangles cover [21 Theorem 6.2].
Hole in a Union of Triangles: Given triangles in the plane, decide whether their union has a hole [21 Theorem 6.3].
Area of a Union of Triangles: Given triangles in the plane, compute the area of their union [21 Theorem 6.5].
Maximum Depth of Halfplanes: Given halfplanes and an integer , decide whether some point lies in at least of them [21 Theorem 6.6].
Visibility Between Two Segments: Given horizontal segments and two further horizontal segments , in the plane, decide whether some point on sees some point on [21 Theorem 7.1].
Visibility of a Segment from Infinity: Given axis-parallel segments and a horizontal segment in the plane, decide whether some ray starting on avoids all other segments [21 Theorem 7.2].
Visibility of a Triangle from a Point in 3D: Given horizontal triangles, a horizontal triangle and a point in , decide whether sees some point of [21 Theorem 7.3].
Planar Motion Planning for a Rod: Given disjoint axis-parallel segments in the plane, decide whether a rod can be moved (by translations and rotations) between two given placements while avoiding the segments [21 Theorem 8.1].
Translational Motion Planning for a Vertical Rod in 3D: Given disjoint horizontal triangles in , decide whether a vertical rod can be translated between two given positions while avoiding the triangles [21 Theorem 8.2].
Perfect BSP for Disjoint Planar Segments: Given pairwise disjoint line segments in the plane, decide whether a binary space partition can recursively split cells by lines, without cutting any input segment, until each leaf cell contains at most one segment [15].
One-Fillability of a Polyhedral Mold: Given a polyhedron of complexity , decide whether there is an orientation in which it can be filled through a single opening without trapping air [11].
Narrowest Color-Spanning Strip: Given colored points in the plane, compute the narrowest strip that contains a point of every color [4].
Cardinality of the Distant-Horizon Edge Set: Given a piecewise-linear terrain with edges, count the edges that appear on its distant horizon (its upper silhouette under horizontal parallel projection) for some viewing direction [3].
Stabbing and Avoiding Segments: Given segments in the plane, partitioned into sets and , decide whether some line intersects all segments in and avoids all segments in [BFK+26].
Double-Wedge Intersection: Given double-wedges in the plane, decide whether they have a common point [BFK+26].
We omit the proofs, as each item follows trivially by inspecting the reduction in the respective reference and starting from -GeomBase instead of GeomBase. In § 2 we work out one example in detail.
Beyond GeomBase. Not all 3SUM-based hardness proofs for geometric problems go through GeomBase, e.g. [21 AHH+98, Erı̈99, 9 SEQ03, 17 CHEP07, 5, 13, 10, 23, 19, 20, 1], and those that do are not covered by this note. An important example with a direct reduction from 3SUM is the problem of detecting three collinear points among points in the plane [21 Theorem 4.1].
Example: Planar Motion Planning
To illustrate how the lower bounds in Theorem 1.4 are obtained, let us work out one example in detail: planar motion planning. Imagine a robot that is supposed to navigate through an environment of obstacles. In a classical geometric model, the robot is a convex polygon of constant complexity in the plane, and the obstacles are line segments. Given a start placement and a goal placement of the robot, the task is to decide whether the robot can move from the start to the goal, by translations and rotations, without ever colliding with an obstacle.
This classical problem can be solved in near-quadratic time [27, 14, 22]. Gajentaan and Overmars [21] showed that any polynomial improvement would refute the 3SUM Hypothesis, even if the robot is a rod and the obstacles are disjoint axis-parallel segments. Their reduction works equally well when starting from -GeomBase, which yields the following special case of Theorem 1.4.
Theorem 2.1. Planar motion planning for a rod moving through disjoint axis-parallel segments cannot be solved in time (for any constant ), unless the -AP Hypothesis fails for all constants .
Proof. Fix a constant , and let be a -GeomBase instance consisting of points. By shifting, we may assume that all -coordinates lie in for some integer . We construct the following environment of obstacles; see Figure 2.
Figure 2. The reduction from 4-GeomBase to planar motion planning, applied to the instance from Figure 1. The rod has to move from its start placement in the top room to its goal placement in the bottom room. Since the four holes at are collinear, the rod can slide through them, as indicated by the intermediate placement.
The core of the construction consists of horizontal walls, where the -th wall lies at height . Into each wall we cut a small hole for every point . The inner walls span a narrow chamber whose left and right sides are closed by vertical segments. The first and the -th wall extend beyond the chamber and form the ceiling of a large bottom room and the floor of a large top room, respectively. The robot is a rod whose length exceeds the diagonal of the chamber, and both rooms have width and height at least , say, so that the rod can move and rotate freely within each room. The task is to move the rod from a start placement in the middle of the top room to a goal placement in the middle of the bottom room.4 In total, the environment consists of segments and can be constructed in time .
If some non-horizontal line hits points of , then passes through a hole in every wall. Hence, we can move the rod onto within the top room, slide it along through all holes into the bottom room, and finally move it to its goal placement. Conversely, since the rod is longer than the diagonal of the chamber, at every moment of a collision-free motion it reaches into the top room or into the bottom room. By continuity, at some moment it reaches into both rooms, and thus passes through one hole in every wall. As the holes are narrow and centered at integer coordinates, this is only possible if the corresponding points of are collinear (as in [21 Theorem 5.1]). This proves that the reduction is correct.
All in all, an -time algorithm for planar motion planning would solve -GeomBase in time and thereby refute the -AP Hypothesis by Lemma 1.3.
AI Disclosure
I used Claude Opus 5.5 and ChatGPT Astra 6 to assist with the write-up, the generation of figures, and the search for references, but not for any of the mathematical ideas.
References
- [1]Mikkel Abrahamsen, Sujoy Bhore, Maike Buchin, Jacobus Conradi, Ce Jin, André Nusser, and Carolin Rehs. Algorithms and Lower Bounds for the Maximum Overlap of Two Polygons Under Translation. In 37th ACM-SIAM Symposium on Discrete Algorithms (SODA 2026), pages 5624–5640. SIAM, 2026. doi:10.1137/1.9781611978971.200.DOI
- [2]Esther M. Arkin, Yi-Jen Chiang, Martin Held, Joseph S. B. Mitchell, Vera Sacristán, Steven Skiena, and Tae-Heng Yang. On Minimum-Area Hulls. Algorithmica, 21(1):119–136, 1998. doi:10.1007/PL00009204.DOI
- [3]Daniel Archambault, William S. Evans, and David G. Kirkpatrick. Computing the Set of all the Distant Horizons of a Terrain. Int. J. Comput. Geom. Appl., 15(6):547–563, 2005. doi:10.1142/S0218195905001841.
- [4]Manuel Abellanas, Ferran Hurtado, Christian Icking, Rolf Klein, Elmar Langetepe, Lihong Ma, Belén Palop, and Vera Sacristán. Smallest Color-Spanning Objects. In 9th European Symposium on Algorithms (ESA 2001), volume 2161 of Lecture Notes in Computer Science, pages 278–289. Springer, 2001. doi:10.1007/3-540-44676-1_23.DOI
- [5]Boris Aronov and Sariel Har-Peled. On Approximating the Depth and Related Problems. SIAM J. Comput., 38(3):899–921, 2008. doi:10.1137/060669474.
- [6]Josh Alman and Virginia Vassilevska Williams. Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs. CoRR, abs/2610.06783, 2026. doi:10.48550/ARXIV.2610.06783.
- [7]Noga Alon, Raphael Yuster, and Uri Zwick. Color-Coding. J. ACM, 42(4):844–856, 1995. doi:10.1145/210332.210337.DOI
- [9]Gill Barequet and Sariel Har-Peled. Polygon Containment and Translational Min-Hausdorff-Distance Between Segment Sets are 3SUM-Hard. Int. J. Comput. Geom. Appl., 11(4):465–474, 2001. doi:10.1142/S0218195901000596.DOI
- [10]Karl Bringmann and André Nusser. Translating Hausdorff Is Hard: Fine-Grained Lower Bounds for Hausdorff Distance Under Translation. In 37th International Symposium on Computational Geometry (SoCG 2021), volume 189 of LIPIcs, pages 18:1–18:17. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2021. doi:10.4230/LIPIcs.SoCG.2021.18.
- [11]Prosenjit Bose, Marc J. van Kreveld, and Godfried T. Toussaint. Filling polyhedral molds. Comput. Aided Des., 30(4):245–254, 1998. doi:10.1016/S0010-4485(97)00075-4.DOI
- [12]Otfried Cheong, Alon Efrat, and Sariel Har-Peled. Finding a Guard that Sees Most and a Shop that Sells Most. Discret. Comput. Geom., 37(4):545–563, 2007. doi:10.1007/S00454-007-1328-5.DOI
- [13]Timothy M. Chan and Sariel Har-Peled. Smallest k-Enclosing Rectangle Revisited. In 35th International Symposium on Computational Geometry (SoCG 2019), volume 129 of LIPIcs, pages 23:1–23:15. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2019. doi:10.4230/LIPIcs.SoCG.2019.23.DOI
- [14]L. Paul Chew and Klara Kedem. A Convex Polygon Among Polygonal Obstacles: Placement and High-clearance Motion. Comput. Geom., 3:59–89, 1993. doi:10.1016/0925-7721(93)90001-M.DOI
- [15]Mark de Berg, Marko de Groot, and Mark H. Overmars. Perfect Binary Space Partitions. Comput. Geom., 7:81–91, 1997. doi:10.1016/0925-7721(95)00045-3.DOI
- [17]Jeff Erickson, Sariel Har-Peled, and David M. Mount. On the Least Median Square Problem. Discret. Comput. Geom., 36(4):593–607, 2006. doi:10.1007/S00454-006-1267-6.DOI
- [18]Jeff Erickson. New Lower Bounds for Convex Hull Problems in Odd Dimensions. SIAM J. Comput., 28(4):1198–1214, 1999. doi:10.1137/S0097539797315410.DOI
- [19]Geri Gokaj and Marvin Künnemann. Completeness Theorems for k-SUM and Geometric Friends: Deciding Fragments of Linear Integer Arithmetic. In 16th Innovations in Theoretical Computer Science Conference (ITCS 2025), volume 325 of LIPIcs, pages 55:1–55:25. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.ITCS.2025.55.DOI
- [20]Geri Gokaj, Marvin Künnemann, Sabine Storandt, and Carina Truschel. (Multivariate) k-SUM as Barrier to Succinct Computation. In 33rd European Symposium on Algorithms (ESA 2025), volume 351 of LIPIcs, pages 42:1–42:19. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.ESA.2025.42.DOI
- [21]Anka Gajentaan and Mark H. Overmars. On a Class of O(n²) Problems in Computational Geometry. Comput. Geom., 5:165–185, 1995. doi:10.1016/0925-7721(95)00022-2.DOI
- [22]Dan Halperin and Micha Sharir. A Near-Quadratic Algorithm for Planning the Motion of a Polygon in a Polygonal Environment. Discret. Comput. Geom., 16(2):121–134, 1996. doi:10.1007/BF02716803.
- [23]Marvin Künnemann and André Nusser. Polygon Placement Revisited: (Degree of Freedom + 1)-SUM Hardness and an Improvement via Offline Dynamic Rectangle Union. In 33rd ACM-SIAM Symposium on Discrete Algorithms (SODA 2022), pages 3181–3201. SIAM, 2022. doi:10.1137/1.9781611977073.124.
- [24]Jaegun Lee, Chaeyoon Chung, and Hee-Kap Ahn. Bichromatic Classifications of Points Using Strips. In 20th Scandinavian Symposium on Algorithm Theory (SWAT 2026), volume 370 of LIPIcs, pages 29:1–29:17. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2026. doi:10.4230/LIPIcs.SWAT.2026.29.DOI
- [25]OpenAI. Quasipolynomial Bounds for Arithmetic Progressions. Preprint available at github.com/openai/math, 2026.hub.valency.io/works/W_67sv59uj
- [26]Michael A. Soss, Jeff Erickson, and Mark H. Overmars. Preprocessing chains for fast dihedral rotations is hard or even impossible. Comput. Geom., 26(3):235–246, 2003. doi:10.1016/S0925-7721(02)00156-6.DOI
- [27]Gert Vegter. The Visibility Diagram: a Data Structure for Visibility Problems and Motion Planning. In 2nd Scandinavian Workshop on Algorithm Theory (SWAT 1990), volume 447 of Lecture Notes in Computer Science, pages 97–110. Springer, 1990. doi:10.1007/3-540-52846-6_81.DOI