Abstract

The 3SUM problem asks if an input n-set of real numbers contains a triple whose sum is zero. We qualify such a triple of degenerate because the probability of finding one in a random input is zero. We consider the 3POL problem, an algebraic generalization of 3SUM where we replace the sum function by a constant-degree polynomial in three variables. The motivations are threefold. Raz et al. gave an $$O(n^{11/6})$$ upper bound on the number of degenerate triples for the 3POL problem. We give algorithms for the corresponding problem of counting them. Gronlund and Pettie designed subquadratic algorithms for 3SUM. We prove that 3POL admits bounded-degree algebraic decision trees of depth $$O(n^{12/7+\varepsilon })$$ , and we prove that 3POL can be solved in $$O(n^2 {(\log \log n)}^{3/2} / {(\log n)}^{1/2})$$ time in the real-RAM model, generalizing their results. Finally, we shed light on the General Position Testing (GPT) problem: “Given n points in the plane, do three of them lie on a line?”, a key problem in computational geometry: we show how to solve GPT in subquadratic time when the input points lie on a small number of constant-degree polynomial curves. Many other geometric degeneracy testing problems reduce to 3POL.

Highlights

  • The 3SUM problem is defined as follows: given n distinct real numbers, decide whether any three of them sum to zero

  • Among the possible applications of those results, we show how to solve GPT in subquadratic time when the input points lie on o((log n) 6 /(log log n) 2 ) constant-degree polynomial curves

  • A popular conjecture is that no O(n2−δ)-time algorithm for 3SUM exists

Read more

Summary

Introduction

The 3SUM problem is defined as follows: given n distinct real numbers, decide whether any three of them sum to zero. A popular conjecture is that no O(n2−δ)-time algorithm for 3SUM exists This conjecture has been used to show conditional lower bounds for problems in P, notably in computational geometry with problems such as GeomBase, general position [26] and Polygonal Containment [7], and more recently for string problems such as Local Alignment [2] and Jumbled Indexing [5], as well as dynamic versions of graph problems [1, 40], triangle enumeration and Set Disjointness [32]. We distance ourselves from this practice and take particular care of using the real-RAM model and the bounded-degree algebraic decision tree model with only the four arithmetic operators

Our results
Definitions
Previous Results
Nonuniform algorithm for explicit 3POL
Uniform algorithm for explicit 3POL
Polynomial Dominance Reporting
A Polynomial Batch Range Searching
B Analysis of Polynomial Dominance Reporting
C Nonuniform algorithm for 3POL
23:22 REFERENCES
D Uniform algorithm for 3POL
23:24 REFERENCES
23:26 REFERENCES
General position testing for points on curves
Incidences on unit circles
Points spanning unit triangles
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call