English

Recognizing Sumsets is NP-Complete

Data Structures and Algorithms 2024-10-29 v2 Computational Complexity Discrete Mathematics

Abstract

Sumsets are central objects in additive combinatorics. In 2007, Granville asked whether one can efficiently recognize whether a given set SS is a sumset, i.e. whether there is a set AA such that A+A=SA+A=S. Granville suggested an algorithm that takes exponential time in the size of the given set, but can we do polynomial or even linear time? This basic computational question is indirectly asking a fundamental structural question: do the special characteristics of sumsets allow them to be efficiently recognizable? In this paper, we answer this question negatively by proving that the problem is NP-complete. Specifically, our results hold for integer sets and over any finite field. Assuming the Exponential Time Hypothesis, our lower bound becomes 2Ω(n1/4)2^{\Omega(n^{1/4})}.

Keywords

Cite

@article{arxiv.2410.18661,
  title  = {Recognizing Sumsets is NP-Complete},
  author = {Amir Abboud and Nick Fischer and Ron Safier and Nathan Wallheimer},
  journal= {arXiv preprint arXiv:2410.18661},
  year   = {2024}
}

Comments

Corrected a reference. To appear at SODA 2025

R2 v1 2026-06-28T19:34:10.070Z