arXiv:2610.32162cs.DSOct 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2610.32162

Beyond 3SUM-Hardness for Geometric Problems

Nick Fischer

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 k-AP Hypothesis. The required changes to the proofs are trivial, so the lower bounds remain just as easy to teach.

1 Introduction

Even before “fine-grained complexity” became a field with a name, Gajentaan and Overmars [GO95] 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 O(n2−ϵ)O(n^{2-\epsilon}) (for any constant ϵ>0\epsilon > 0) whether a given set of nn numbers contains a solution to a+b=ca + b = c. 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 [dBdGO97, ACH+98, BvKT98, Eri99, AHI+01, BHP01, SEO03, AEK05, EHPM06, CEHP07, AHP08, CHP19, BN21, KN22, GK25, GKST25, ABB+26, BFK+26, LCA26]. 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 [AW26] 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^{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 k-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.

*Max Planck Institute for Informatics. Email: nfischer@mpi-inf.mpg.de

1^{1}The APSP Hypothesis postulates that no algorithm can compute all pairs of distances in a given n-vertex directed edge-weighted graph in time O(n3−ϵ)O(n^{3-\epsilon}) (for any constant ϵ>0\epsilon > 0).

Arithmetic Progression Detection. A k-term arithmetic progression (or k-AP for short) is a sequence of numbers of the form a,a+d,a+2d,…,a+(k−1)da, a + d, a + 2d, \ldots, a + (k - 1)d; we call it nontrivial if d≠0d \neq 0. In the k-AP Detection problem the task is to decide whether a given set A⊆{1,…,N}A \subseteq \{1, \ldots, N\} contains a nontrivial k-AP. (Note that NN bounds the universe, and not just the size of AA.) The trivial algorithm enumerates the first two terms a,a+d∈Aa, a + d \in A and tests whether the remaining k−2k - 2 terms are present in AA, in total time O(N2)O(N^2). For k=3k = 3 there is a much faster O(Nlog⁡N)O(N \log N)-time algorithm based on the Fast Fourier Transform. For k≥4k \geq 4, however, no polynomial improvement over the trivial algorithm is known, which motivated the following hypothesis for all constants k≥4k \geq 4 [DFG +^{+}26].

Hypothesis 1.1 (k-AP Hypothesis). There is no algorithm that decides whether a given set A⊆{1,…,N}A \subseteq \{1, \ldots, N\} contains a nontrivial k-AP in time O(N2−ϵ)O(N^{2-\epsilon}), for any ϵ>0\epsilon > 0.

As argued before, the smallest interesting case is k=4k = 4. Moreover, it is known that the kk-AP Hypothesis implies the (k+1)(k+1)-AP Hypothesis [DFG+26][DFG^{+}26], and so the 4-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 kk-AP Hypothesis holds for some constant k≥4k \geq 4.

Why should we believe in the k-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 k-AP Detection improve upon the trivial running time by merely subpolynomial factors [DFG +^{+}26, Section 5]. 2^{2} Third, the recent breakthrough [AW26] 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 k-AP Hypothesis.

Geometric Problems. Let us finally return to the geometric problems. Gajentaan and Overmars [GO95] routed most of their reductions through an intermediate problem called GeomBase: Given nn points with integer coordinates on the three horizontal lines y=0y=0, y=1y=1 and y=2y=2, is there a non-horizontal line that contains three of the points? GeomBase is merely 3SUM in disguise (the points (a,0)(a,0), (c,1)(c,1) and (b,2)(b,2) are collinear if and only if a+b=2ca+b=2c [GO95, 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 kk lines.

Definition 1.2 (k-GeomBase). Given a set of n points with integer coordinates on the k horizontal lines y=1,…,ky = 1, \ldots, k, determine whether there exists a non-horizontal line containing k of the points.

See Figure 1 for an example. Just as GeomBase is a reformulation of 3SUM, k-GeomBase is a reformulation of k-AP Detection: k points (a1,1),…,(ak,k)(a_1, 1), \ldots, (a_k, k) lie on a common line if and only if a1,…,aka_1, \ldots, a_k form a k-AP. In particular, the following lemma is immediate.

2^{2}The fastest known algorithm has in fact improved since [DFG +^{+}26]. OpenAI recently announced quasipolynomial bounds for Szemerédi's theorem [Ope26]: for every k≥3k \geq 3, every set A⊆{1,…,N}A \subseteq \{1, \ldots, N\} without a nontrivial k-AP has size ∣A∣≤N/2Ω(log⁡N)c|A| \leq N/2^{\Omega(\log N)^c}, for some constant c=c(k)>0c = c(k) > 0. This immediately yields a simple algorithm: if AA is larger than this bound, the answer is yes; otherwise, the brute-force algorithm runs in time O(N+∣A∣2)=N2/2Ω(log⁡N)cO(N + |A|^2) = N^2/2^{\Omega(\log N)^c}.

Figure

Figure 1. A yes-instance of 4-GeomBase. The solid line contains the four points (5,1)(5,1), (7,2)(7,2), (9,3)(9,3), (11,4)(11,4), one on each line; correspondingly, 5, 7, 9, 11 form a 4-AP.

Lemma 1.3. For any constant k≥4k \geq 4, the k-GeomBase problem cannot be solved in time O(n2−ϵ)O(n^{2-\epsilon}) (for any constant ϵ>0\epsilon > 0), unless the k-AP Hypothesis fails.

Proof. Let A be the given k-AP instance. We randomly partition A into sets A1,…,AkA_1, \ldots, A_k (we apply “color coding”). Then construct the k-GeomBase instance

P={(a,i):1≤i≤k,a∈Ai}.P=\{(a,i):1\leq i\leq k,a\in A_{i}\}.

Whenever there are kk points (a1,1),…,(ak,k)∈P(a_1,1),\ldots,(a_k,k)\in P that lie on a shared line, the integers a1,…,aka_1,\ldots,a_k are equispaced and thus form a kk-AP in AA. Since a1,…,aka_1,\ldots,a_k are pairwise distinct (by color coding), the kk-AP is nontrivial. Conversely, suppose that there is a nontrivial kk-AP a1,…,ak∈Aa_1,\ldots,a_k\in A. With constant probability we color it correctly, (a1,…,ak)∈A1×⋯×Ak(a_1,\ldots,a_k)\in A_1\times\cdots\times A_k, and in that event PP has the solution (a1,1),…,(ak,k)(a_1,1),\ldots,(a_k,k). The color coding technique can be derandomized using standard tools [AYZ95].

The simple observation of this note is that all reductions via GeomBase that we are aware of work just as well when starting from k-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 [GO95, 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 k is irrelevant for this argument. Collecting the problems that were shown to be 3SUM-hard via GeomBase in [GO95, dBdGO97, BvKT98, AEK05, BFK +^{+}26], we thus obtain the following Theorem 1.4.

Theorem 1.4. None of the following problems can be solved in time O(n2−ϵ)O(n^{2-\epsilon}) (for any constant ϵ>0\epsilon > 0), unless the k-AP Hypothesis fails for all constants k≥4k \geq 4.

• Separator of Axis-Parallel Segments: Given n disjoint axis-parallel segments in the plane, decide whether some line avoids all segments and has segments on both sides [GO95, Theorem 5.2].

• Strips Cover a Box: Given n strips and an axis-parallel rectangle in the plane, decide whether the strips cover the rectangle [GO95, Theorem 6.1].

• Strips Cover a Triangle: Given n strips and a triangle in the plane, decide whether the strips cover the triangle [GO95, Theorem 6.2].

• Arbitrarily Oriented Rectangles Cover a Rectangle: Given n arbitrarily oriented rectangles and an axis-parallel rectangle R in the plane, decide whether the n rectangles cover R [GO95, Section 6.1].

• Triangles Cover a Triangle: Given n triangles and a designated triangle t in the plane, decide whether the n triangles cover t [GO95, Theorem 6.2].

• Hole in a Union of Triangles: Given n triangles in the plane, decide whether their union has a hole [GO95, Theorem 6.3].

• Area of a Union of Triangles: Given n triangles in the plane, compute the area of their union [GO95, Theorem 6.5].

• Maximum Depth of Halfplanes: Given n halfplanes and an integer t, decide whether some point lies in at least t of them [GO95, Theorem 6.6].

• Visibility Between Two Segments: Given n horizontal segments and two further horizontal segments s, s′s' in the plane, decide whether some point on s sees some point on s′s' [GO95, Theorem 7.1].

• Visibility of a Segment from Infinity: Given n axis-parallel segments and a horizontal segment s in the plane, decide whether some ray starting on s avoids all other segments [GO95, Theorem 7.2].

• Visibility of a Triangle from a Point in 3D: Given n horizontal triangles, a horizontal triangle t and a point p in R3R^{3}, decide whether p sees some point of t [GO95, Theorem 7.3].

• Planar Motion Planning for a Rod: Given n 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 [GO95, Theorem 8.1].

• Translational Motion Planning for a Vertical Rod in 3D: Given n disjoint horizontal triangles in R3R^{3}, decide whether a vertical rod can be translated between two given positions while avoiding the triangles [GO95, Theorem 8.2].

• Perfect BSP for Disjoint Planar Segments: Given n 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 [dBdGO97].

• One-Fillability of a Polyhedral Mold: Given a polyhedron of complexity n, decide whether there is an orientation in which it can be filled through a single opening without trapping air [BvKT98].

• Narrowest Color-Spanning Strip: Given n colored points in the plane, compute the narrowest strip that contains a point of every color [AHI+01][AHI^{+}01].

• Cardinality of the Distant-Horizon Edge Set: Given a piecewise-linear terrain with n edges, count the edges that appear on its distant horizon (its upper silhouette under horizontal parallel projection) for some viewing direction [AEK05].

• Stabbing and Avoiding Segments: Given n segments in the plane, partitioned into sets S and A, decide whether some line intersects all segments in S and avoids all segments in A [BFK+26][BFK^{+}26].

• Double-Wedge Intersection: Given n double-wedges in the plane, decide whether they have a common point [BFK+26][BFK^{+}26].

We omit the proofs, as each item follows trivially by inspecting the reduction in the respective reference and starting from k-GeomBase instead of GeomBase. In Section 2 we work out one example in detail.

Beyond GeomBase. Not all 3SUM-based hardness proofs for geometric problems go through GeomBase, e.g. [GO95, ACH +^{+}98, Eri99, BHP01, SEO03, EHPM06, CEHP07, AHP08, CHP19, BN21, KN22, GK25, GKST25, ABB +^{+}26], and those that do not are not covered by this note. An important example with a direct reduction from 3SUM is the problem of detecting three collinear points among n points in the plane [GO95, Theorem 4.1].

References (27)