和集与子集和中的长等差数列:构造性证明与高效见证
Long Arithmetic Progressions in Sumsets and Subset Sums: Constructive Proofs and Efficient Witnesses
AI总结:
针对加性组合学中有限加法定理的非构造性影响子集和算法搜索版本的问题,本文提供了构造性证明并提出了近线性时间算法,显式返回等差数列及其元素和表示,进而高效解决了密集子集和及无界子集和的搜索版本。
摘要:
和集与子集和中长等差数列的存在性在加性组合学领域已被广泛研究。这些加性组合学的结果在理论计算机科学中基本问题的近期进展中发挥了核心作用,包括背包问题和子集和问题。相关加性组合学结果的非构造性影响了它们在算法中的应用。具体而言,几种基于加性组合学的子集和算法仅适用于该问题的判定版本,而不适用于搜索版本。我们为有限加法定理[Sárkőzy'89 '94]提供了构造性证明,这些定理是加性组合学中关于和集与子集和中长等差数列存在性的基本结果。我们的构造性证明产生了一个近线性时间算法,该算法显式返回一个等差数列,此外,对于等差数列中的每一项,它还返回其作为基集中元素之和的表示。作为应用,我们针对密集子集和的搜索版本获得了一个时间复杂度为 $\tilde{O}(n)$ 的算法。我们结果的另一个应用是无界子集和问题,其中每个输入整数可以被使用无限次。关于Frobenius问题的一个经典结果[Erdős and Graham '72]表明,对于所有 $t \geq 2a^2_{\max}/n$,判定版本可以在线性时间内平凡解决。搜索版本是否能在相同时间内解决仍属未知。我们的结果意味着,对于某个常数 $c$,当所有 $t \geq ca^2_{\max}/n$ 时,可以在 $O(n \log a_{\max})$ 时间内获得无界子集和的解。
英文摘要:
Existence of long arithmetic progression in sumsets and subset sums has been studied extensively in the field of additive combinatorics. These additive combinatorics results play a central role in the recent progress of fundamental problems in theoretical computer science including Knapsack and Subset Sum. The non-constructiveness of relevant additive combinatorics results affects their application in algorithms. In particular, several additive combinatorics-based algorithms for Subset Sum work only for the decision version of the problem, but not for the search version. We provide constructive proofs for finite addition theorems [Sárkőzy'89 '94], which are fundamental results in additive combinatorics concerning the existence of long arithmetic progression in sumsets and subset sums. Our constructive proofs yield a near-linear time algorithm that returns an arithmetic progression explicitly, and moreover, for each term in the arithmetic progression, it also returns its representation as the sum of elements in the base set. As an application, we obtain an $\tilde{O}(n)$-time algorithm for the search version of dense subset sum now. Another application of our result is Unbounded Subset Sum, where each input integer can be used an infinite number of times. A classic result on the Frobenius problem [Erdős and Graham '72] implies that for all $t \geq 2a^2_{\max}/n$, the decision version can be solved trivially in linear time. It remains unknown whether the search version can be solved in the same time. Our result implies that for all $t \geq ca^2_{\max}/n$ for some constant $c$, a solution for Unbounded Subset Sum can be obtained in $O(n \log a_{\max})$ time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。