English

Nearly Optimal Separation Between Partially And Fully Retroactive Data Structures

Data Structures and Algorithms 2018-04-26 v2

Abstract

Since the introduction of retroactive data structures at SODA 2004, a major unsolved problem has been to bound the gap between the best partially retroactive data structure (where changes can be made to the past, but only the present can be queried) and the best fully retroactive data structure (where the past can also be queried) for any problem. It was proved in 2004 that any partially retroactive data structure with operation time T(n,m)T(n,m) can be transformed into a fully retroactive data structure with operation time O(mT(n,m))O(\sqrt{m} \cdot T(n,m)), where nn is the size of the data structure and mm is the number of operations in the timeline [Demaine 2004], but it has been open for 14 years whether such a gap is necessary. In this paper, we prove nearly matching upper and lower bounds on this gap for all nn and mm. We improve the upper bound for nmn \ll \sqrt m by showing a new transformation with multiplicative overhead nlogmn \log m. We then prove a lower bound of min{nlogm,m}1o(1)\min\{n \log m, \sqrt m\}^{1-o(1)} assuming any of the following conjectures: - Conjecture I: Circuit SAT requires 2no(n)2^{n - o(n)} time on nn-input circuits of size 2o(n)2^{o(n)}. (Far weaker than the well-believed SETH conjecture, which asserts that CNF SAT with nn variables and O(n)O(n) clauses already requires 2no(n)2^{n-o(n)} time.) - Conjecture II: Online (min,+)(\min,+) product between an integer n×nn\times n matrix and nn vectors requires n3o(1)n^{3 - o(1)} time. - Conjecture III (3-SUM Conjecture): Given three sets A,B,CA,B,C of integers, each of size nn, deciding whether there exist aA,bB,cCa \in A, b \in B, c \in C such that a+b+c=0a + b + c = 0 requires n2o(1)n^{2 - o(1)} time. Our lower bound construction illustrates an interesting power of fully retroactive queries: they can be used to quickly solve batched pair evaluation. We believe this technique can prove useful for other data structure lower bounds, especially dynamic ones.

Keywords

Cite

@article{arxiv.1804.06932,
  title  = {Nearly Optimal Separation Between Partially And Fully Retroactive Data Structures},
  author = {Lijie Chen and Erik D. Demaine and Yuzhou Gu and Virginia Vassilevska Williams and Yinzhan Xu and Yuancheng Yu},
  journal= {arXiv preprint arXiv:1804.06932},
  year   = {2018}
}
R2 v1 2026-06-23T01:28:09.073Z